{"version":3,"file":"app.2584cedefb03dd1da49e.js","sources":["webpack:///app.2584cedefb03dd1da49e.js"],"sourcesContent":["webpackJsonp([0],[function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}n(11),n(14);var r=n(15),a=t(r);n(265),n(275),n(276),n(277),n(288),n(290),n(292),n(294),n(295),n(297),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(307),n(314),n(316),n(336),n(341),n(343);var o=n(345);n(346),n(347),n(348),n(349),n(350),n(43),n(351),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(401),n(404),n(413),n(439),n(557),window.i18n=n(558),n(559),n(561),a.default.constant(\"sessionPrefix\",null),a.default.config([\"$compileProvider\",function(e){e.debugInfoEnabled(!1),e.preAssignBindingsEnabled(!0)}]),a.default.config([\"$qProvider\",function(e){e.errorOnUnhandledRejections(!0)}]),a.default.config([\"styleServiceProvider\",function(e){e.setContext(n(562))}]),a.default.config([\"NotificationProvider\",function(e){e.setOptions({delay:15e3,startTop:15,startRight:15,verticalSpacing:20,horizontalSpacing:20,positionX:\"right\",positionY:\"bottom\"})}]),a.default.config([\"localizationServiceProvider\",function(e){e.setDefaultLanguage(\"fi\")}]),a.default.config(o.routeConfiguration),a.default.run([\"$rootScope\",\"$location\",\"$state\",\"$filter\",\"userService\",\"localizationService\",\"styleService\",\"select2Config\",\"menu\",\"Notification\",\"$uibModal\",\"$http\",\"$window\",function(t,r,a,o,i,s,l,c,u,d,p,f,g){c.formatNoMatches=function(){return o(\"i18next\")(\"common.no_matches\")},t._=window._,t.$on(\"login\",function(e,t){t.getAllowedRoles().length>1&&p.open({backdrop:\"static\",controller:\"ChangeRoleController\",controllerAs:\"$ctrl\",template:n(73),resolve:{canCancel:function(){return!1}},size:\"sm\"})}),t.$on(\"$locationChangeStart\",function(e){if(\"https\"!==r.protocol())return void(g.location.href=r.absUrl().replace(\"http\",\"https\"));var t=r.search();if(t.culture)s.setLanguage(t.culture),window.sessionStorage.setItem(\"language\",t.culture);else{var n=window.sessionStorage.getItem(\"language\");n&&s.setLanguage(n)}t.style&&l.setStyle(t.style)}),t.$on(\"$stateChangeStart\",function(t,n,o,s,l,c){if(i.getCurrentUser()){var d=u.getMenuItemByStateName(n.name);if(!d)switch(n.name){case\"kirjautuminen\":case\"not-found\":case\"aseta-salasana\":case\"return-from-payment\":case\"omavaraus-kori\":case\"omavaraus-maksu\":case\"omavaraus-vahvistus\":return;default:return t.preventDefault(),void a.go(\"not-found\")}}else if(!e.includes([\"kirjautuminen\",\"palauta-salasana\",\"palauta-salasana-no-connection-name\",\"palauta-salasana-vaihda\",\"aseta-salasana\",\"return-from-payment\",\"omavaraus-maksu\"],n.name)){t.preventDefault();var p=r.search();p.domain?a.go(\"kirjautuminen\",{connectionNameInUrl:p.domain}):a.go(\"kirjautuminen\")}}),t.$on(\"sessionExpired\",function(){a.go(\"kirjautuminen\"),d.error(o(\"i18next\")(\"common.session_expired\"))}),t.$on(\"logout\",function(e,t){var n=t.overrideDomain||(t.previousUser?t.previousUser.getDomain():r.search().domain);n?a.go(\"kirjautuminen\",{connectionNameInUrl:n}):a.go(\"kirjautuminen\")})}]),n(613),angular.bootstrap(document,[\"winresCloud\"],{strictDi:!0})}).call(t,n(9))},,,,,,,,,,,,,,function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(15);r(a);n(16),n(18),n(20),n(22),n(24),n(26),n(29),n(31),n(33),n(35),n(37),n(39),n(46),n(48),n(50),n(52),n(57),n(59),n(61),n(63),n(65),n(66),n(67),n(68),n(69),n(70),n(71),n(72),n(75),n(77),n(80),n(82),n(84),n(86),n(88),n(90),n(92),n(106),n(115),n(117),n(202),n(204),n(206),n(208),n(210),n(212),n(214),n(216),n(218),n(220),n(223),n(227),n(230),n(232),n(234),n(236),n(240),n(242),n(245),n(247),n(249),n(251),n(253),n(255),n(257),n(259),n(261),n(263)},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=angular.module(\"winresCloud\",[\"ui.router\",\"ui.bootstrap\",\"jm.i18next\",\"rt.select2\",\"ngMessages\",\"ui.validate\",\"ui-notification\",\"matchMedia\",\"ui.sortable\",\"winresCloud.core\",\"winresCloud.filters\",\"winresCloud.modals\",\"winresCloud.reporting\",\"winresCloud.winresCloud\",\"winresCloud.environment\",\"ngTouch\",\"ksSwiper\",\"ngMap\"])},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n $ctrl.maximum, \\n \\'not-full\\': !$ctrl.maximum || $ctrl.ngModel.length < $ctrl.maximum,\\n \\'empty\\': $ctrl.ngModel.length == 0,\\n \\'horizontal\\': $ctrl.horizontal == \\'true\\'\\n }\"> {{ $ctrl.heading }} = $ctrl.maximum\" s2-options=\"$ctrl.getSelectItem(item) as $ctrl.mobileFormatter(item) for item in $ctrl.mobileSourceModel\">
',o=\"dragAndDropContainer.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n {{ item.title | i18next }}
  • 0\"> {{ item.title | i18next }}
  • ',o=\"menu.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n
    ',o=\"mobileFloat.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n
     basic_information.product_description_extra
    ',o=\"perustiedotTab.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function a(t,n){return t.URL===n.URL&&t.Active===n.Active&&t.External===n.External&&e.isEqual(t.Filebank,n.Filebank)}var o=function(){function e(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}(),i=function(){function e(e,t){for(var n=0;n0||i.length>0?(console.log(\"[KT] Images changed.\\nAdded\",o.length,\":\",o,\"\\nRemoved\",i.length,\":\",i),t.tryToDeleteFromFilebank(e.filter(i,function(e){return e.Filebank}))):console.log(\"[KT] Only image order changed.\"),t.saveImages(n)}},!0)}},{key:\"fetchImages\",value:function(){var t=this;if(this.chosenProduct){var n=[this.ownerService.getOwnerDestImages(this.chosenProduct.DestinationCode),this.filebankService.getDestinationImages(this.chosenProduct.DestinationCode)];this.loadingOverlayService.start(),this.$q.all(n).then(function(n){var r=o(n,2),a=r[0],i=r[1],s=e.keyBy(a,e.identity),l=e.keyBy(i,function(e){return e.URL}),c=e.uniq(a.concat(e.keys(l))),u=e.map(c,function(e){return{URL:e,Active:!!s[e],External:!l[e],Filebank:l[e]||null}}),d=e.filter(u,function(e){return e.Active});t.images=d,console.log(\"[KT] Images:\",t.images),t.loadingOverlayService.stop()}).catch(function(e){throw t.loadingOverlayService.stop(),e})}else this.images=null}},{key:\"addImage\",value:function(e){if(!e.URL)throw new Error(\"Missing or invalid property: URL.\");if(void 0===e.Active)throw new Error(\"Missing property: Active.\");if(void 0===e.External)throw new Error(\"Missing property: External.\");if(void 0===e.Filebank)throw new Error(\"Missing property: Filebank.\");this.images.push(e)}},{key:\"saveImages\",value:function(t){var n=this;if(!e.isArrayLike(t))throw new Error(\"List of images not provided.\");console.log(\"[KT] Saving images:\",t),this.loadingOverlayService.start(),this.ownerService.storeOwnerDestImages(this.chosenProduct.DestinationCode,e.map(t,\"URL\")).then(function(e){console.log(\"[KT] Images saved. Result:\",e),n.loadingOverlayService.stop(),n.Notification.success(n.$filter(\"i18next\")(\"common.message_saved\")),n.fetchImages()}).catch(function(e){n.loadingOverlayService.stop(),n.Notification.error(n.$filter(\"i18next\")(\"common.error_save_failed\"))})}},{key:\"tryToDeleteFromFilebank\",value:function(t){var n=this,r=this.chosenProduct.DestinationCode,a=e.map(t,function(e){if(!e.Filebank)return console.error(\"[KT] Trying to delete a non-filebank image:\",e),!1;var t=e.Filebank.Name;return n.filebankService.deleteDestinationImage(r,t)});return this.$q.all(a)}},{key:\"uploadImage\",value:function(){var e=this,t=this.chosenProduct.DestinationCode;this.$uibModal.open({template:n(97),controller:\"UploadFileController\",controllerAs:\"$ctrl\",resolve:{destinationCode:function(){return t},callback:function(){return function(t){e.addImage({URL:t.URL,Active:!0,External:!1,Filebank:t})}}}})}},{key:\"addImageURL\",value:function(){var e=this;this.$uibModal.open({template:n(98),controller:\"ImageurlController\",controllerAs:\"$ctrl\",resolve:{callback:function(){return function(t){e.addImage({URL:t,Active:!0,External:!0,Filebank:null})}}}})}}]),t}();u.$inject=[\"$scope\",\"$log\",\"$q\",\"$filter\",\"$uibModal\",\"userService\",\"ownerService\",\"filebankService\",\"loadingOverlayService\",\"Notification\"],l.default.component(\"kuvatTab\",{bindings:{chosenProduct:\"<\"},template:n(99),controller:u})}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    modal_upload.upload_image

    modal_upload.loading_config

    • modal_upload.invalid.file.size
    \\n.{{ $ctrl.extension }}
    • modal_upload.invalid.name.{{ key }}
    \\n

    modal_upload.state.{{ $ctrl.state }}

    ',o=\"upload.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    modal_imageurl.add_image

    ',o=\"imageurl.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='


    \"\"/

    \\n{{ image.URL }}

    \\n{{ image.Filebank.Name }}

    ',o=\"kuvatTab.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function a(e){var t=parseFloat(e.replace(\",\",\".\"));return isNaN(t)?0:t}function o(e){return e.toFixed(2).replace(\".\",\",\")}var i=function(){function e(e,t){for(var n=0;n=e&&(c.pricePeriod.DateInfo.BeginDate=c.pricePeriod.DateInfo.EndDate)})}return i(t,[{key:\"fetchPricePeriod\",value:function(){var t=this;this.chosenPricePeriod?this.productService.getProductPricePeriod(this.chosenProduct,this.chosenPricePeriod,this.localizationService.getLanguage()).then(function(n){t.pricePeriod=n;var r=5,a=e.range(n.Prices.length),o=e.filter(a,function(e){return\"\"!=n.Prices[e].Header}),i=e.chunk(o,r);t.priceIndexRows=i,t.netRatio=n.SettlementCommissionPercent/100}):this.pricePeriod=null}},{key:\"fetchProductPricePeriodList\",value:function(){var e=this;this.chosenProduct?this.productService.getProductPricePeriodList(this.chosenProduct,this.localizationService.getLanguage()).then(function(t){e.pricePeriods=t,t?e.chosenPricePeriod=e.findMatchingPricePeriodListItem():e.chosenPricePeriod=null}):this.pricePeriods=[]}},{key:\"findMatchingPricePeriodListItem\",value:function(){if(this.pricePeriod){var e=!0,t=!1,n=void 0;try{for(var r,a=this.pricePeriods[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;if(o.BeginDate==this.pricePeriod.DateInfo.BeginDate&&o.EndDate==this.pricePeriod.DateInfo.EndDate)return o}}catch(e){t=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(t)throw n}}return console.log(\"any list item doesn't match selection\"),this.pricePeriods[0]}return this.pricePeriods[0]}},{key:\"formatPricePeriodName\",value:function(e){return(0,c.formatFinnishDate)(e.BeginDate)+\" - \"+(0,c.formatFinnishDate)(e.EndDate)}},{key:\"save\",value:function(){var e=this;this.productService.saveProductPricePeriod(this.pricePeriod,this.localizationService.getLanguage()).then(function(){e.fetchProductPricePeriodList(),e.Notification.success(e.$filter(\"i18next\")(\"common.message_saved\"))},function(t){e.Notification.error(e.$filter(\"i18next\")(\"common.error_save_failed\"))})}},{key:\"updateOtherPriceType\",value:function(t){var n=this.pricePeriod.Prices[t];if(\"Gross\"==this.priceType){a(n.Price);n.NetPrice=null,n._displayNetPrice=\"(autom.)\"}else if(\"Net\"==this.priceType){var r=a(n.NetPrice),i=e.ceil(r/this.netRatio);n.Price=o(i)}}}]),t}();u.$inject=[\"$scope\",\"$timeout\",\"$filter\",\"productService\",\"userService\",\"Notification\",\"localizationService\"],l.default.component(\"hintakausiTab\",{bindings:{chosenProduct:\"=\"},template:n(102),controller:u})}).call(t,n(9))},function(e,t,n){(function(e){\"use strict\";function n(e,t){var n=e.year()-t.year();return(t.month()>e.month()||t.month()===e.month()&&t.date()>e.date())&&--n,n}function r(t){return e(t).format(R)}function a(t){return e(t).format(N)}function o(t,n){return e.locale(n),e(t).format(N)}function i(t){return e(t).format(A)}function s(t,n,r,a){var o=e.duration(e(r).diff(e(n))).asDays();return e.locale(a),o+t+\", \"+e(n).format(F)+\" - \"+e(r).format(F)}function l(t){return t?e(t).format(T):\"\"}function c(t){if(t){var n=e(t,e.ISO_8601,!0);return n.isValid()?n.toDate():null}return null}function u(e){return c(e.replace(/(\\b\\d{1}\\b)/,\"0$1\"))}function d(t){if(t){var n=e(t,\"D.M.YYYY\",!0);return n.isValid()?n.toDate():null}return null}function p(e){return c(e)||d(e)}function f(e){if(!e)return!1;var t=e.split(\".\"),n=parseInt(t[0]),r=parseInt(t[1]),a=parseInt(t[2]);if(a<1800||a>3e3)return!1;if(\"\"+n!=t[0]&&(\"0\"+n!=t[0]||n>9))return!1;if(\"\"+r!=t[1]&&(\"0\"+r!=t[1]||r>9))return!1;if(\"\"+a!=t[2])return!1;var o=a+\"-\"+(r<10?\"0\"+r:\"\"+r)+\"-\"+(n<10?\"0\"+n:\"\"+n),i=new Date(o);return i.getDate()==n&&i.getMonth()==r-1&&i.getFullYear()==a}function g(e){if(!e)return!1;var t=e.split(\"-\"),n=parseInt(t[0]),r=parseInt(t[1]),a=parseInt(t[2]);if(n<1800)return!1;var o=n+\"-\"+(r<10?\"0\"+r:\"\"+r)+\"-\"+(a<10?\"0\"+a:\"\"+a),i=new Date(o);return i.getDate()==a&&i.getMonth()==r-1&&i.getFullYear()==n}function m(e,t,n,r){if(!e||!t)return null;if(e instanceof Date||(e=p(e)),t instanceof Date||(t=p(t)),n&&r)return i(e)+\" (\"+n+\") - \"+i(t)+\" (\"+r+\")\";var a=i(t);if(e.getDate()==t.getDate()&&e.getMonth()==t.getMonth()&&e.getFullYear()==t.getFullYear())return a;var o=e.getDate()+\".\";return e.getMonth()==t.getMonth()&&e.getFullYear()==t.getFullYear()?o+\"-\"+a:(o+=e.getMonth()+1+\".\",e.getFullYear()==t.getFullYear()?o+\"-\"+a:(o+=e.getFullYear(),o+\" - \"+a))}function h(e){if(!e)return e;var t=[],t=e.split(\".\").map(function(e){return 1===e.length?\"0\"+e:e});return t.join(\".\")}function v(e,t,n){return i(e)+\" (\"+t+\"-\"+n+\")\"}function b(e){return w(e,location.hash)||w(e,location.search)||w(e,\" \"+y(location.hash))}function y(e){return e.split(\"?\")[1]?e.split(\"?\")[1]:\"\"}function w(e,t){for(var n=t.substr(1).split(\"&\"),r=null,a=0;a1?r=decodeURIComponent(o[1]):o[0]===e&&(r=!0)}return r}function k(e){e.indexOf(\":\")===-1&&console.error(\"Should contain a ':' (colon): \",e);var t=e.split(\",\"),n={};return t.forEach(function(e){var t=e.split(\":\"),r=t[0].trim(),a=x(t[1]);n[r]=a}),n}function x(e){var t;return e=e.trim(),\"true\"===e&&(t=!0),\"false\"===e&&(t=!1),isNaN(e===!1)&&(t=Number(e)),t}function $(e,t){\"object\"!=(\"undefined\"==typeof e?\"undefined\":D(e))&&console.error(\"Should be object: \",e),\"object\"!=(\"undefined\"==typeof t?\"undefined\":D(t))&&console.error(\"Should be object: \",t);for(var n in e)console.log(\"OverideObj[key]: \",t[n]),void 0!=t[n]&&(e[n]=t[n]);return e}function C(e){return S(e)}function S(t){if(t){var n=e(t,M,!0);return n.isValid()?n.toDate():null}return null}function P(t){return t?e(t).format(M):\"\"}Object.defineProperty(t,\"__esModule\",{value:!0});var D=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e};t.ageOn=n,t.formatFinnishDate=r,t.formatFinnishDateWithWeekday=a,t.formatDateWithWeekday=o,t.formatFinnishDatePretty=i,t.formatFinnishTwoDates=s,t.formatISODate=l,t.parseISODate=c,t.parseISODateWithLeadingZeros=u,t.parseFinnishDate=d,t.parseDate=p,t.validateFinnishDate=f,t.validateISODate=g,t.formatDateRange=m,t.formatFinnishDateWithLeadingZeros=h,t.formatDateWithTimes=v,t.getParameter=b,t.commaseparatedKeyValuesToObj=k,t.parseStringTrueFalseNumber=x,t.overrideObjValues=$,t.parseTime=C,t.parseISOTime=S,t.formatISOTime=P;var T=t.isoDateFormat=\"YYYY-MM-DD\",R=t.finnishDateFormat=\"DD.MM.YYYY\",N=t.finnishDateFormatWithWeekday=\"dd DD.M.YYYY\",A=t.finnishDateFormatPretty=\"D.M.YYYY\",F=t.finnishDateFormatWithWeekdayShort=\"dd D.M.\",M=t.isoTimeFormat=\"HH:mm\"}).call(t,n(41))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='
    0\">
    ',o=\"hintakausiTab.html\";\nn.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;na&&l>=c&&(p+=\"sold \"),l>c&&(p+=\"over-sold \"),0==e.Capacity&&(p+=\"no-capacity \"),\" \"==p&&(p=\"empty\"),0==t&&(p+=\" first\"),r=l-o,n.capacityCalendar.push({date:d,status:p})}),n.datepicker_options={customClass:p,showWeeks:!0}})}return a(t,[{key:\"SelectDay\",value:function(e){this.beginD=e,this.endD=e}},{key:\"setValidDates\",value:function(){var e=(0,s.formatISODate)(this.minBegin),t=(0,s.formatISODate)(this.minEnd);this.beginD0;var a=e.find(n,function(e){return!e.Closed});if(a){var o=new Date(a.BeginDate);t.minBegin=o,t.minEnd=o,t.setValidDates()}}),this.kohdeTunnus=this.chosenProduct.DestinationCode,this.tuoteTunnus=this.chosenProduct.ProductCode)}},{key:\"FormatDate\",value:function(e){return\"\"+(0,s.formatDateWithWeekday)(e,this.localizationService.getLanguage())}},{key:\"save\",value:function(){var e=this;this.productService.saveProductCapacities(this.kohdeTunnus,this.tuoteTunnus,this.beginD,this.endD,this.kapsi,this.sulkuAika,this.language).then(function(t){e.GetProductCapacityList(),t?e.Notification.success(e.$filter(\"i18next\")(\"common.message_saved\")):e.Notification.error(e.$filter(\"i18next\")(\"basic_information.change_capacity_error\"))},function(t){e.Notification.error(e.$filter(\"i18next\")(\"common.error_save_failed\"))})}}]),t}();l.$inject=[\"$scope\",\"$timeout\",\"$filter\",\"$log\",\"productService\",\"userService\",\"Notification\",\"localizationService\"],i.default.component(\"kapasiteettiTab\",{bindings:{chosenProduct:\"=\",productList:\"<\",alwaysShowList:\"@\"},template:n(104),controller:l})}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    basic_information.change_capacity

    common.date basic_information.capacity basic_information.reserved basic_information.closing_date
    {{$ctrl.FormatDate(model.BeginDate)}} {{model.Capacity}}\\n {{model.Sold}} {{model.ClosingLimit}}

    common.loading

    common.no_matches
    ',o=\"kapasiteettiTab.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    1\">basic_information.title

    {{ $ctrl.tabs[0] | i18next}}

    common.loading


    {{$ctrl.product | json}}
    ',o=\"perustiedot.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n0&&(t=!0),f.language=e,t&&(f.PrepareMetaData(),f.Clear(),p(function(){f.Search()},1e3))});var v=i.getCurrentUser();this.isPool=\"TRUE\"===v.getParameter(\"UsePoolSettlement\")&&5===this.reportType.getOwnerReportType()}return a(t,[{key:\"PrepareMetaData\",value:function(t){var n=this;this.Metadata=this.reportType.preprocessMetadata([[{Name:\"BookingNumber\",Type:\"Text\",Title:\"common.reservation\"},{Name:\"WebCustomer\",Type:\"Customer\",Title:\"common.customer\",Visible:this.reportType.hasCustomer},{Name:\"AdultsChildren\",Type:\"AdultsChildren\",Title:\"varausraportti.adults_children\"},{Name:\"ClerkModifier\",Type:\"Text\",Title:\"varausraportti.clerk_modifier\"},{Name:\"AgencyBooking\",Type:\"Boolean\",Title:\"varausraportti.agent_booking\",TrueValue:\"X\",FalseValue:\"\",Align:\"right\"}],[{Name:\"Capacity\",Type:\"Text\",Title:\"common.amount\"},{Name:\"DestinationCode\",Type:\"Text\",Title:\"common.destination\"},{Name:\"ProductCode\",Type:\"Text\",Title:\"common.product\"},{Name:\"ProductAndDestinationName\",Type:\"Text\",Title:\"varausraportti.product_and_destination_name\"},{Name:\"BeginDate\",Type:\"Date\",Title:\"common.begin_date_short\"},{Name:\"EndDate\",Type:\"Date\",Title:\"common.end_date_short\"},{Name:\"BeginTime\",Type:\"Time\",Title:\"common.begin_time\"},{Name:\"EndTime\",Type:\"Time\",Title:\"common.end_time\"},{Name:\"NetPrice\",Type:\"Currency\",Title:\"varausraportti.settlement\",Align:\"right\",OverrideText:\"OverrideText\"},{Name:\"Price\",Type:\"Currency\",Title:\"common.total\",Align:\"right\",OverrideText:\"OverrideText\"},{Name:\"TaxPercent\",Type:\"Percentage\",Title:\"common.tax_percentage_short\",Align:\"right\"},{Name:\"TaxAmount\",Type:\"Currency\",Title:\"common.tax_amount\",Align:\"right\",OverrideText:\"OverrideText\"},{Name:\"EventType\",Type:\"Text\",Title:\"varausraportti.event_type\"}],[{Name:\"ProductDescription\",Type:\"Text\",Title:\"\",LineBreaks:!0}]]),this.TaxMetadata=[[{Name:\"TaxPros\",Type:\"Percentage\",Title:\"common.tax_percentage_short\",Align:\"right\"},{Name:\"NetAmount\",Type:\"Currency\",Title:\"varausraportti.without_tax\",Align:\"right\"},{Name:\"TaxAmount\",Type:\"Currency\",Title:\"common.tax_amount\",Align:\"right\"},{Name:\"GrossAmount\",Type:\"Currency\",Title:\"varausraportti.with_tax\",Align:\"right\"}]],this.DecrementMetadata=[[{Name:\"DecrementText\",Type:\"Text\",Title:\"varausraportti.decrement\",Aggregate:{Type:\"Text\",Function:\"Value\",Value:\"varausraportti.total_settlement_2\"}},{Name:\"DestinationText\",Type:\"Text\",Title:\"common.destination\"},{Name:\"PriceText\",Type:\"Text\",Title:\"common.price\",Suffix:\" €\",Align:\"right\"},{Name:\"Total\",Type:\"Currency\",Title:\"common.total\",Align:\"right\",Aggregate:{Type:\"Currency\",Function:function(){return n.CalculateTotalSettlement()},Align:\"right\"}}]],this.TotalPriceAndSettlementColumns=[{Title:\"varausraportti.total_settlement\",Type:\"Currency\",Function:\"CentSum\",Field:\"NetPrice\",Align:\"right\"},{Title:\"varausraportti.total_sales\",Type:\"Currency\",Function:\"CentSum\",Field:\"Price\",Align:\"right\"}],this.PoolMetadata=[[{Name:\"PoolCode\",Type:\"Text\",Title:\"common.pool_code\"},{Name:\"OwnReservationsDays\",Type:\"Text\",Title:\"common.pool_own_reservation_days\"},{Name:\"OwnDestinationsInPoolDays\",Type:\"Text\",Title:\"common.pool_own_destinations_in_pool_day\"},{Name:\"TotalPoolDestDays\",Type:\"Text\",Title:\"common.pool_total_pool_dest_days\"}]];var r=[],a=[],o=[],i=[];if(t&&((t.SalesRedacted||t.SumsRedacted)&&(r.push(\"Price\",\"TaxAmount\"),i.push(\"Price\")),(t.SettlementsRedacted||t.SumsRedacted)&&(r.push(\"NetPrice\"),r.push(\"ExpenseDeduction\"),r.push(\"Provision\"),i.push(\"NetPrice\")),t.ShowExpenseDeductionAndProvision)){var s={Name:\"ExpenseDeduction\",Type:\"Currency\",Title:\"common.expense_deduction\",Align:\"right\"},l={Name:\"Provision\",Type:\"Currency\",Title:\"common.agent_provision\",Align:\"right\"};this.Metadata=e.map(this.Metadata,function(t){var n=t.findIndex(function(e){return\"Price\"==e.Name});return n==-1?t:e.concat(t.slice(0,n),[s,l],t.slice(n))})}this.Metadata=e.map(this.Metadata,function(t){return e.filter(t,function(t){return!e.includes(r,t.Name)})}),this.TaxMetadata=e.map(this.TaxMetadata,function(t){return e.filter(t,function(t){return!e.includes(a,t.Name)})}),this.DecrementMetadata=e.map(this.DecrementMetadata,function(t){return e.filter(t,function(t){return!e.includes(o,t.Name)})}),this.TotalPriceAndSettlementColumns=e.filter(this.TotalPriceAndSettlementColumns,function(t){return!e.includes(i,t.Field)}),this.PoolMetadata=e.map(this.PoolMetadata,function(t){return e.filter(t,function(t){return!e.includes(o,t.Name)})})}},{key:\"SelectSettlementDate\",value:function(){var e=this.SearchCriteria.SettlementDate.split(\".\"),t=e[2]+\"-\"+e[1]+\"-\"+e[0];this.SearchCriteria.DateFrom=t,this.SearchCriteria.DateTo=t}},{key:\"Clear\",value:function(){this.OwnerReportID=null,this.Header=null,this.DecrementRows=null,this.GrossTaxRows=null,this.NetTaxRows=null,this.Rows=null,this.PoolGroups=null}},{key:\"Search\",value:function(){var t=this;this.isSearchBoxOpen=!1,this.Clear();var n=this.userService.getCurrentUser().getOwnerNumber(),r=this;n&&this.ownerService.getOwnerReports(n,r.SearchCriteria.DestinationCode,r.SearchCriteria.DateFrom,r.SearchCriteria.DateTo,r.SearchCriteria.DateMode,r.reportType.getOwnerReportType(),this.localizationService.getLanguage()).then(function(n){r.Rows=[],r.Header=null,r.SummaryText=\"\",n&&(0==r.reportType.getOwnerReportType()&&(\"arrival\"==t.SearchCriteria.DateMode?n.Header.Column2Headers.push(t.$filter(\"i18next\")(\"varausraportti.arrival_date_between\")):n.Header.Column2Headers.push(t.$filter(\"i18next\")(\"varausraportti.departure_date_between\"))),r.Header=n.Header,r.SummaryText=n.Summary.SummaryText,r.OwnerReportID=n.OwnerReportID,t.PrepareMetaData(n),r.Rows=n.BookingLines,e.each(r.Rows,function(e){e.BookingNumber=e.BookInfos.BookingNumber,e.BookingDate=e.BookInfos.BookingDate,e.ClerkModifier=e.BookInfos.ClerkModifier,e.AgencyBooking=e.BookInfos.AgencyBooking,e.AdultsChildren={Adults:e.BookInfos.Adults,Childs:e.BookInfos.Childs},e.DestinationCode=e.Productline.DestinationInfo.DestinationCode,e.ProductCode=e.Productline.DestinationInfo.ProductCode,e.ProductAndDestinationName=e.Productline.DestinationInfo.DestinationName,e.ProductName=e.Productline.DestinationInfo.ProductName,e.ProductDescription=e.Productline.DestinationInfo.ProductDescription,e.DestinationName=e.Productline.DestinationInfo.DestinationName,e.NetPrice=e.Productline.NetPrice,e.ExpenseDeduction=e.Productline.ExpenseDeduction,e.Provision=e.Productline.Provision,e.Price=e.Productline.Price,e.TaxPercent=e.Productline.TaxPros,e.Capacity=e.Productline.Capacity,e.BeginDate=e.Productline.BeginDate,e.EndDate=e.Productline.EndDate,e.BeginTime=e.Productline.BeginTime,e.EndTime=e.Productline.EndTime,e.TaxAmount=e.Productline.TaxAmount,e.BookInfos.OwnerBookingState?e.EventType=t.$filter(\"i18next\")(\"varausraportti.state_\"+e.BookInfos.OwnerBookingState):e.EventType=\"\",e.PoolSettlement&&(e.PoolCode=e.PoolSettlement.PoolCode),e=r.reportType.preprocessRow(e)}),r.NetTaxRows=n.NetTaxes,r.GrossTaxRows=n.GrossTaxes,r.DecrementRows=n.Decrements,n.PoolHeader&&(r.PoolHeaderGroups=n.PoolHeader.PoolHeaders,r.Header.HeaderText=\"\"))})}},{key:\"Mark\",value:function(){var e=this;this.modalService.yesNo(\"varausraportti.are_you_sure_title\",\"varausraportti.are_you_sure_message\").then(function(t){if(t){if(null===e.OwnerReportID)return void e.Notification.error(e.$filter(\"i18next\")(\"varausraportti.message_marking_failed\"));var n=e;e.ownerService.markOwnerReport(e.userService.getCurrentUser().getOwnerNumber(),e.OwnerReportID).then(function(t){t?(e.Notification.success(e.$filter(\"i18next\")(\"varausraportti.message_marked\")),n.Search()):e.Notification.error(e.$filter(\"i18next\")(\"varausraportti.message_marking_failed\"))})}})}},{key:\"CalculateTotalSettlement\",value:function(){var t=this,n=0;return e.each(this.Rows,function(e){n+=Math.round(100*t.$filter(\"parsenumber\")(e.NetPrice))}),e.each(this.DecrementRows,function(e){n+=Math.round(100*t.$filter(\"parsenumber\")(e.Total))}),n/100}}]),t}();g.$inject=[\"$scope\",\"$state\",\"$filter\",\"userService\",\"ownerService\",\"Notification\",\"modalService\",\"localizationService\",\"$timeout\"],i.default.component(\"varausraportti\",{template:n(114),controller:g}),i.default.config([\"$stateProvider\",function(e){e.state(\"varausraportti/omistaja\",{url:\"/varausraportti/omistaja\",template:\"\",data:{reportType:u.ReportTypeVarausOmistaja}}),e.state(\"varausraportti/huoltaja\",{url:\"/varausraportti/huoltaja\",template:\"\",data:{reportType:d.ReportTypeVarausHuoltaja}}),e.state(\"varausraportti/huoltaja2\",{url:\"/varausraportti/huoltaja2\",template:\"\",data:{reportType:p.ReportTypeVarausHuoltaja2}}),e.state(\"omistajaraportti\",{url:\"/omistajaraportti\",template:\"\",data:{reportType:l.ReportTypeOmistajaraportti}}),e.state(\"huoltajaraportti\",{url:\"/huoltajaraportti\",template:\"\",data:{reportType:c.ReportTypeHuoltajaraportti}}),e.state(\"tilitysraportti\",{url:\"/tilitysraportti\",template:\"\",data:{reportType:f.ReportTypeTilitysraportti}})}]),i.default.config([\"menuProvider\",function(e){e.page(\"varausraportti\",{stateName:\"varausraportti/omistaja\",title:\"varausraportti.title_owner_reservation\"}),e.page(\"varausraportti/omistaja\",{stateName:\"varausraportti/omistaja\",title:\"varausraportti.title_owner_reservation\"}),e.page(\"varausraportti/huoltaja\",{stateName:\"varausraportti/huoltaja\",title:\"varausraportti.title_maintenance_reservation\"}),e.page(\"varausraportti/huoltaja2\",{stateName:\"varausraportti/huoltaja2\",title:\"varausraportti.title_maintenance_reservation\"}),e.page(\"omistajaraportti\",{stateName:\"omistajaraportti\",title:\"varausraportti.title_owner_report\"}),e.page(\"huoltajaraportti\",{stateName:\"huoltajaraportti\",title:\"varausraportti.title_maintenance_report\"}),e.page(\"tilitysraportti\",{stateName:\"tilitysraportti\",title:\"varausraportti.title_settlement_report\"})}])}).call(t,n(9))},function(e,t,n){\"use strict\";function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function a(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!=typeof t&&\"function\"!=typeof t?e:t}function o(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,\"__esModule\",{value:!0}),t.ReportTypeOmistajaraportti=void 0;var i=function(){function e(e,t){for(var n=0;n {{ $ctrl.reportType.getTitle() }}
    {{ \\'varausraportti.tooltip_settlement\\' | i18next }}
    {{ \\'varausraportti.tooltip_settlement\\' | i18next }}
    {{ ($ctrl.reportType.isResultsMarkable() ? \\'varausraportti.reservation_no_changes\\' : \\'common.no_results\\') | i18next }}
    0\">
    0\">

    0\" ng-i18next> varausraportti.decrements

    0\" report-table-rows=\"$ctrl.DecrementRows\" report-table-groups=\"$ctrl.Groups\" report-table-order-by=\"$ctrl.DecrementsOrderBy\" report-table-metadata=\"$ctrl.DecrementMetadata\" report-table-language=\"$ctrl.language\">

    0 || $ctrl.NetTaxRows.length > 0\" ng-i18next> varausraportti.summary_by_tax_group

    0\" ng-i18next> varausraportti.gross_taxes

    0\">

    0\" ng-i18next> varausraportti.net_taxes

    0\">
    0\">
    0 && $ctrl.TotalPriceAndSettlementColumns.length > 0\">

    common.total

    {{ $ctrl.SummaryText }}
    ',o=\"varausraportti.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"asiakaslista\",{stateName:\"asiakaslista\",title:\"customer_list.title\"})}])},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    customer_list.title

    {{ \\'common.id\\' | i18next }}\\n {{ \\'common.name\\' | i18next }}\\n {{ \\'common.address\\' | i18next }}\\n {{ \\'common.phone_number\\' | i18next }}\\n {{ \\'common.email_address\\' | i18next }}\\n
    {{model.CustomerID}} {{model.LastName}} {{model.FirstName}} {{model.StreetAddress}}, {{model.PostalNumber}} {{model.PostalAddress}} {{model.PhoneNumber}} {{model.EmailAddress}}
    ',o=\"asiakaslista.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n0&&this.adultsOptions.push(f),this.childrenOptions.push(f);this.booking=!1}return o(e,[{key:\"$onInit\",value:function(){var e=this;this.$scope.$on(\"userDataChanged\",function(){return e.init()}),this.init()}},{key:\"init\",value:function(){var e=this.userService.getCurrentUser();if(this.ownerNumber=e.getOwnerNumber(),this.loadProds(),this.old=\"TRUE\"!=e.getParameter(\"OwnerBookingUseNew\"),this.old)return void(this.$stateParams.dest&&this.$stateParams.prod&&(this.prodId=this.$stateParams.dest+\"-\"+this.$stateParams.prod,this.product={dest:this.$stateParams.dest,prod:this.$stateParams.prod},this.fetchI7Url()));if(this.connectionName=e.getDomain(),d(this.$stateParams.dest,this.$stateParams.prod,this.$stateParams.begin,this.$stateParams.end),this.$stateParams.dest&&this.$stateParams.prod&&(this.prodId=this.$stateParams.dest+\"-\"+this.$stateParams.prod,this.beginDateSelectable=!0),this.$stateParams.begin&&(this.beginDate=this.$stateParams.begin,this.endDateSelectable=!0),this.$stateParams.end&&(this.endDate=this.$stateParams.end),this.beginDate&&!this.endDate){var t=(0,u.default)(this.beginDate);t.add(1,\"day\"),this.endDateInit=t.toDate()}void 0!==this.$stateParams.a&&(this.adults=this.$stateParams.a),void 0!==this.$stateParams.c&&(this.children=this.$stateParams.c);var n=[];n.push((0,u.default)().startOf(\"day\")),this.beginDate&&n.push((0,u.default)(this.beginDate)),this.endDate&&n.push((0,u.default)(this.endDate));var r=!0,a=!1,o=void 0;try{for(var i,s=n[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;this.dateInfo(l.toDate()),this.dateInfo(l.clone().add(-1,\"month\").toDate()),this.dateInfo(l.clone().add(1,\"month\").toDate())}}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}}},{key:\"dateClass\",value:function(e,t){var n=this.dateInfo(t);if(!n)return\"loading\";var r=[];return n.Free<=0&&r.push(\"full\"),r.join(\" \")}},{key:\"dateDisabled\",value:function(e,t){var n=this.dateInfo(t),r=n&&(\"begin\"===e?n.BeginSelectable:n.EndSelectable);return!r}},{key:\"selectedEndDateInfo\",value:function(){if(!this.endDate)return{state:\"no-dates\"};var e=this.dateInfo((0,u.default)(this.endDate).toDate());return null==e?{state:\"loading\"}:{state:\"ready\",info:e}}},{key:\"canBook\",value:function(){var e=this.selectedEndDateInfo();return\"ready\"==e.state&&e.info.EndSelectable&&!this.booking}},{key:\"dateInfo\",value:function(e){var t=this,n=(0,u.default)(e),r=n.format(\"YYYY-MM\"),a=this.months.get(r);if(!a){var o=this.getCalendar(r);if(!o)return null;a={request:o,data:null},o.then(function(e){a.data=e;var n=[t.$element.find(\"#begin-date [uib-datepicker]\"),t.$element.find(\"#end-date [uib-datepicker]\")],r=!0,o=!1,i=void 0;try{for(var s,l=n[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var c=s.value;if(c){var u=c.controller(\"uibDatepicker\");u&&u.refreshView()}}}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}}),this.months.set(r,a)}if(a.data){var i=n.format(\"YYYY-MM-DD\"),s=!0,l=!1,c=void 0;try{for(var d,p=a.data.Weeks[Symbol.iterator]();!(s=(d=p.next()).done);s=!0){var f=d.value,g=!0,m=!1,h=void 0;try{for(var v,b=f.Days[Symbol.iterator]();!(g=(v=b.next()).done);g=!0){var y=v.value;if(y.Date==i)return y}}catch(e){m=!0,h=e}finally{try{!g&&b.return&&b.return()}finally{if(m)throw h}}}}catch(e){l=!0,c=e}finally{try{!s&&p.return&&p.return()}finally{if(l)throw c}}throw new Error(\"We have the month of \"+r+\" but not the day of \"+i+\". This should not happen.\")}return null}},{key:\"loadProds\",value:function(){var e=this;this.requestProds=this.productService.getOwnerProductList(this.ownerNumber).then(function(t){e.prods=t.filter(function(e){return e.IsAccommodation}).map(function(e){return{id:e.DestinationCode+\"-\"+e.ProductCode,label:e.DestinationName+\", \"+e.ProductName,dest:e.DestinationCode,prod:e.ProductCode,type:e.ProductType}})})}},{key:\"setProd\",value:function(){var e=this;d(\"Selected product:\",this.prodId);var t=this.prodId&&this.prods&&this.prods.length>0;if(t){var n=this.prods.find(function(t){return t.id==e.prodId})||{};this.$state.go(\".\",{dest:n.dest||null,prod:n.prod||null})}}},{key:\"setBeginDate\",value:function(){if(this.beginDate!=(this.$stateParams.begin||\"\")){d(\"Selected begin date:\",this.beginDate);var e=this.endDate;(!e||e<=this.beginDate)&&(e=(0,u.default)(this.beginDate).add(1,\"day\").format(\"YYYY-MM-DD\")),this.$state.go(\".\",{begin:this.beginDate,end:e})}}},{key:\"setEndDate\",value:function(){this.endDate!=(this.$stateParams.end||\"\")&&(d(\"Selected end date:\",this.endDate),this.$state.go(\".\",{end:this.endDate}))}},{key:\"setAdults\",value:function(){this.adults!=(this.$stateParams.a||1)&&this.$state.go(\".\",{a:this.adults})}},{key:\"setChildren\",value:function(){this.children!=(this.$stateParams.c||0)&&this.$state.go(\".\",{c:this.children})}},{key:\"getCalendar\",value:function(e){if(!this.prodId)return null;var t=\"../V1/Winreses/\"+this.connectionName+\"/Accommodations/\"+this.prodId+\"/Calendar/\"+e+\"?OwnerBookingFor=\"+this.ownerNumber;this.beginDate&&(t+=\"&BookingBeginDate=\"+this.beginDate);var n=this.winresCloudService.request(\"GET\",t,{cache:!0});return n.then(function(e){return e.data})}},{key:\"book\",value:function(){var e=this,t=this.prodId&&this.beginDate&&this.endDate;if(t){this.booking=!0;for(var n=this.userService.getCurrentUser(),r=n.getDomain(),a=n.getOwnerNumber(),o=\"../V1/Winreses/\"+r,i={CartId:null},s=this.winresCloudService.request(\"POST\",o+\"/Carts\",{data:{Language:this.winresCloudService.getLanguage(),CustomerOwnerID:a}}),l=s.then(function(e){return i.CartId=e.data.ID,e}),c=this.$filter(\"i18next\")(\"common.adult\"),u=this.$filter(\"i18next\")(\"common.child\"),p=function(t){l=l.then(function(n){return e.winresCloudService.request(\"POST\",o+(\"/Carts/\"+i.CartId+\"/Passengers\"),{data:{Type:\"AD\",Gender:\"X\",FirstName:c,LastName:(t+1).toString()}})})},f=0;f\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"omavaraus\",{stateName:\"omavaraus\",title:\"own_reservation.title\"})}])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    own_reservation.title

    {{ \\'common.select_dates\\' | i18next }}.

    {{ \\'common.selected_dates\\' | i18next }}: {{ $ctrl.beginDate | finnishDate }} — {{ $ctrl.endDate | finnishDate }}

    \\ncommon.loading

    {{ \\'common.bookable\\' | i18next }}: {{ info.EndSelectable ? \\'common.yes\\' : \\'common.no\\' | i18next }}

    ',o=\"omavaraus.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n0,ExtraGroups:e.map(r.ExtraGroups,function(e){var t=a&&a.ExtraGroups&&a.ExtraGroups.find(function(t){return t.ID==e.ID}),n=o+\"/ExtraGroups/\"+e.ID;return Object.assign({},t,e,{path:n})})})})))}},{key:\"canBook\",value:function(){return this.cart&&this.cart.Valid&&!this.bookRequest&&!this.someGroupIsPending()}},{key:\"someGroupIsPending\",value:function(){if(!this.accommodations)return!1;var e=!0,t=!1,n=void 0;try{for(var r,a=this.accommodations[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;if(this.hasPendingGroup(o))return!0}}catch(e){t=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(t)throw n}}return!1}},{key:\"hasPendingGroup\",value:function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=e.ExtraGroups[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;if(i.pending)return!0}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}return!1}},{key:\"book\",value:function(){return this.canBook()?void this.$state.go(\"omavaraus-maksu\",{cartId:this.cartId}):void l.error(\"Cannot book.\")}}]),t}();c.$inject=[\"$stateParams\",\"$state\",\"userService\",\"winresCloudService\"],i.default.component(\"omavarausKori\",{template:n(203),controller:c}),i.default.config([\"$stateProvider\",function(e){e.state(\"omavaraus-kori\",{url:\"/omavaraus/kori/:cartId\",template:\"\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    own_reservation.title

    load.cart

    cart.already_booked_title

    cart.already_booked_text\\ncart.already_booked_link

    own_reservation.extras

    0\">

    {{ acc.DestCode }} {{ acc.ProdCode }} |\\n{{ acc.BeginDate | finnishDate }}–{{ acc.EndDate | finnishDate }} |\\n{{ acc.paxCounts.AD }}+{{ acc.paxCounts.CH }} |\\n {{ acc.TotalPrice / 100 | currency:\\'€\\' }}\\n +\\n\\n {{ acc.ExtrasPrice / 100 | currency:\\'€\\' }} = {{ acc.TotalPriceWithExtras / 100 | currency:\\'€\\' }}

    error.cart

    {{ (\\'fault_type.\\' + value.data.FaultType) | i18next }}

    fault_type.InternalError

    ',o=\"omavaraus-kori.html\";\nn.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e,t){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n1})&&(n=e.groupBy(t,function(e){return e.ParentName})),this.paymentMethodGroups=e.map(n,function(e,t){return{name:t,methods:e}}),this.onlyMethod=1===t.length?t[0]:null,this.invoice=t.every(function(e){return e.Invoice})}},{key:\"pay\",value:function(e){var n=this;this.payRequest=null;var r=this.userService.getCurrentUser(),a=this.$location.absUrl(),o=a.indexOf(\"#\"),i=o==-1?a:a.substring(0,o),s=this.$state.href(\"omavaraus-maksu\",{cartId:this.cartId,reference:\"[reference]\",domain:r.getDomain(),sid:r.getSessionId()}),l=i+s,c={PaymentOption:this.paymentOptionId,PaymentMethod:e.InternalName,SuccessURL:l,CancelURL:l,RejectURL:l};this.payPending=e.InternalName;var u=this.winresCloudService.request(\"PUT\",this.cartPath+\"/Message\",{data:JSON.stringify(this.message)});this.payRequest=u.then(function(){return n.winresCloudService.request(\"POST\",n.cartPath+\"/PrebookAndPayAndBook\",{data:c}).then(function(e){return e.data})}),this.payRequest.then(function(e){if(e.HtmlForm){var n=t(e.RedirectData);t(\"body\").append(n),n.submit()}else window.location=e.RedirectData}).catch(function(e){n.payPending=!1;var t=e&&e.data&&e.data.FaultType||\"InternalError\";n.Notification.error(n.$filter(\"i18next\")(\"fault_type.\"+t))})}},{key:\"book\",value:function(){this.$state.go(\"omavaraus-vahvistus\",{cartId:this.cartId})}}]),n}());c.$inject=[\"$stateParams\",\"$state\",\"$location\",\"$filter\",\"userService\",\"winresCloudService\",\"Notification\"],s.default.component(\"omavarausMaksu\",{template:n(205),controller:c}),s.default.config([\"$stateProvider\",function(e){e.state(\"omavaraus-maksu\",{url:\"/omavaraus/maksu/:cartId?{reference:string}&{domain:string}&{sid:string}\",template:\"\"})}])}).call(t,n(9),n(13))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    own_reservation.title

    {{ (\\'fault_type.\\' + value.data.FaultType) | i18next }}

    fault_type.InternalError

    load.pending_payment

    pending_payment.status.{{ value }}

    pending_payment.status.{{ value }}

    pending_payment.status.{{ value }}

    pending_payment.status.default

    error.pending_payment

    {{ (\\'fault_type.\\' + value.data.FaultType) | i18next }}

    fault_type.InternalError

    load.cart_questions

    cart_questions.title

    [i18next]({ used: $ctrl.message.length, left: $ctrl.messageMaxLength - $ctrl.message.length, max: $ctrl.messageMaxLength })cart_questions.max_length

    load.invoices_and_payment_options

    payment_option_and_method.title

    payment_option_and_method.no_payment_options

    payment_option_and_method.select_method_invoice

    payment_option_and_method.select_method

    1\">{{ group.name }}

    {{ (\\'fault_type.\\' + value.data.FaultType) | i18next }}

    fault_type.InternalError

    cart.already_booked_title

    cart.already_booked_text\\ncart.already_booked_link

    ',o=\"omavaraus-maksu.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n\"})}])},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    own_reservation.title

    load.confirm

    confirm.thank_you

    [i18next]({ bono: value.data.BookingNumber })confirm.booking_confirmed

    confirm.email_sent

    cart_invoices.title

    cart_invoices.type cart_invoices.due cart_invoices.sum cart_invoices.state
    invoice.type.{{ iv.Type }} {{ iv.DueDate | finnishDate }} {{ iv.Amount / 100 | currency:\\'€\\' }} invoice.state.{{ iv.State }}

    cart_questions.title

    cart_questions.booking_message
    {{ value || (\\'cart_questions.no_answer\\' | i18next) }}

    error.confirm

    {{ (\\'fault_type.\\' + value.data.FaultType) | i18next }}

    fault_type.InternalError

    ',o=\"omavaraus-vahvistus.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e,t){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n0&&(t=!0),d.language=e,t&&(d.PrepareMetaData(),d.Clear(),u(function(){d.GetRows()},1e3))})}return o(n,[{key:\"Clear\",value:function(){this.Rows=null}},{key:\"PrepareMetaData\",value:function(){this.Metadata=[[{Name:\"BookInfos.BookingNumber\",Type:\"Text\",Title:\"common.reservation\"},{Name:\"BookInfos.BookingDate\",Type:\"Date\",Title:\"common.reservation_date\"},{Name:\"BookInfos.ClerkModifier\",Type:\"Text\",Title:\"varausraportti.clerk_modifier\"},{Name:\"Cancel\",Type:\"FunctionLink\"}],[{Name:\"Capacity\",Type:\"Text\",Title:\"common.amount\"},{Name:\"DestinationInfo.DestinationCode\",Type:\"Text\",Title:\"common.destination\"},{Name:\"DestinationInfo.ProductCode\",Type:\"Text\",AppendToPrevious:!0},{Name:\"DestinationInfo.DestinationName\",Type:\"Text\",AppendToPrevious:!0},{Name:\"DestinationInfo.ProductName\",Type:\"Text\",AppendToPrevious:!0},{Name:\"BeginDate\",Type:\"Date\",Title:\"common.begin_date_short\",Suffix:\" -\"},{Name:\"EndDate\",Type:\"Date\",Title:\"common.end_date_short\",AppendToPrevious:!0},{Name:\"Price\",Type:\"Currency\",Title:\"common.total\",Align:\"right\"}]]}},{key:\"GetRows\",value:function(){var t=this;this.Clear(),this.customerService.getCustomerBookingList(this.userService.getCurrentUser().getCustomerId(),new Date,null).then(function(n){t.Rows=e.flatMap(n,function(n){return e.map(n.Productlines.products,function(r){var a=e.assign(r,n);return t.CanCancel(n)&&(a.Cancel={Function:function(){return t.CancelReservation(n.BookInfos.BookingNumber)},Title:\"owner_bookings.cancel_reservation\"}),a})})})}},{key:\"CanCancel\",value:function(t){var n=this;return e.isBoolean(t.AllowOwnerCancel)?t.AllowOwnerCancel:!e.some(t.Productlines.products,function(e){return 0!=n.$filter(\"parsenumber\")(e.Price)})}},{key:\"CancelReservation\",value:function(n){var r=this,a=e.find(this.Rows,function(e){return e.BookInfos.BookingNumber==n});return t(a.BeginDate,\"YYYY-MM-DD\").valueOf()\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"yrittaja-omavaraukset\",{stateName:\"yrittaja-omavaraukset\",title:\"owner_bookings.menu_title\"})}])}).call(t,n(9),n(41))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    owner_bookings.title

    owner_bookings.no_reservations

    ',o=\"yrittaja-omavaraukset.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n\"})}]),i.default.config([\"menuProvider\",function(e){e.page(\"omistajatiedot\",{stateName:\"omistajatiedot\",title:\"ownerinfo.title\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    ownerinfo.title

    ownerinfo.webstoreSectionHeadline

    group_manager.mail.load_error

    group_manager.load_error

    {{ (\\'fault_type.\\' + value.data.FaultType) | i18next }}

    ',o=\"ryhma-keraaja.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n=e.BookInfos.Adults?(u(\"New passengers cannot be added.\"),t.setState(\"disabled\")):(u(\"New passengers can be added.\"),t.setState(\"ready\"))});else{var n=\"\"+this.$stateParams.id;u(\"Loading passenger %s for booking %s...\",n,this.bookingNumber),this.groupReservationService.loadPassenger(this.bookingNumber,n).then(function(e){u(\"Loaded passenger.\"),u(\"Loading booking %s to check if passengers can be edited...\",t.bookingNumber),t.groupReservationService.getBooking(t.bookingNumber).then(function(n){return!n||n.BookInfos.IsClosedInternet?void t.setState(\"disabled\"):void(e?(t.ReadPassenger(e),t.setState(\"ready\")):n.BookInfos.AdultPassengers>=n.BookInfos.Adults?t.setState(\"disabled\"):t.setState(\"ready\"))})})}this.LoadExtraFields()}},{key:\"ClearPassenger\",value:function(){this.passengerChangePaymentsWhat=\"Transfer\",this.passengerChangeCustomMessage=\"\";var e=(this.userService.getCurrentUser().getEmail(),this.$stateParams.id&&(\"\"+this.$stateParams.id).toLowerCase());this.Passenger={},this.PassengerToDelete?(this.isSelf=!1,this.isNew=!0):\"new\"==e?(this.isSelf=!1,this.isNew=!0):this.isSelf=!1}},{key:\"isYesNoField\",value:function(t){var n=[];return e.each(t.AllowedValues,function(e){n.push(e.toLowerCase().trim())}),2==n.length&&n.indexOf(\"kyllä\")!=-1&&n.indexOf(\"ei\")!=-1}},{key:\"ReadPassenger\",value:function(e){u(\"Reading passenger data...\"),this.Passenger=e;var t=this.userService.getCurrentUser();t.getUserType();this.isSelf=e.Email==t.getEmail(),this.isNew=!1;var n=(0,c.getUserPassengerPermissions)(t,e);this.canSave=n.save,this.canTransfer=n.transfer,this.canRemove=n.remove,u(\"Read passenger data:\",{isSelf:this.isSelf,isNew:this.isNew,canSave:this.canSave,canTransfer:this.canTransfer,canRemove:this.canRemove})}},{key:\"Save\",value:function(){var e=this;if(this.canSave){for(var t=0;t<8;t++)\"number\"==typeof this.Passenger[\"FreeField\"+t]&&(this.Passenger[\"FreeField\"+t]=this.Passenger[\"FreeField\"+t].toString());this.uibDateParser.parse(this.dateOfBirth,\"d!.M!.yyyy\");this.groupReservationService.storePassenger(this.bookingNumber,this.Passenger,this.isNew).then(function(t){t?(e.ReadPassenger(t),e.Notification.success(e.$filter(\"i18next\")(\"group_passenger.save_message_\"+(e.isSelf?\"self\":\"other\"))),e.isNew=!1):e.isNew?e.Notification.error(e.$filter(\"i18next\")(\"group_passenger.save_failed_insert\")):e.Notification.error(e.$filter(\"i18next\")(\"common.error_save_failed\"))})}}},{key:\"Delete\",value:function(){var e=this;if(this.canRemove){var t=this.Passenger&&this.Passenger.Balance&&(this.Passenger.Balance.IsConfirmed||!this.Passenger.Balance.Enabled);if(!t){var n=this.$filter(\"i18next\")(\"group_passenger.delete_payment_unconfirmed\");return void alert(n)}confirm(this.$filter(\"i18next\")(this.isSelf?\"group_passenger.delete_self_confirm\":\"group_passenger.delete_other_confirm\"))&&this.groupReservationService.removePassenger(this.bookingNumber,this.Passenger.ID).then(function(t){t?(e.Notification.success(e.$filter(\"i18next\")(\"group_passenger.delete_message_\"+(e.isSelf?\"self\":\"other\"))),e.ClearPassenger(),e.$state.go(\"ryhma-matkustajat\",{bookingNumber:e.bookingNumber})):e.Notification.error(e.$filter(\"i18next\")(\"group_passenger.delete_failed\"))})}}},{key:\"LoadExtraFields\",value:function(){var e=this;this.typeOptions=null,this.groupReservationService.getPassengerFields(this.bookingNumber).then(function(t){!t||t.length<1||(e.typeOptions=[])})}},{key:\"StartChangePassenger\",value:function(){var t=this;this.PassengerToDelete=this.Passenger,this.ClearPassenger(),this.Passenger.ID=this.PassengerToDelete.ID;var n=this.groupReservationService.getPassengerChangeMail(this.bookingNumber);this.passengerChangeMail=n.then(function(n){if(n){var r=t.$filter(\"i18next\")(\"group_passenger.change.mail.set_password_url_placeholder\"),a=n.Message;a=a.replace(\"<<>>\",r);var o=e.split(a,\"<<>>\",2);return{from:n.FromAddress+(n.FromName?\" (\"+n.FromName+\")\":\"\"),subject:n.Subject,messageTop:o[0],messageBottom:o[1]}}throw u.error(\"Failed to get passenger change mail.\"),new Error(\"Failed to get passenger change mail.\")})}},{key:\"withEmail\",value:function(e){var t=this.Passenger?this.Passenger.Email:\"\";return(e||\"\").replace(\"<<>>\",t)}},{key:\"SaveChangePassenger\",value:function(){var e=this;this.canSave&&window.confirm(this.$filter(\"i18next\")(\"group_passenger.change_passenger_confirm\",{name:this.PassengerToDelete.FirstName+\" \"+this.PassengerToDelete.LastName}))&&this.groupReservationService.storePassenger(this.bookingNumber,this.Passenger,!1,!0,this.passengerChangeCustomMessage,this.passengerChangePaymentsWhat).then(function(t){t?(e.ReadPassenger(t),e.Notification.success(e.$filter(\"i18next\")(\"group_passenger.change_message\")),e.isNew=!1,e.PassengerToDelete=null,e.$state.go(\"ryhma-matkustaja\",{bookingNumber:e.bookingNumber,id:t.ID})):e.Notification.error(e.$filter(\"i18next\")(\"group_passenger.save_failed_insert\"))})}},{key:\"Cancel\",value:function(){this.PassengerToDelete?(this.ClearPassenger(),this.ReadPassenger(this.PassengerToDelete),this.PassengerToDelete=null):this.$state.go(\"ryhma-matkustajat\",{bookingNumber:this.bookingNumber})}},{key:\"Logout\",value:function(){confirm(this.$filter(\"i18next\")(\"common.confirm_logout\"))&&this.userService.logout()}},{key:\"formatPaymentsTotal\",value:function(){var e=this.PassengerToDelete,t=e&&e.Balance;return this.$filter(\"currency\")(t.Paid,\"€\")}}]),t}();d.$inject=[\"$scope\",\"$state\",\"userService\",\"$stateParams\",\"$filter\",\"uibDateParser\",\"Notification\",\"groupReservationService\",\"destinationService\"],i.default.component(\"ryhmaMatkustaja\",{template:n(222),controller:d}),i.default.config([\"$stateProvider\",function(e){e.state(\"ryhma-matkustaja\",{url:\"/ryhma-matkustaja/:bookingNumber/:id\",params:{bookingNumber:{value:null},id:{value:null}},template:\"\"})}]),i.default.config([\"$urlRouterProvider\",function(e){e.when(\"/ryhma-matkustaja\",\"/ryhma-matkustaja//\")}]),i.default.config([\"menuProvider\",function(e){e.page(\"ryhma-matkustaja\",{stateName:\"ryhma-matkustaja\",title:\"group_passenger.menu_title\"})}])}).call(t,n(9))},function(e,t){\"use strict\";function n(e,t){var n=e.getUserType(),i=t.Balance&&t.Balance.Paid>0,s=(i&&!t.Balance.IsConfirmed,!1);return n==a||n==o?{save:!0,transfer:s,remove:!0}:n==r?{save:!0,transfer:s,remove:!i}:{save:!i,transfer:!1,remove:!1}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.getUserPassengerPermissions=n;var r=t.GROUP_MANAGER=6,a=t.GROUP_MASTER=16,o=t.WINRES_ADMIN=14;t.ADMINS=[r,a,o]},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){\nn=r.module(\"ng\",[])}var a='

    group_passenger.payments.title

    group_passenger.payments.kinds.{{ kind }}\\n 0\"> (eräpäivä: {{ $ctrl.Passenger.Balance[kind].DueDate | finnishDate:true }}) \\n (maksettu)

    Yhteensä:
    {{ $ctrl.Passenger.Balance[kind].Total | number: 2 }} €
    Maksettu:
    {{ $ctrl.Passenger.Balance[kind].Paid | number: 2}} €
    Maksettavaa:
    {{ $ctrl.Passenger.Balance[kind].Unpaid | number: 2}} €

    Huomaa, että matkustajatietoja ei voi muuttaa ennakkomaksun maksamisen jälkeen.

    Maksutiedot puuttuvat.

    group_passenger.title_change

    group_passenger.title_self

    group_passenger.title_self_paid

    group_passenger.title_other

    {{ ($ctrl.isSelf ? ($ctrl.Passenger.Balance.Paid ? \\'group_passenger.text_self_paid\\' : \\'group_passenger.text_self\\') : ($ctrl.PassengerToDelete ? \\'group_passenger.text_change\\' : \\'group_passenger.text_other\\')) | i18next }}

    group_passenger.disabled_text

    group_passenger.change_passenger_info

    group_passenger.change.has_account

    group_passenger.change.has_no_account

    :\\n {{ $ctrl.PassengerToDelete.FirstName }} {{ $ctrl.PassengerToDelete.LastName }}

    group_passenger.change.payments.heading

    0)\" ng-i18next>group_passenger.change.payments.no

    0\">

    group_passenger.change.payments.what_to_do

    group_passenger.change.details_heading

    *\\n common.error_email_address\\ncommon.error_required \\n
    *\\n common.error_required\\ncommon.error_email_address_confirm \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n\\n common.error_required
    *\\n common.error_required\\ncommon.error_date_of_birth_format \\n
    *\\n common.error_required
    *\\n common.error_required
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *
    *

    group_passenger.change.mail.heading

    {{ $ctrl.withEmail(value.messageTop) }}

    {{ $ctrl.withEmail(value.messageBottom) }}

    group_passenger.change.mail.load_error

    \\n\\n\\n \\n{{ !$ctrl.canSave ? \\'common.return\\' : \\'common.cancel_changes\\' | i18next }} \\n

    Ladataan matkustajatietoja...

    ',o=\"ryhma-matkustaja.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n\"})}]),i.default.config([\"menuProvider\",function(e){e.page(\"ryhma-matkustajat\",{stateName:\"ryhma-matkustajat\",title:\"group_passengers.title\"})}])}).call(t,n(9))},function(e,t,n){(function(e){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n
    \\n

    Loppulasku

    \\n
    0\" class=\"alert alert-danger\">

    Huom! Matkustaja on jo maksanut yhteensä {{ $ctrl.paid | currency:\\'€\\' }}.

    Se on {{ $ctrl.overpaid() | currency:\\'€\\' }} enemmän kuin laskujen kokonaissumma.

    • modal_passenger_invoices.invalid.advance.{{ key }}
    • modal_passenger_invoices.invalid.final.{{ key }}
    \\n

    Tallennetaan...

    Varauksella ei ole matkustajakohtaisia maksutietoja.

    Tallennus epäonnistui.

    modal_passenger_invoices.error.http.{{ $ctrl.error.status }}

    Tallennuksen aikana tapahtui palvelinhäiriö. On mahdollista, että laskumuutokset tallentuivat väärin tai jäivät kokonaan tallentumatta.

    modal_passenger_invoices.error.http.{{ $ctrl.error.status }}

    Tallennuksessa tapahtui virhe.

    On mahdollista, että laskumuutokset tallentuivat väärin tai jäivät kokonaan tallentumatta.

    modal_passenger_invoices.state.{{ $ctrl.state }}

    ',o=\"passengerInvoices.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    {{ \\'group_passengers.title\\' | i18next }}\\n {{ $ctrl.PlacesUsed }} / {{ $ctrl.TotalPlaces }}

    Varausta ei ole valittu.

    group_passengers.reservation_is_closed

    0\"> >

    {{ \\'group_passengers.places_left\\' | i18next:{count: $ctrl.PlacesLeft} }}

    ',o=\"ryhma-matkustajat.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function a(t,n){return e.map(t,function(t){if(t.PassengerID>0){var r=e.find(n,function(e){return e.ID==t.PassengerID});return e.assign({},t,{Passenger:r})}var a={FirstName:\"(Poistettu)\",LastName:\"(Poistettu)\"};return e.assign({},t,{Passenger:a})})}var o=function(){function e(e,t){for(var n=0;n0});this.confirmedPaymentsToAssignRows=e.map(r,function(r){return e.assign({},r,{PassengerPayments:a(r.PassengerPayments,t.Passengers),Assign:n.makeAssignGroupPaymentColumn(t.Passengers,r)})});var o=e.flatten(e.map(t.ConfirmedBookingPayments,function(e){return e.PassengerPayments})),i=e.concat(o,t.UnconfirmedPassengerPayments);console.log(i);var s=e.filter(i,function(e){return 0===e.PassengerID});this.removedPassengerPaymentRows=e.map(s,function(t){return e.assign({},t,{})}),this.unconfirmedPassengerPaymentRows=a(t.UnconfirmedPassengerPayments,t.Passengers)}},{key:\"makeAssignGroupPaymentColumn\",value:function(e,t){var n=this;return{Function:function(){return n.showGroupPaymentPopup(e,t)},Title:\"Yhdistä\"}}},{key:\"showGroupPaymentPopup\",value:function(e,t){var r=this;this.$uibModal.open({template:n(228),controller:\"GroupPaymentController\",controllerAs:\"$ctrl\",resolve:{payment:function(){return t},bookingNumber:function(){return r.bookingNumber},passengers:function(){return e},callback:function(){return function(e){e.success?(console.log(\"[RM] Success.\"),r.update(e.payments)):(console.log(\"[RM] Error!\"),r.load())}}}})}}]),t}();l.$inject=[\"$stateParams\",\"$state\",\"$scope\",\"$uibModal\",\"groupReservationService\",\"userService\"],s.default.component(\"ryhmaMaksut\",{template:n(229),controller:l}),s.default.config([\"$stateProvider\",function(e){e.state(\"ryhma-maksut\",{url:\"/ryhma-maksut/:bookingNumber\",template:\"\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"ryhma-maksut\",{stateName:\"ryhma-maksut\",title:\"group_payments.menu_title\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Yhdistä maksu matkustajiin

    Jakamatonta rahaa on jäljellä\\n {{ $ctrl.unassignedAmount | currency:\\'€\\' }} \\n/ {{ $ctrl.totalAmount | currency:\\'€\\' }}.

    Valittujen laskujen yhteissumma on {{ $ctrl.selectedAmount | currency:\\'€\\' }}.

    Avoimet laskut

    • modal_group_payment.invalid.{{ key }}
    \\n

    Tallennetaan...

    Tallennus epäonnistui.

    modal_group_payment.error.http.{{ this.error.status }}

    Tallennuksen aikana tapahtui palvelinhäiriö. On mahdollista, että muutokset tallentuivat väärin tai jäivät kokonaan tallentumatta.

    modal_group_payment.error.http.{{ this.error.status }}

    Tallennuksessa tapahtui virhe.

    On mahdollista, että muutokset tallentuivat väärin tai jäivät kokonaan tallentumatta.

    modal_group_payment.state.{{ $ctrl.state }}

    ',o=\"groupPayment.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Ryhmävarauksen maksut

    Varausta ei ole valittu.

    Maksuominaisuus ei ole käytössä.

    Yhdistämättömät maksut

    Maksut, jotka ovat osittain tai kokonaan yhdistämättä matkustajiin.

    Poistettujen matkustajien maksut

    Poistettujen matkustajien suorittamat maksut, joita ei ole siirretty toiselle matkustajalle.

    Vahvistamattomat verkkomaksut

    Matkustajien suorittamat maksut, joita ei ole vielä tilitetty.

    ',o=\"ryhma-maksut.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function a(t){var n=\"\";return e.isEmpty(t.CompanyName)||(n+=t.CompanyName+\" / \"),n+=t.LastName,n+=\", \"+t.FirstName}var o=function(){function e(e,t){for(var n=0;n\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"ryhma-varaukset\",{stateName:\"ryhma-varaukset\",title:\"group_bookings.menu_title\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Ryhmävaraukset

    Haetaan...

    ',o=\"ryhma-varaukset.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e,t){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n768}return o(n,[{key:\"$onInit\",value:function(){if(this.state=\"loading\",this.bookingNumber=this.$stateParams.bookingNumber,this.bookingNumber)this.LoadPassengers();else{console.log(\"[RL] No booking number in URL.\");var e=this.userService.getCurrentUser(),t=e.getBookingNumber();t?(console.log(\"[RL] Found booking number from user. Redirecting...\"),this.$state.go(\"ryhma-lisapalvelut\",{bookingNumber:t})):(console.log(\"[RL] No booking number available.\"),this.state=\"no-booking-number\")}}},{key:\"setBookingNumber\",value:function(e){this.$state.go(\"ryhma-lisapalvelut\",{bookingNumber:e})}},{key:\"HandleExtraServiceInformation\",value:function(e){this.$scope.extraServiceInfo=e,this.$scope.mobileExtraServices=e.ExtraServices,this.assignPassengerExtraServices(),this.state=\"ready\"}},{key:\"assignPassengerExtraServices\",value:function(){var e=this;t.each(this.$scope.extraServiceInfo.ExtraServiceAssignments,function(n){var r=t.find(e.passengers,function(e){return e.ID===n.PassengerID});r&&(r.ExtraServices=n.ExtraServices)}),this.oldExtraServices=JSON.stringify(t.map(this.passengers,function(e){return e.ExtraServices}))}},{key:\"isExtraServiceDisabled\",value:function(e){return e.Amount>=e.Capacity}},{key:\"canDropExtraService\",value:function(e){return e.Amount=n.BookInfos.Adults,e.isReservationClosed=n.BookInfos.IsClosedInternet,t.each(e.passengers,function(t){t.ExtraServices=[],t.IsOpen=e.isOpenByDefault}),void e.LoadExtraServiceInformation())}),this.$scope.$watch(\"$ctrl.passengers\",function(){e.calculateMobileExtraServices(),e.checkChanges()},!0)}},{key:\"CloseReservation\",value:function(){var e=this;return this.groupReservationService.setClosedInternet(this.bookingNumber,!0).then(function(t){t?e.Notification.success(e.$filter(\"i18next\")(\"group_extra_services.message_closed\",{officeName:e.userService.getCurrentUser().getOffice().Name})):e.Notification.error(e.$filter(\"i18next\")(\"common.error_save_failed\"))})}},{key:\"Save\",value:function(){var e=this,n=t.map(this.passengers,function(e){return{PassengerID:e.ID,ExtraServices:t.map(e.ExtraServices,function(e){return{StartDate:e.StartDate,EndDate:e.EndDate,DestinationCode:e.DestinationCode,ProductCode:e.ProductCode,ProductType:e.ProductType}})}});return this.groupReservationService.saveExtraServiceAssignments(this.bookingNumber,n).then(function(t){return t?(e.extraServicesChanged=!1,e.Notification.success(e.$filter(\"i18next\")(\"group_extra_services.message_save\")),e.isReservationFull&&0==e.$scope.mobilePassengers.length?e.modalService.yesNo(\"group_extra_services.close_modal_title\",e.$filter(\"i18next\")(\"group_extra_services.close_modal_message\",{officeName:e.userService.getCurrentUser().getOffice().Name})).then(function(t){t?e.CloseReservation().then(function(){e.LoadPassengers()}):e.LoadPassengers()}):e.LoadPassengers()):e.Notification.error(e.$filter(\"i18next\")(\"common.error_save_failed\")),t})}},{key:\"MobileFormatter\",value:function(e){if(e)return e.ProductName}}]),n}();l.$inject=[\"$state\",\"$stateParams\",\"$scope\",\"$filter\",\"Notification\",\"groupReservationService\",\"userService\",\"modalService\"],s.default.component(\"ryhmaLisapalvelut\",{template:n(233),controller:l}),s.default.config([\"$stateProvider\",function(e){e.state(\"ryhma-lisapalvelut\",{url:\"/ryhma-lisapalvelut/:bookingNumber\",template:\"\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"ryhma-lisapalvelut\",{stateName:\"ryhma-lisapalvelut\",title:\"group_extra_services.menutitle\"})}])}).call(t,n(13),n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    group_extra_services.title

    Varausta ei ole valittu.

    group_extra_services.text_info

    group_extra_services.text_info_mobile

    group_extra_services.text_not_open

    group_extra_services.text_closed

    0\">
    common.save
    group_extra_services.save_changes

    {{ \\'group_extra_services.reservation_extra_services\\' | i18next }}
    {{ \\'group_extra_services.capacity_left\\' | i18next }}\\n{{ extraService.Capacity - extraService.Amount }}/{{ extraService.Capacity }}

    common.save
    common.save
    group_extra_services.save_changes
    group_extra_services.passengers_collapse\\n
    group_extra_services.passengers_expand\\n


    group_extra_services.all_passengers\\n()
    \\n\\n \\n \\n\\n ({{ \\'group_extra_services.amount_singular\\' | i18next: { amount: passenger.ExtraServices.length } }}) \\n ({{ \\'group_extra_services.amount\\' | i18next: { amount: passenger.ExtraServices.length } }}) {{ extraService.ProductName }}
    common.save
    ',o=\"ryhma-lisapalvelut.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"asiakastiedot\",{stateName:\"asiakastiedot\",title:\"customer_info.menu_title\"})}])},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    customer_info.title

    *\\n common.error_email_address\\ncommon.error_required \\n
    *

    customer_info.email_address_confirm_text

    common.error_required\\ncommon.error_email_address_confirm \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required \\n
    *\\n common.error_required
    ',o=\"asiakastiedot.html\";\nn.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function a(e){var t=e.getCurrentUser();if(t){var n=t.getParameter(\"Intres8BaseUrl\");n?n+=\"StartPage.aspx\":(n=t.getParameter(\"IntresSearchEngineUrl\"),n&&(n+=\"FrontPage.aspx\")),n&&(c.href=n)}}var o=function(){function e(e,t){for(var n=0;n=r}),function(e){return e.BeginDate})}catch(e){console.log(e)}})}}]),t}();l.$inject=[\"$scope\",\"$state\",\"userService\",\"customerService\"],s.default.component(\"omatVaraukset\",{template:n(239),controller:l}),s.default.config([\"$stateProvider\",function(e){e.state(\"omat-varaukset\",{url:\"/omat-varaukset\",template:\"\"})}]);var c={title:\"your_reservations.new_reservation\"};s.default.config([\"menuProvider\",function(e){e.page(\"omat-varaukset\",{stateName:\"omat-varaukset\",title:\"your_reservations.title\",target:\"_blank\"}),e.page(\"uusi-varaus\",c)}]),s.default.run([\"$rootScope\",\"userService\",function(e,t){a(t),e.$on(\"userDataChanged\",function(){return a(t)})}])}).call(t,n(9))},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=n(15),i=r(o),s=function e(){a(this,e)};s.$inject=[],i.default.component(\"ownReservation\",{bindings:{reservation:\"<\"},template:n(238),controller:s})},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    {{ $ctrl.reservation.Title }}

    {{ $ctrl.reservation.Subtitle }}

    {{ $ctrl.reservation.BeginDate | date }} {{ $ctrl.reservation.BeginTime }} - {{ $ctrl.reservation.EndDate | date }} {{ $ctrl.reservation.EndTime }}

    {{ \\'your_reservations.reservation_number\\' | i18next }}: #{{ $ctrl.reservation.BookingNumber }}

    0\"> {{ $ctrl.reservation.TotalPrice | currency:\\'€\\' }}
    0\">

    your_reservations.products

    {{ product.Title }} {{ product.BeginDate | date }} {{ product.BeginTime }} - {{ product.EndDate | date }} {{ product.EndTime }} 0\"> {{ product.Price | parsenumber | currency:\\'€\\' }}
    ',o=\"own-reservation.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    your_reservations.title

    your_reservations.no_reservations

    your_reservations.future_reservations

    your_reservations.past_reservations

    ',o=\"omat-varaukset.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e,t){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"matluet-editor\",{stateName:\"matluet-editor\",title:\"fields.edit_report\"})}])}).call(t,n(9),n(13))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    fields.edit_report

    ',o=\"matluet-editor.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function a(e,t){var n=t.getExcelRowsHumanReadable();if(!n)return null;var r=o(n),a=i(e.Header,r),l=s(e.Summary,r);return a.concat(n).concat(l)}function o(t){var n=e.map(t,function(t){return e.sumBy(t,function(e){return e.Span||1})});return e.max(n)}function i(e,t){var n=[];t<2&&(t=2);for(var r=Math.floor(t/2),a=t-r,o=e.Column1Headers,i=e.Column2Headers,s=0;s0&&e.each(t.reportData.Definition.Groups,function(n){e.each(n.Fields,function(e){t.filtervalues[e.Name]=null,t.filterModes[e.Name]=\"include\"})})})}}},{key:\"FilterReport\",value:function(){var t=this;this.reportData=e.cloneDeep(this.reportDataBackup),e.each(this.filtervalues,function(n,r){t.reportData.Rows=e.filter(t.reportData.Rows,function(a){if(!n)return!0;var o=n.split(\",\");return\"exclude\"==t.filterModes[r]?e.every(o,function(t){return!e.includes(a[r].toLowerCase(),t.toLowerCase().trim())}):\"include\"==t.filterModes[r]?e.some(o,function(t){return!!e.includes(a[r].toLowerCase(),t.toLowerCase().trim())}):void 0})})}},{key:\"GenerateMetadata\",value:function(){var t=this;this.Metadata=[];for(var n=0;n\"})}]),f.default.config([\"menuProvider\",function(e){e.page(\"matluet-viewer\",{stateName:\"matluet-viewer\",title:\"reportviewer.menu_title\"})}]),f.default.config([\"$stateProvider\",function(e){e.state(\"myyrap-viewer\",{url:\"/myyrap-viewer\",params:{reportid:{value:null}},data:{reporttype:\"myyrap\"},template:\"\"})}]),f.default.config([\"menuProvider\",function(e){e.page(\"myyrap-viewer\",{stateName:\"myyrap-viewer\",title:\"reportviewer.sales_menu_title\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='
    ',o=\"reportEditorWindowModal.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    reportviewer.report_not_available

    reportviewer.menu_title

    reportviewer.sales_menu_title

    {{\"fields.number_of_prints\"| i18next}}\\n\\n fields.show\\n\\nfields.lines

    ({{\"fields.zero_for_all\" | i18next}})
    {{field.Title | i18next}}\\n\\n

    reportviewer.collum_separated_values


    reportviewer.filter
    {{ $ctrl.reportData.Summary.SummaryText }}
    \\n{{ :: \\'common.export_to_excel_data\\' | i18next }} \\n \\n{{ :: \\'common.export_to_excel_human_readable\\' | i18next }}
    \\n    {{ $ctrl.reportData.SQLQuery }}\\n    
    \\n    {{ $ctrl.reportData.ErrorMessage }}\\n    
    ',o=\"report-viewer.html\";\nn.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e,t){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"myyrap-editor\",{stateName:\"myyrap-editor\",title:\"fields.edit_sales_report\"})}])}).call(t,n(9),n(13))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    fields.edit_sales_report

    ',o=\"myyrap-editor.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=n(15),i=r(o),s=function e(){a(this,e)};s.$inject=[],i.default.component(\"admin\",{template:n(248),controller:s}),i.default.config([\"$stateProvider\",function(e){e.state(\"admin\",{url:\"/admin\",template:\"\"})}]),i.default.config([\"menuProvider\",function(e){e.page(\"admin\",{stateName:\"admin\",title:\"admin\"})}])},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a=\"

    Admin

    Tässä ei ole toistaiseksi mitään.

    \",o=\"admin.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;nParametri \"+t+\"/\"+n+\"/\"+r.Code+\" on tallennettu.

    \";a.Notification.success({title:\"Parametri tallennettu\",message:o})}).catch(function(o){console.error(\"[P] Error:\",o),a.state=\"unexpected-error\";var i=\"

    Parametrin \"+t+\"/\"+n+\"/\"+r.Code+\" tallennus epäonnistui.

    \";o&&(o.status&&(i+=\"

    HTTP-virhe: \"+o.status+\" \"+o.statusText+\"

    \"),o.data&&(i+=\"
    \"+e.escape(JSON.stringify(o.data,null,2))+\"
    \")),a.Notification.error({title:\"Tallennus epäonnistui\",message:i})}).finally(function(){r.setting=!1})}},{key:\"update\",value:function(e){this.groups=e.ParamGroups}}]),t}();s.$inject=[\"$stateParams\",\"$state\",\"$scope\",\"$uibModal\",\"userService\",\"Notification\"],i.default.component(\"parametrit\",{template:n(250),controller:s}),i.default.config([\"$stateProvider\",function(e){e.state(\"parametrit\",{url:\"/parametrit/:winresDatabase\",template:\"\"})}]),i.default.config([\"menuProvider\",function(e){e.page(\"parametrit\",{stateName:\"parametrit\",title:\"Parametrit\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Parametrit

    Tietokantaa ei ole valittu.

    Ladataan...

    Sisällysluettelo

    {{ group.Code }} – {{ group.Name }} (WRC: {{ group.PossibleWRCName }})

    {{ group.Code }} {{ item.Code }} – {{ item.Name }}

    Parametri on käännös.

    {{ item.PossibleWRCName }}

    ',o=\"parametrit.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&(t=t.filter(function(t){for(var n=e.slots[0].get(t.id),r=1;r \"+t+\".\"),e.database=t,this.$state.go(\"parametritaulukko\",{slots:this.slots.map(function(e){return e.database})}),this.load(e)}},{key:\"load\",value:function(e){var t=this;if(e.state=\"init\",e.groups=[],e.values={},e.database){e.state=\"loading\",this.loadingOverlayService.start();var n=this.userService.makeAuthenticatedRequest(\"AdminGetParameters\",{WinresDatabase:e.database});n.then(function(n){e.state=\"ready\",t.updateSlot(e,n)}).catch(function(t){u.error(\"Error:\",t),e.state=\"error\"}).finally(function(){t.loadingOverlayService.stop()})}}},{key:\"updateSlot\",value:function(e,t){u(\"Updating slot \"+e.database+\".\"),e.groups=t.ParamGroups,e.values={};var n=!0,r=!1,a=void 0;try{for(var o,i=t.ParamGroups[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value,l=!0,c=!1,d=void 0;try{for(var p,f=s.Items[Symbol.iterator]();!(l=(p=f.next()).done);l=!0){var g=p.value,m=!0,h=!1,v=void 0;try{for(var b,y=g.Values[Symbol.iterator]();!(m=(b=y.next()).done);m=!0){var w=b.value;e.values[w.ID]=w}}catch(e){h=!0,v=e}finally{try{!m&&y.return&&y.return()}finally{if(h)throw v}}}}catch(e){c=!0,d=e}finally{try{!l&&f.return&&f.return()}finally{if(c)throw d}}}}catch(e){r=!0,a=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw a}}this.updateDefs()}},{key:\"updateDefs\",value:function(){this.loadingOverlayService.start();var e=new Map,t=!0,n=!1,r=void 0;try{for(var o,i=this.slots[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value,l=!0,c=!1,u=void 0;try{for(var p,f=s.groups[Symbol.iterator]();!(l=(p=f.next()).done);l=!0){var g=p.value,m=!0,h=!1,v=void 0;try{for(var b,y=g.Items[Symbol.iterator]();!(m=(b=y.next()).done);m=!0){var w=b.value,k=!0,x=!1,$=void 0;try{for(var C,S=w.Values[Symbol.iterator]();!(k=(C=S.next()).done);k=!0){var P=C.value;e.has(P.ID)||e.set(P.ID,{id:P.ID,groupCode:g.Code,itemCode:w.Code,langCode:P.Code,databases:[]});var D=e.get(P.ID);D.databases.push(s.database),D.groupName||(D.groupName=g.Name,g.PossibleWRCName&&(D.groupName+=\" / \"+g.PossibleWRCName)),D.itemName||(D.itemName=w.Name,w.PossibleWRCName&&(D.itemName+=\" / \"+w.PossibleWRCName))}}catch(e){x=!0,$=e}finally{try{!k&&S.return&&S.return()}finally{if(x)throw $}}}}catch(e){h=!0,v=e}finally{try{!m&&y.return&&y.return()}finally{if(h)throw v}}}}catch(e){c=!0,u=e}finally{try{!l&&f.return&&f.return()}finally{if(c)throw u}}}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}this.defs=[].concat(a(e.values())),this.defs.sort(function(e,t){return e.groupCodet.groupCode?1:e.itemCodet.itemCode?1:d.indexOf(e.langCode)d.indexOf(t.langCode)?1:0}),this.filterDefs(),this.loadingOverlayService.stop()}}]),e}();p.$inject=[\"$stateParams\",\"$state\",\"$scope\",\"$uibModal\",\"$q\",\"userService\",\"loadingOverlayService\",\"Notification\"],l.default.component(\"parametritaulukko\",{template:n(252),controller:p}),l.default.config([\"$stateProvider\",function(e){e.state(\"parametritaulukko\",{url:\"/parametritaulukko\",template:\"\"})}]),l.default.config([\"menuProvider\",function(e){e.page(\"parametritaulukko\",{stateName:\"parametritaulukko\",title:\"Parametritaulukko\"})}])},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Parametritaulukko

    Näytetään {{ $ctrl.filteredDefs.length }}/{{ $ctrl.defs.length }} parametria.

    Ryhmä Tunnus Kieli Tietokanta {{ $index + 1 }}\\n
    {{ def.groupCode }} {{ def.itemCode }} {{ def.langCode }}
    ',o=\"parametritaulukko.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function i(t){return/^[A-Z]\\d+$/.test(t)?t[0]+e.padStart(t.substring(1),5,\"0\"):t}Object.defineProperty(t,\"__esModule\",{value:!0});var s=function(){function e(e,t){for(var n=0;n\"})}]),c.default.config([\"menuProvider\",function(e){e.page(\"ulkoiset-jarjestelmat\",{stateName:\"ulkoiset-jarjestelmat\",title:\"Ulkoiset järjestelmät\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Ulkoiset järjestelmät

    Tietokantaa ei ole valittu.

    Ladataan...

    Taulukon ilmestyminen voi kestää, jos järjestelmiä on paljon.

    ',o=\"ulkoiset-jarjestelmat.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n\"})}]),i.default.config([\"menuProvider\",function(e){e.page(\"ulkoiset-jarjestelmat-hallitse\",{stateName:\"ulkoiset-jarjestelmat-hallitse\",title:\"Ulkoisen järjestelmän hallinta\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    \\nHaetaan ulkoisia järjestelmiä...

    Tietokantaa ei ole valittu.

    Ulkoista järjestelmää ei ole valittu.

    Ladataan...

    {{ $ctrl.externalSystem.Code }} {{ $ctrl.externalSystem.Name }}

    Yleiset asetukset

    Ei vielä toteutettu.

    Järjestelmäkohtaiset asetukset

    Järjestelmällä ei ole järjestelmäkohtaisia asetuksia.

    ',o=\"ulkoiset-jarjestelmat-hallitse.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n0}),this.products=t}},{key:\"makeSendColumn\",value:function(e){return e.IncludedInPoll||\"B0\"==e.ExternalSystemCode?{Title:\"Lähetä...\",Href:this.$state.href(\"ulkoiset-tuotteet-laheta\",{winresDatabase:this.winresDatabase,destCode:e.DestCode,prodCode:e.ProdCode,extSysCode:e.ExternalSystemCode})}:null}}]),t}();s.$inject=[\"$stateParams\",\"$state\",\"$scope\",\"$uibModal\",\"userService\"],i.default.component(\"ulkoisetTuotteet\",{template:n(258),controller:s}),i.default.config([\"$stateProvider\",function(e){e.state(\"ulkoiset-tuotteet\",{url:\"/ulkoiset-tuotteet/:winresDatabase\",template:\"\"})}]),i.default.config([\"menuProvider\",function(e){e.page(\"ulkoiset-tuotteet\",{stateName:\"ulkoiset-tuotteet\",title:\"Ulkoiset tuotteet\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Ulkoiset tuotteet

    Tietokantaa ei ole valittu.

    Ladataan...

    Jos Lähetä-linkki puuttuu, ulkoinen järjestelmä ei ole mukana Poll-käsittelyssä eikä sille ole lisätty erikseen tukea.

    Taulukon ilmestyminen voi kestää, jos tuotteita on paljon.

    ',o=\"ulkoiset-tuotteet.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n\"})}]),i.default.config([\"menuProvider\",function(e){e.page(\"ulkoiset-tuotteet-laheta\",{stateName:\"ulkoiset-tuotteet-laheta\",title:\"Ulkoisten päivitysten lähetys\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    {{ $ctrl.destCode }} {{ $ctrl.prodCode }} {{ $ctrl.extSysCode }} - Saatavuus- ja hintapäivitysten lähetys

    Valmiina lähettämään.

    WACS-osoite, johon lähetetään

    Kapasiteetit

    Hinnat

    Yritetään lähettää...

    Virhe

    HTTP {{ $ctrl.error[kind].status }} - {{ $ctrl.error[kind].statusText }}

    \\n{{ $ctrl.error[kind].data | json }}\\n        
    0\"> Taulukon ilmestyminen voi kestää, jos lähetettävää on paljon.

    Booking.com-tapauksessa tarkemmat tiedot lähetetyistä hinnoista tai kapasiteeteista eivät ole saatavilla tässä.

    Mitään lähetettävää ei ollut.

    ',o=\"ulkoiset-tuotteet-laheta.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n\"})}]),s.default.config([\"menuProvider\",function(e){e.page(\"ulkoiset-paivitykset\",{stateName:\"ulkoiset-paivitykset\",title:\"Ulkoiset päivitykset\"})}])},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Ulkoiset päivitykset

    Tietokantaa ei ole valittu.

    Epäonnistuneet päivitykset

    Ulkoiset päivitykset, joita on onnistumatta yritetty lähettää ainakin kerran.

    ',o=\"ulkoiset-paivitykset.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n\"})}]),i.default.config([\"menuProvider\",function(e){e.page(\"yp-varaukset\",{stateName:\"yp-varaukset\",title:\"Varaukset\"})}])}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    Varaukset

    Tietokantaa ei ole valittu.

    Haetaan...

    Taulukon ilmestyminen voi kestää, jos varauksia on paljon.

    ',o=\"yp-varaukset.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},,,,,,,,,,,,,function(e,t,n){n(278)},function(e,t,n){var r=n(279);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,'.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-glass:before{content:\"\\\\F000\"}.fa-music:before{content:\"\\\\F001\"}.fa-search:before{content:\"\\\\F002\"}.fa-envelope-o:before{content:\"\\\\F003\"}.fa-heart:before{content:\"\\\\F004\"}.fa-star:before{content:\"\\\\F005\"}.fa-star-o:before{content:\"\\\\F006\"}.fa-user:before{content:\"\\\\F007\"}.fa-film:before{content:\"\\\\F008\"}.fa-th-large:before{content:\"\\\\F009\"}.fa-th:before{content:\"\\\\F00A\"}.fa-th-list:before{content:\"\\\\F00B\"}.fa-check:before{content:\"\\\\F00C\"}.fa-close:before,.fa-remove:before,.fa-times:before{content:\"\\\\F00D\"}.fa-search-plus:before{content:\"\\\\F00E\"}.fa-search-minus:before{content:\"\\\\F010\"}.fa-power-off:before{content:\"\\\\F011\"}.fa-signal:before{content:\"\\\\F012\"}.fa-cog:before,.fa-gear:before{content:\"\\\\F013\"}.fa-trash-o:before{content:\"\\\\F014\"}.fa-home:before{content:\"\\\\F015\"}.fa-file-o:before{content:\"\\\\F016\"}.fa-clock-o:before{content:\"\\\\F017\"}.fa-road:before{content:\"\\\\F018\"}.fa-download:before{content:\"\\\\F019\"}.fa-arrow-circle-o-down:before{content:\"\\\\F01A\"}.fa-arrow-circle-o-up:before{content:\"\\\\F01B\"}.fa-inbox:before{content:\"\\\\F01C\"}.fa-play-circle-o:before{content:\"\\\\F01D\"}.fa-repeat:before,.fa-rotate-right:before{content:\"\\\\F01E\"}.fa-refresh:before{content:\"\\\\F021\"}.fa-list-alt:before{content:\"\\\\F022\"}.fa-lock:before{content:\"\\\\F023\"}.fa-flag:before{content:\"\\\\F024\"}.fa-headphones:before{content:\"\\\\F025\"}.fa-volume-off:before{content:\"\\\\F026\"}.fa-volume-down:before{content:\"\\\\F027\"}.fa-volume-up:before{content:\"\\\\F028\"}.fa-qrcode:before{content:\"\\\\F029\"}.fa-barcode:before{content:\"\\\\F02A\"}.fa-tag:before{content:\"\\\\F02B\"}.fa-tags:before{content:\"\\\\F02C\"}.fa-book:before{content:\"\\\\F02D\"}.fa-bookmark:before{content:\"\\\\F02E\"}.fa-print:before{content:\"\\\\F02F\"}.fa-camera:before{content:\"\\\\F030\"}.fa-font:before{content:\"\\\\F031\"}.fa-bold:before{content:\"\\\\F032\"}.fa-italic:before{content:\"\\\\F033\"}.fa-text-height:before{content:\"\\\\F034\"}.fa-text-width:before{content:\"\\\\F035\"}.fa-align-left:before{content:\"\\\\F036\"}.fa-align-center:before{content:\"\\\\F037\"}.fa-align-right:before{content:\"\\\\F038\"}.fa-align-justify:before{content:\"\\\\F039\"}.fa-list:before{content:\"\\\\F03A\"}.fa-dedent:before,.fa-outdent:before{content:\"\\\\F03B\"}.fa-indent:before{content:\"\\\\F03C\"}.fa-video-camera:before{content:\"\\\\F03D\"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:\"\\\\F03E\"}.fa-pencil:before{content:\"\\\\F040\"}.fa-map-marker:before{content:\"\\\\F041\"}.fa-adjust:before{content:\"\\\\F042\"}.fa-tint:before{content:\"\\\\F043\"}.fa-edit:before,.fa-pencil-square-o:before{content:\"\\\\F044\"}.fa-share-square-o:before{content:\"\\\\F045\"}.fa-check-square-o:before{content:\"\\\\F046\"}.fa-arrows:before{content:\"\\\\F047\"}.fa-step-backward:before{content:\"\\\\F048\"}.fa-fast-backward:before{content:\"\\\\F049\"}.fa-backward:before{content:\"\\\\F04A\"}.fa-play:before{content:\"\\\\F04B\"}.fa-pause:before{content:\"\\\\F04C\"}.fa-stop:before{content:\"\\\\F04D\"}.fa-forward:before{content:\"\\\\F04E\"}.fa-fast-forward:before{content:\"\\\\F050\"}.fa-step-forward:before{content:\"\\\\F051\"}.fa-eject:before{content:\"\\\\F052\"}.fa-chevron-left:before{content:\"\\\\F053\"}.fa-chevron-right:before{content:\"\\\\F054\"}.fa-plus-circle:before{content:\"\\\\F055\"}.fa-minus-circle:before{content:\"\\\\F056\"}.fa-times-circle:before{content:\"\\\\F057\"}.fa-check-circle:before{content:\"\\\\F058\"}.fa-question-circle:before{content:\"\\\\F059\"}.fa-info-circle:before{content:\"\\\\F05A\"}.fa-crosshairs:before{content:\"\\\\F05B\"}.fa-times-circle-o:before{content:\"\\\\F05C\"}.fa-check-circle-o:before{content:\"\\\\F05D\"}.fa-ban:before{content:\"\\\\F05E\"}.fa-arrow-left:before{content:\"\\\\F060\"}.fa-arrow-right:before{content:\"\\\\F061\"}.fa-arrow-up:before{content:\"\\\\F062\"}.fa-arrow-down:before{content:\"\\\\F063\"}.fa-mail-forward:before,.fa-share:before{content:\"\\\\F064\"}.fa-expand:before{content:\"\\\\F065\"}.fa-compress:before{content:\"\\\\F066\"}.fa-plus:before{content:\"\\\\F067\"}.fa-minus:before{content:\"\\\\F068\"}.fa-asterisk:before{content:\"\\\\F069\"}.fa-exclamation-circle:before{content:\"\\\\F06A\"}.fa-gift:before{content:\"\\\\F06B\"}.fa-leaf:before{content:\"\\\\F06C\"}.fa-fire:before{content:\"\\\\F06D\"}.fa-eye:before{content:\"\\\\F06E\"}.fa-eye-slash:before{content:\"\\\\F070\"}.fa-exclamation-triangle:before,.fa-warning:before{content:\"\\\\F071\"}.fa-plane:before{content:\"\\\\F072\"}.fa-calendar:before{content:\"\\\\F073\"}.fa-random:before{content:\"\\\\F074\"}.fa-comment:before{content:\"\\\\F075\"}.fa-magnet:before{content:\"\\\\F076\"}.fa-chevron-up:before{content:\"\\\\F077\"}.fa-chevron-down:before{content:\"\\\\F078\"}.fa-retweet:before{content:\"\\\\F079\"}.fa-shopping-cart:before{content:\"\\\\F07A\"}.fa-folder:before{content:\"\\\\F07B\"}.fa-folder-open:before{content:\"\\\\F07C\"}.fa-arrows-v:before{content:\"\\\\F07D\"}.fa-arrows-h:before{content:\"\\\\F07E\"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:\"\\\\F080\"}.fa-twitter-square:before{content:\"\\\\F081\"}.fa-facebook-square:before{content:\"\\\\F082\"}.fa-camera-retro:before{content:\"\\\\F083\"}.fa-key:before{content:\"\\\\F084\"}.fa-cogs:before,.fa-gears:before{content:\"\\\\F085\"}.fa-comments:before{content:\"\\\\F086\"}.fa-thumbs-o-up:before{content:\"\\\\F087\"}.fa-thumbs-o-down:before{content:\"\\\\F088\"}.fa-star-half:before{content:\"\\\\F089\"}.fa-heart-o:before{content:\"\\\\F08A\"}.fa-sign-out:before{content:\"\\\\F08B\"}.fa-linkedin-square:before{content:\"\\\\F08C\"}.fa-thumb-tack:before{content:\"\\\\F08D\"}.fa-external-link:before{content:\"\\\\F08E\"}.fa-sign-in:before{content:\"\\\\F090\"}.fa-trophy:before{content:\"\\\\F091\"}.fa-github-square:before{content:\"\\\\F092\"}.fa-upload:before{content:\"\\\\F093\"}.fa-lemon-o:before{content:\"\\\\F094\"}.fa-phone:before{content:\"\\\\F095\"}.fa-square-o:before{content:\"\\\\F096\"}.fa-bookmark-o:before{content:\"\\\\F097\"}.fa-phone-square:before{content:\"\\\\F098\"}.fa-twitter:before{content:\"\\\\F099\"}.fa-facebook-f:before,.fa-facebook:before{content:\"\\\\F09A\"}.fa-github:before{content:\"\\\\F09B\"}.fa-unlock:before{content:\"\\\\F09C\"}.fa-credit-card:before{content:\"\\\\F09D\"}.fa-feed:before,.fa-rss:before{content:\"\\\\F09E\"}.fa-hdd-o:before{content:\"\\\\F0A0\"}.fa-bullhorn:before{content:\"\\\\F0A1\"}.fa-bell:before{content:\"\\\\F0F3\"}.fa-certificate:before{content:\"\\\\F0A3\"}.fa-hand-o-right:before{content:\"\\\\F0A4\"}.fa-hand-o-left:before{content:\"\\\\F0A5\"}.fa-hand-o-up:before{content:\"\\\\F0A6\"}.fa-hand-o-down:before{content:\"\\\\F0A7\"}.fa-arrow-circle-left:before{content:\"\\\\F0A8\"}.fa-arrow-circle-right:before{content:\"\\\\F0A9\"}.fa-arrow-circle-up:before{content:\"\\\\F0AA\"}.fa-arrow-circle-down:before{content:\"\\\\F0AB\"}.fa-globe:before{content:\"\\\\F0AC\"}.fa-wrench:before{content:\"\\\\F0AD\"}.fa-tasks:before{content:\"\\\\F0AE\"}.fa-filter:before{content:\"\\\\F0B0\"}.fa-briefcase:before{content:\"\\\\F0B1\"}.fa-arrows-alt:before{content:\"\\\\F0B2\"}.fa-group:before,.fa-users:before{content:\"\\\\F0C0\"}.fa-chain:before,.fa-link:before{content:\"\\\\F0C1\"}.fa-cloud:before{content:\"\\\\F0C2\"}.fa-flask:before{content:\"\\\\F0C3\"}.fa-cut:before,.fa-scissors:before{content:\"\\\\F0C4\"}.fa-copy:before,.fa-files-o:before{content:\"\\\\F0C5\"}.fa-paperclip:before{content:\"\\\\F0C6\"}.fa-floppy-o:before,.fa-save:before{content:\"\\\\F0C7\"}.fa-square:before{content:\"\\\\F0C8\"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:\"\\\\F0C9\"}.fa-list-ul:before{content:\"\\\\F0CA\"}.fa-list-ol:before{content:\"\\\\F0CB\"}.fa-strikethrough:before{content:\"\\\\F0CC\"}.fa-underline:before{content:\"\\\\F0CD\"}.fa-table:before{content:\"\\\\F0CE\"}.fa-magic:before{content:\"\\\\F0D0\"}.fa-truck:before{content:\"\\\\F0D1\"}.fa-pinterest:before{content:\"\\\\F0D2\"}.fa-pinterest-square:before{content:\"\\\\F0D3\"}.fa-google-plus-square:before{content:\"\\\\F0D4\"}.fa-google-plus:before{content:\"\\\\F0D5\"}.fa-money:before{content:\"\\\\F0D6\"}.fa-caret-down:before{content:\"\\\\F0D7\"}.fa-caret-up:before{content:\"\\\\F0D8\"}.fa-caret-left:before{content:\"\\\\F0D9\"}.fa-caret-right:before{content:\"\\\\F0DA\"}.fa-columns:before{content:\"\\\\F0DB\"}.fa-sort:before,.fa-unsorted:before{content:\"\\\\F0DC\"}.fa-sort-desc:before,.fa-sort-down:before{content:\"\\\\F0DD\"}.fa-sort-asc:before,.fa-sort-up:before{content:\"\\\\F0DE\"}.fa-envelope:before{content:\"\\\\F0E0\"}.fa-linkedin:before{content:\"\\\\F0E1\"}.fa-rotate-left:before,.fa-undo:before{content:\"\\\\F0E2\"}.fa-gavel:before,.fa-legal:before{content:\"\\\\F0E3\"}.fa-dashboard:before,.fa-tachometer:before{content:\"\\\\F0E4\"}.fa-comment-o:before{content:\"\\\\F0E5\"}.fa-comments-o:before{content:\"\\\\F0E6\"}.fa-bolt:before,.fa-flash:before{content:\"\\\\F0E7\"}.fa-sitemap:before{content:\"\\\\F0E8\"}.fa-umbrella:before{content:\"\\\\F0E9\"}.fa-clipboard:before,.fa-paste:before{content:\"\\\\F0EA\"}.fa-lightbulb-o:before{content:\"\\\\F0EB\"}.fa-exchange:before{content:\"\\\\F0EC\"}.fa-cloud-download:before{content:\"\\\\F0ED\"}.fa-cloud-upload:before{content:\"\\\\F0EE\"}.fa-user-md:before{content:\"\\\\F0F0\"}.fa-stethoscope:before{content:\"\\\\F0F1\"}.fa-suitcase:before{content:\"\\\\F0F2\"}.fa-bell-o:before{content:\"\\\\F0A2\"}.fa-coffee:before{content:\"\\\\F0F4\"}.fa-cutlery:before{content:\"\\\\F0F5\"}.fa-file-text-o:before{content:\"\\\\F0F6\"}.fa-building-o:before{content:\"\\\\F0F7\"}.fa-hospital-o:before{content:\"\\\\F0F8\"}.fa-ambulance:before{content:\"\\\\F0F9\"}.fa-medkit:before{content:\"\\\\F0FA\"}.fa-fighter-jet:before{content:\"\\\\F0FB\"}.fa-beer:before{content:\"\\\\F0FC\"}.fa-h-square:before{content:\"\\\\F0FD\"}.fa-plus-square:before{content:\"\\\\F0FE\"}.fa-angle-double-left:before{content:\"\\\\F100\"}.fa-angle-double-right:before{content:\"\\\\F101\"}.fa-angle-double-up:before{content:\"\\\\F102\"}.fa-angle-double-down:before{content:\"\\\\F103\"}.fa-angle-left:before{content:\"\\\\F104\"}.fa-angle-right:before{content:\"\\\\F105\"}.fa-angle-up:before{content:\"\\\\F106\"}.fa-angle-down:before{content:\"\\\\F107\"}.fa-desktop:before{content:\"\\\\F108\"}.fa-laptop:before{content:\"\\\\F109\"}.fa-tablet:before{content:\"\\\\F10A\"}.fa-mobile-phone:before,.fa-mobile:before{content:\"\\\\F10B\"}.fa-circle-o:before{content:\"\\\\F10C\"}.fa-quote-left:before{content:\"\\\\F10D\"}.fa-quote-right:before{content:\"\\\\F10E\"}.fa-spinner:before{content:\"\\\\F110\"}.fa-circle:before{content:\"\\\\F111\"}.fa-mail-reply:before,.fa-reply:before{content:\"\\\\F112\"}.fa-github-alt:before{content:\"\\\\F113\"}.fa-folder-o:before{content:\"\\\\F114\"}.fa-folder-open-o:before{content:\"\\\\F115\"}.fa-smile-o:before{content:\"\\\\F118\"}.fa-frown-o:before{content:\"\\\\F119\"}.fa-meh-o:before{content:\"\\\\F11A\"}.fa-gamepad:before{content:\"\\\\F11B\"}.fa-keyboard-o:before{content:\"\\\\F11C\"}.fa-flag-o:before{content:\"\\\\F11D\"}.fa-flag-checkered:before{content:\"\\\\F11E\"}.fa-terminal:before{content:\"\\\\F120\"}.fa-code:before{content:\"\\\\F121\"}.fa-mail-reply-all:before,.fa-reply-all:before{content:\"\\\\F122\"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:\"\\\\F123\"}.fa-location-arrow:before{content:\"\\\\F124\"}.fa-crop:before{content:\"\\\\F125\"}.fa-code-fork:before{content:\"\\\\F126\"}.fa-chain-broken:before,.fa-unlink:before{content:\"\\\\F127\"}.fa-question:before{content:\"\\\\F128\"}.fa-info:before{content:\"\\\\F129\"}.fa-exclamation:before{content:\"\\\\F12A\"}.fa-superscript:before{content:\"\\\\F12B\"}.fa-subscript:before{content:\"\\\\F12C\"}.fa-eraser:before{content:\"\\\\F12D\"}.fa-puzzle-piece:before{content:\"\\\\F12E\"}.fa-microphone:before{content:\"\\\\F130\"}.fa-microphone-slash:before{content:\"\\\\F131\"}.fa-shield:before{content:\"\\\\F132\"}.fa-calendar-o:before{content:\"\\\\F133\"}.fa-fire-extinguisher:before{content:\"\\\\F134\"}.fa-rocket:before{content:\"\\\\F135\"}.fa-maxcdn:before{content:\"\\\\F136\"}.fa-chevron-circle-left:before{content:\"\\\\F137\"}.fa-chevron-circle-right:before{content:\"\\\\F138\"}.fa-chevron-circle-up:before{content:\"\\\\F139\"}.fa-chevron-circle-down:before{content:\"\\\\F13A\"}.fa-html5:before{content:\"\\\\F13B\"}.fa-css3:before{content:\"\\\\F13C\"}.fa-anchor:before{content:\"\\\\F13D\"}.fa-unlock-alt:before{content:\"\\\\F13E\"}.fa-bullseye:before{content:\"\\\\F140\"}.fa-ellipsis-h:before{content:\"\\\\F141\"}.fa-ellipsis-v:before{content:\"\\\\F142\"}.fa-rss-square:before{content:\"\\\\F143\"}.fa-play-circle:before{content:\"\\\\F144\"}.fa-ticket:before{content:\"\\\\F145\"}.fa-minus-square:before{content:\"\\\\F146\"}.fa-minus-square-o:before{content:\"\\\\F147\"}.fa-level-up:before{content:\"\\\\F148\"}.fa-level-down:before{content:\"\\\\F149\"}.fa-check-square:before{content:\"\\\\F14A\"}.fa-pencil-square:before{content:\"\\\\F14B\"}.fa-external-link-square:before{content:\"\\\\F14C\"}.fa-share-square:before{content:\"\\\\F14D\"}.fa-compass:before{content:\"\\\\F14E\"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:\"\\\\F150\"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:\"\\\\F151\"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:\"\\\\F152\"}.fa-eur:before,.fa-euro:before{content:\"\\\\F153\"}.fa-gbp:before{content:\"\\\\F154\"}.fa-dollar:before,.fa-usd:before{content:\"\\\\F155\"}.fa-inr:before,.fa-rupee:before{content:\"\\\\F156\"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:\"\\\\F157\"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:\"\\\\F158\"}.fa-krw:before,.fa-won:before{content:\"\\\\F159\"}.fa-bitcoin:before,.fa-btc:before{content:\"\\\\F15A\"}.fa-file:before{content:\"\\\\F15B\"}.fa-file-text:before{content:\"\\\\F15C\"}.fa-sort-alpha-asc:before{content:\"\\\\F15D\"}.fa-sort-alpha-desc:before{content:\"\\\\F15E\"}.fa-sort-amount-asc:before{content:\"\\\\F160\"}.fa-sort-amount-desc:before{content:\"\\\\F161\"}.fa-sort-numeric-asc:before{content:\"\\\\F162\"}.fa-sort-numeric-desc:before{content:\"\\\\F163\"}.fa-thumbs-up:before{content:\"\\\\F164\"}.fa-thumbs-down:before{content:\"\\\\F165\"}.fa-youtube-square:before{content:\"\\\\F166\"}.fa-youtube:before{content:\"\\\\F167\"}.fa-xing:before{content:\"\\\\F168\"}.fa-xing-square:before{content:\"\\\\F169\"}.fa-youtube-play:before{content:\"\\\\F16A\"}.fa-dropbox:before{content:\"\\\\F16B\"}.fa-stack-overflow:before{content:\"\\\\F16C\"}.fa-instagram:before{content:\"\\\\F16D\"}.fa-flickr:before{content:\"\\\\F16E\"}.fa-adn:before{content:\"\\\\F170\"}.fa-bitbucket:before{content:\"\\\\F171\"}.fa-bitbucket-square:before{content:\"\\\\F172\"}.fa-tumblr:before{content:\"\\\\F173\"}.fa-tumblr-square:before{content:\"\\\\F174\"}.fa-long-arrow-down:before{content:\"\\\\F175\"}.fa-long-arrow-up:before{content:\"\\\\F176\"}.fa-long-arrow-left:before{content:\"\\\\F177\"}.fa-long-arrow-right:before{content:\"\\\\F178\"}.fa-apple:before{content:\"\\\\F179\"}.fa-windows:before{content:\"\\\\F17A\"}.fa-android:before{content:\"\\\\F17B\"}.fa-linux:before{content:\"\\\\F17C\"}.fa-dribbble:before{content:\"\\\\F17D\"}.fa-skype:before{content:\"\\\\F17E\"}.fa-foursquare:before{content:\"\\\\F180\"}.fa-trello:before{content:\"\\\\F181\"}.fa-female:before{content:\"\\\\F182\"}.fa-male:before{content:\"\\\\F183\"}.fa-gittip:before,.fa-gratipay:before{content:\"\\\\F184\"}.fa-sun-o:before{content:\"\\\\F185\"}.fa-moon-o:before{content:\"\\\\F186\"}.fa-archive:before{content:\"\\\\F187\"}.fa-bug:before{content:\"\\\\F188\"}.fa-vk:before{content:\"\\\\F189\"}.fa-weibo:before{content:\"\\\\F18A\"}.fa-renren:before{content:\"\\\\F18B\"}.fa-pagelines:before{content:\"\\\\F18C\"}.fa-stack-exchange:before{content:\"\\\\F18D\"}.fa-arrow-circle-o-right:before{content:\"\\\\F18E\"}.fa-arrow-circle-o-left:before{content:\"\\\\F190\"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:\"\\\\F191\"}.fa-dot-circle-o:before{content:\"\\\\F192\"}.fa-wheelchair:before{content:\"\\\\F193\"}.fa-vimeo-square:before{content:\"\\\\F194\"}.fa-try:before,.fa-turkish-lira:before{content:\"\\\\F195\"}.fa-plus-square-o:before{content:\"\\\\F196\"}.fa-space-shuttle:before{content:\"\\\\F197\"}.fa-slack:before{content:\"\\\\F198\"}.fa-envelope-square:before{content:\"\\\\F199\"}.fa-wordpress:before{content:\"\\\\F19A\"}.fa-openid:before{content:\"\\\\F19B\"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:\"\\\\F19C\"}.fa-graduation-cap:before,.fa-mortar-board:before{content:\"\\\\F19D\"}.fa-yahoo:before{content:\"\\\\F19E\"}.fa-google:before{content:\"\\\\F1A0\"}.fa-reddit:before{content:\"\\\\F1A1\"}.fa-reddit-square:before{content:\"\\\\F1A2\"}.fa-stumbleupon-circle:before{content:\"\\\\F1A3\"}.fa-stumbleupon:before{content:\"\\\\F1A4\"}.fa-delicious:before{content:\"\\\\F1A5\"}.fa-digg:before{content:\"\\\\F1A6\"}.fa-pied-piper-pp:before{content:\"\\\\F1A7\"}.fa-pied-piper-alt:before{content:\"\\\\F1A8\"}.fa-drupal:before{content:\"\\\\F1A9\"}.fa-joomla:before{content:\"\\\\F1AA\"}.fa-language:before{content:\"\\\\F1AB\"}.fa-fax:before{content:\"\\\\F1AC\"}.fa-building:before{content:\"\\\\F1AD\"}.fa-child:before{content:\"\\\\F1AE\"}.fa-paw:before{content:\"\\\\F1B0\"}.fa-spoon:before{content:\"\\\\F1B1\"}.fa-cube:before{content:\"\\\\F1B2\"}.fa-cubes:before{content:\"\\\\F1B3\"}.fa-behance:before{content:\"\\\\F1B4\"}.fa-behance-square:before{content:\"\\\\F1B5\"}.fa-steam:before{content:\"\\\\F1B6\"}.fa-steam-square:before{content:\"\\\\F1B7\"}.fa-recycle:before{content:\"\\\\F1B8\"}.fa-automobile:before,.fa-car:before{content:\"\\\\F1B9\"}.fa-cab:before,.fa-taxi:before{content:\"\\\\F1BA\"}.fa-tree:before{content:\"\\\\F1BB\"}.fa-spotify:before{content:\"\\\\F1BC\"}.fa-deviantart:before{content:\"\\\\F1BD\"}.fa-soundcloud:before{content:\"\\\\F1BE\"}.fa-database:before{content:\"\\\\F1C0\"}.fa-file-pdf-o:before{content:\"\\\\F1C1\"}.fa-file-word-o:before{content:\"\\\\F1C2\"}.fa-file-excel-o:before{content:\"\\\\F1C3\"}.fa-file-powerpoint-o:before{content:\"\\\\F1C4\"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:\"\\\\F1C5\"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:\"\\\\F1C6\"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:\"\\\\F1C7\"}.fa-file-movie-o:before,.fa-file-video-o:before{content:\"\\\\F1C8\"}.fa-file-code-o:before{content:\"\\\\F1C9\"}.fa-vine:before{content:\"\\\\F1CA\"}.fa-codepen:before{content:\"\\\\F1CB\"}.fa-jsfiddle:before{content:\"\\\\F1CC\"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:\"\\\\F1CD\"}.fa-circle-o-notch:before{content:\"\\\\F1CE\"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:\"\\\\F1D0\"}.fa-empire:before,.fa-ge:before{content:\"\\\\F1D1\"}.fa-git-square:before{content:\"\\\\F1D2\"}.fa-git:before{content:\"\\\\F1D3\"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:\"\\\\F1D4\"}.fa-tencent-weibo:before{content:\"\\\\F1D5\"}.fa-qq:before{content:\"\\\\F1D6\"}.fa-wechat:before,.fa-weixin:before{content:\"\\\\F1D7\"}.fa-paper-plane:before,.fa-send:before{content:\"\\\\F1D8\"}.fa-paper-plane-o:before,.fa-send-o:before{content:\"\\\\F1D9\"}.fa-history:before{content:\"\\\\F1DA\"}.fa-circle-thin:before{content:\"\\\\F1DB\"}.fa-header:before{content:\"\\\\F1DC\"}.fa-paragraph:before{content:\"\\\\F1DD\"}.fa-sliders:before{content:\"\\\\F1DE\"}.fa-share-alt:before{content:\"\\\\F1E0\"}.fa-share-alt-square:before{content:\"\\\\F1E1\"}.fa-bomb:before{content:\"\\\\F1E2\"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:\"\\\\F1E3\"}.fa-tty:before{content:\"\\\\F1E4\"}.fa-binoculars:before{content:\"\\\\F1E5\"}.fa-plug:before{content:\"\\\\F1E6\"}.fa-slideshare:before{content:\"\\\\F1E7\"}.fa-twitch:before{content:\"\\\\F1E8\"}.fa-yelp:before{content:\"\\\\F1E9\"}.fa-newspaper-o:before{content:\"\\\\F1EA\"}.fa-wifi:before{content:\"\\\\F1EB\"}.fa-calculator:before{content:\"\\\\F1EC\"}.fa-paypal:before{content:\"\\\\F1ED\"}.fa-google-wallet:before{content:\"\\\\F1EE\"}.fa-cc-visa:before{content:\"\\\\F1F0\"}.fa-cc-mastercard:before{content:\"\\\\F1F1\"}.fa-cc-discover:before{content:\"\\\\F1F2\"}.fa-cc-amex:before{content:\"\\\\F1F3\"}.fa-cc-paypal:before{content:\"\\\\F1F4\"}.fa-cc-stripe:before{content:\"\\\\F1F5\"}.fa-bell-slash:before{content:\"\\\\F1F6\"}.fa-bell-slash-o:before{content:\"\\\\F1F7\"}.fa-trash:before{content:\"\\\\F1F8\"}.fa-copyright:before{content:\"\\\\F1F9\"}.fa-at:before{content:\"\\\\F1FA\"}.fa-eyedropper:before{content:\"\\\\F1FB\"}.fa-paint-brush:before{content:\"\\\\F1FC\"}.fa-birthday-cake:before{content:\"\\\\F1FD\"}.fa-area-chart:before{content:\"\\\\F1FE\"}.fa-pie-chart:before{content:\"\\\\F200\"}.fa-line-chart:before{content:\"\\\\F201\"}.fa-lastfm:before{content:\"\\\\F202\"}.fa-lastfm-square:before{content:\"\\\\F203\"}.fa-toggle-off:before{content:\"\\\\F204\"}.fa-toggle-on:before{content:\"\\\\F205\"}.fa-bicycle:before{content:\"\\\\F206\"}.fa-bus:before{content:\"\\\\F207\"}.fa-ioxhost:before{content:\"\\\\F208\"}.fa-angellist:before{content:\"\\\\F209\"}.fa-cc:before{content:\"\\\\F20A\"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:\"\\\\F20B\"}.fa-meanpath:before{content:\"\\\\F20C\"}.fa-buysellads:before{content:\"\\\\F20D\"}.fa-connectdevelop:before{content:\"\\\\F20E\"}.fa-dashcube:before{content:\"\\\\F210\"}.fa-forumbee:before{content:\"\\\\F211\"}.fa-leanpub:before{content:\"\\\\F212\"}.fa-sellsy:before{content:\"\\\\F213\"}.fa-shirtsinbulk:before{content:\"\\\\F214\"}.fa-simplybuilt:before{content:\"\\\\F215\"}.fa-skyatlas:before{content:\"\\\\F216\"}.fa-cart-plus:before{content:\"\\\\F217\"}.fa-cart-arrow-down:before{content:\"\\\\F218\"}.fa-diamond:before{content:\"\\\\F219\"}.fa-ship:before{content:\"\\\\F21A\"}.fa-user-secret:before{content:\"\\\\F21B\"}.fa-motorcycle:before{content:\"\\\\F21C\"}.fa-street-view:before{content:\"\\\\F21D\"}.fa-heartbeat:before{content:\"\\\\F21E\"}.fa-venus:before{content:\"\\\\F221\"}.fa-mars:before{content:\"\\\\F222\"}.fa-mercury:before{content:\"\\\\F223\"}.fa-intersex:before,.fa-transgender:before{content:\"\\\\F224\"}.fa-transgender-alt:before{content:\"\\\\F225\"}.fa-venus-double:before{content:\"\\\\F226\"}.fa-mars-double:before{content:\"\\\\F227\"}.fa-venus-mars:before{content:\"\\\\F228\"}.fa-mars-stroke:before{content:\"\\\\F229\"}.fa-mars-stroke-v:before{content:\"\\\\F22A\"}.fa-mars-stroke-h:before{content:\"\\\\F22B\"}.fa-neuter:before{content:\"\\\\F22C\"}.fa-genderless:before{content:\"\\\\F22D\"}.fa-facebook-official:before{content:\"\\\\F230\"}.fa-pinterest-p:before{content:\"\\\\F231\"}.fa-whatsapp:before{content:\"\\\\F232\"}.fa-server:before{content:\"\\\\F233\"}.fa-user-plus:before{content:\"\\\\F234\"}.fa-user-times:before{content:\"\\\\F235\"}.fa-bed:before,.fa-hotel:before{content:\"\\\\F236\"}.fa-viacoin:before{content:\"\\\\F237\"}.fa-train:before{content:\"\\\\F238\"}.fa-subway:before{content:\"\\\\F239\"}.fa-medium:before{content:\"\\\\F23A\"}.fa-y-combinator:before,.fa-yc:before{content:\"\\\\F23B\"}.fa-optin-monster:before{content:\"\\\\F23C\"}.fa-opencart:before{content:\"\\\\F23D\"}.fa-expeditedssl:before{content:\"\\\\F23E\"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:\"\\\\F240\"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:\"\\\\F241\"}.fa-battery-2:before,.fa-battery-half:before{content:\"\\\\F242\"}.fa-battery-1:before,.fa-battery-quarter:before{content:\"\\\\F243\"}.fa-battery-0:before,.fa-battery-empty:before{content:\"\\\\F244\"}.fa-mouse-pointer:before{content:\"\\\\F245\"}.fa-i-cursor:before{content:\"\\\\F246\"}.fa-object-group:before{content:\"\\\\F247\"}.fa-object-ungroup:before{content:\"\\\\F248\"}.fa-sticky-note:before{content:\"\\\\F249\"}.fa-sticky-note-o:before{content:\"\\\\F24A\"}.fa-cc-jcb:before{content:\"\\\\F24B\"}.fa-cc-diners-club:before{content:\"\\\\F24C\"}.fa-clone:before{content:\"\\\\F24D\"}.fa-balance-scale:before{content:\"\\\\F24E\"}.fa-hourglass-o:before{content:\"\\\\F250\"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:\"\\\\F251\"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:\"\\\\F252\"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:\"\\\\F253\"}.fa-hourglass:before{content:\"\\\\F254\"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:\"\\\\F255\"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:\"\\\\F256\"}.fa-hand-scissors-o:before{content:\"\\\\F257\"}.fa-hand-lizard-o:before{content:\"\\\\F258\"}.fa-hand-spock-o:before{content:\"\\\\F259\"}.fa-hand-pointer-o:before{content:\"\\\\F25A\"}.fa-hand-peace-o:before{content:\"\\\\F25B\"}.fa-trademark:before{content:\"\\\\F25C\"}.fa-registered:before{content:\"\\\\F25D\"}.fa-creative-commons:before{content:\"\\\\F25E\"}.fa-gg:before{content:\"\\\\F260\"}.fa-gg-circle:before{content:\"\\\\F261\"}.fa-tripadvisor:before{content:\"\\\\F262\"}.fa-odnoklassniki:before{content:\"\\\\F263\"}.fa-odnoklassniki-square:before{content:\"\\\\F264\"}.fa-get-pocket:before{content:\"\\\\F265\"}.fa-wikipedia-w:before{content:\"\\\\F266\"}.fa-safari:before{content:\"\\\\F267\"}.fa-chrome:before{content:\"\\\\F268\"}.fa-firefox:before{content:\"\\\\F269\"}.fa-opera:before{content:\"\\\\F26A\"}.fa-internet-explorer:before{content:\"\\\\F26B\"}.fa-television:before,.fa-tv:before{content:\"\\\\F26C\"}.fa-contao:before{content:\"\\\\F26D\"}.fa-500px:before{content:\"\\\\F26E\"}.fa-amazon:before{content:\"\\\\F270\"}.fa-calendar-plus-o:before{content:\"\\\\F271\"}.fa-calendar-minus-o:before{content:\"\\\\F272\"}.fa-calendar-times-o:before{content:\"\\\\F273\"}.fa-calendar-check-o:before{content:\"\\\\F274\"}.fa-industry:before{content:\"\\\\F275\"}.fa-map-pin:before{content:\"\\\\F276\"}.fa-map-signs:before{content:\"\\\\F277\"}.fa-map-o:before{content:\"\\\\F278\"}.fa-map:before{content:\"\\\\F279\"}.fa-commenting:before{content:\"\\\\F27A\"}.fa-commenting-o:before{content:\"\\\\F27B\"}.fa-houzz:before{content:\"\\\\F27C\"}.fa-vimeo:before{content:\"\\\\F27D\"}.fa-black-tie:before{content:\"\\\\F27E\"}.fa-fonticons:before{content:\"\\\\F280\"}.fa-reddit-alien:before{content:\"\\\\F281\"}.fa-edge:before{content:\"\\\\F282\"}.fa-credit-card-alt:before{content:\"\\\\F283\"}.fa-codiepie:before{content:\"\\\\F284\"}.fa-modx:before{content:\"\\\\F285\"}.fa-fort-awesome:before{content:\"\\\\F286\"}.fa-usb:before{content:\"\\\\F287\"}.fa-product-hunt:before{content:\"\\\\F288\"}.fa-mixcloud:before{content:\"\\\\F289\"}.fa-scribd:before{content:\"\\\\F28A\"}.fa-pause-circle:before{content:\"\\\\F28B\"}.fa-pause-circle-o:before{content:\"\\\\F28C\"}.fa-stop-circle:before{content:\"\\\\F28D\"}.fa-stop-circle-o:before{content:\"\\\\F28E\"}.fa-shopping-bag:before{content:\"\\\\F290\"}.fa-shopping-basket:before{content:\"\\\\F291\"}.fa-hashtag:before{content:\"\\\\F292\"}.fa-bluetooth:before{content:\"\\\\F293\"}.fa-bluetooth-b:before{content:\"\\\\F294\"}.fa-percent:before{content:\"\\\\F295\"}.fa-gitlab:before{content:\"\\\\F296\"}.fa-wpbeginner:before{content:\"\\\\F297\"}.fa-wpforms:before{content:\"\\\\F298\"}.fa-envira:before{content:\"\\\\F299\"}.fa-universal-access:before{content:\"\\\\F29A\"}.fa-wheelchair-alt:before{content:\"\\\\F29B\"}.fa-question-circle-o:before{content:\"\\\\F29C\"}.fa-blind:before{content:\"\\\\F29D\"}.fa-audio-description:before{content:\"\\\\F29E\"}.fa-volume-control-phone:before{content:\"\\\\F2A0\"}.fa-braille:before{content:\"\\\\F2A1\"}.fa-assistive-listening-systems:before{content:\"\\\\F2A2\"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:\"\\\\F2A3\"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:\"\\\\F2A4\"}.fa-glide:before{content:\"\\\\F2A5\"}.fa-glide-g:before{content:\"\\\\F2A6\"}.fa-sign-language:before,.fa-signing:before{content:\"\\\\F2A7\"}.fa-low-vision:before{content:\"\\\\F2A8\"}.fa-viadeo:before{content:\"\\\\F2A9\"}.fa-viadeo-square:before{content:\"\\\\F2AA\"}.fa-snapchat:before{content:\"\\\\F2AB\"}.fa-snapchat-ghost:before{content:\"\\\\F2AC\"}.fa-snapchat-square:before{content:\"\\\\F2AD\"}.fa-pied-piper:before{content:\"\\\\F2AE\"}.fa-first-order:before{content:\"\\\\F2B0\"}.fa-yoast:before{content:\"\\\\F2B1\"}.fa-themeisle:before{content:\"\\\\F2B2\"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:\"\\\\F2B3\"}.fa-fa:before,.fa-font-awesome:before{content:\"\\\\F2B4\"}.fa-handshake-o:before{content:\"\\\\F2B5\"}.fa-envelope-open:before{content:\"\\\\F2B6\"}.fa-envelope-open-o:before{content:\"\\\\F2B7\"}.fa-linode:before{content:\"\\\\F2B8\"}.fa-address-book:before{content:\"\\\\F2B9\"}.fa-address-book-o:before{content:\"\\\\F2BA\"}.fa-address-card:before,.fa-vcard:before{content:\"\\\\F2BB\"}.fa-address-card-o:before,.fa-vcard-o:before{content:\"\\\\F2BC\"}.fa-user-circle:before{content:\"\\\\F2BD\"}.fa-user-circle-o:before{content:\"\\\\F2BE\"}.fa-user-o:before{content:\"\\\\F2C0\"}.fa-id-badge:before{content:\"\\\\F2C1\"}.fa-drivers-license:before,.fa-id-card:before{content:\"\\\\F2C2\"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:\"\\\\F2C3\"}.fa-quora:before{content:\"\\\\F2C4\"}.fa-free-code-camp:before{content:\"\\\\F2C5\"}.fa-telegram:before{content:\"\\\\F2C6\"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:\"\\\\F2C7\"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:\"\\\\F2C8\"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:\"\\\\F2C9\"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:\"\\\\F2CA\"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:\"\\\\F2CB\"}.fa-shower:before{content:\"\\\\F2CC\"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:\"\\\\F2CD\"}.fa-podcast:before{content:\"\\\\F2CE\"}.fa-window-maximize:before{content:\"\\\\F2D0\"}.fa-window-minimize:before{content:\"\\\\F2D1\"}.fa-window-restore:before{content:\"\\\\F2D2\"}.fa-times-rectangle:before,.fa-window-close:before{content:\"\\\\F2D3\"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:\"\\\\F2D4\"}.fa-bandcamp:before{content:\"\\\\F2D5\"}.fa-grav:before{content:\"\\\\F2D6\"}.fa-etsy:before{content:\"\\\\F2D7\"}.fa-imdb:before{content:\"\\\\F2D8\"}.fa-ravelry:before{content:\"\\\\F2D9\"}.fa-eercast:before{content:\"\\\\F2DA\"}.fa-microchip:before{content:\"\\\\F2DB\"}.fa-snowflake-o:before{content:\"\\\\F2DC\"}.fa-superpowers:before{content:\"\\\\F2DD\"}.fa-wpexplorer:before{content:\"\\\\F2DE\"}.fa-meetup:before{content:\"\\\\F2E0\"}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}@font-face{font-family:FontAwesome;src:url('+n(281)+\");src:url(\"+n(282)+'?#iefix&v=4.7.0) format(\"embedded-opentype\"),url('+n(283)+') format(\"woff2\"),url('+n(284)+') format(\"woff\"),url('+n(285)+') format(\"truetype\"),url('+n(286)+'#fontawesomeregular) format(\"svg\");font-weight:400;font-style:normal}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}',\"\"]);\n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(317);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,'.ng-cloak,.x-ng-cloak,[data-ng-cloak],[ng-cloak],[x-ng-cloak]{display:none!important}body,html{min-height:100%}body{margin:0;padding:0 0 35px;background:#ccc}@media (max-width:1199px){body{padding-top:50px}body.state-kirjautuminen{padding-top:0}}a,div,form,header{box-sizing:border-box}a{outline:none!important}header{position:relative}@media (max-width:767px){header{position:fixed;z-index:2;top:0;left:0;width:100%;min-height:0}}header .logo{max-height:110px;border:7px solid #fff;margin:15px 0 20px}.maincontainer{position:relative;max-width:1200px;width:100%;margin:0 auto;padding:2%;background:#fff;box-shadow:0 0 5px #000;z-index:1;border-top:8px solid #a6c745}@media print{.maincontainer{max-width:none!important;width:auto!important}}.kohdevalinta{margin-bottom:20px;margin-top:20px}label{margin-top:10px}@media (max-width:767px){label{margin-top:7px}}.radio{margin-top:0}.radio label{margin-right:20px;margin-top:0}.tallenna{margin-top:20px}.alueorganisaatio label{width:100%;display:block;cursor:pointer;padding:0;margin:0;transition:background .2s}.alueorganisaatio label:hover{background:#eee}.alueorganisaatio .kohdevalinta label input{display:inline-block;float:right}.alueorganisaatio .kohdevalinta .kohde{padding:10px 20px 10px 10px;border-bottom:1px solid #ccc}.naytaTop{float:right}.topborder{padding:10px;border-bottom:1px solid #ccc}.intkaytto input{display:inline-block}.active,.nav.nav-tabs li{cursor:pointer}.cgMarginH{margin:10px 0}.cgNavLumo{margin:40px 0;padding:5px 0}@media (max-width:767px){.cgNavLumo{margin:0}}.cgPntrCursor{cursor:pointer}table>tbody>tr.data-row-Table.data-row-level-1.data-row-last-of-group>td{padding-bottom:3.5rem}table .row-aggregate-table.header-row{border-top:2px solid #888;border-bottom:0}table.without-aggregate-title-row>tfoot td{font-weight:700}.search-criteria-bar,.search-criteria-display{clear:left;float:left;width:100%;margin-bottom:3rem}.search-criteria-display{overflow:hidden;font-weight:700}.empty-text{font-weight:700;color:#e40}.select2-container{width:100%}.form-error{color:#b00;min-height:20px;margin-top:1px;margin-bottom:0}.radio-inline{margin-top:0}.radio-container{overflow:hidden}.buttons-wrapper{margin-top:2rem}.align-left{text-align:left}.align-center{text-align:center}.align-right{text-align:right}main{padding-top:35px}@media (max-width:767px){main{padding-top:25px}}#left-menu,.bottom-large.teleport-with-content,.left-extra.teleport-with-content,.maincontainer{box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}html input[type=checkbox]:checked+label span,html input[type=checkbox]:not(:checked)+label:before{border:none}.double-height-labels label{min-height:3rem;display:table;vertical-align:bottom}.double-height-labels input[type=checkbox]+label,.double-height-labels input[type=radio]+label{min-height:0}.panel-group .panel{border-radius:0}.state-lumo-myynnissa label{margin:2px 0 4px;min-height:1em}.bottom-large.teleport-with-content{background:#fff;border-top:8px solid #d95;padding:16px;margin-top:20px}.full-width{width:100%}@media (max-width:767px){h1{font-size:24px}}.primary-colors{background-color:#f6f6f6;color:inherit}.panel-heading,.secondary-colors{background-color:#f4f0f0}.panel{border:1px solid #e4e0e0;border-top:none}.own-reservation .header-row .price,h1,h2,h3,h4,h5,h6{font-weight:200;font-family:Source Sans Pro,sans-serif}body{font-family:Roboto,sans-serif;font-size:14px}.navbar-sm{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:1200px){.navbar-sm{border-radius:4px}}@media (min-width:1200px){.navbar-header,.navbar-header-sm{float:left}}.navbar-collapse-sm{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1)}.navbar-collapse-sm.in{overflow-y:auto}@media (min-width:1200px){.navbar-collapse-sm{width:auto;border-top:0;box-shadow:none}.navbar-collapse-sm.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse-sm.in{overflow-y:visible}.navbar-fixed-bottom-sm .navbar-collapse-sm,.navbar-fixed-bottom .navbar-collapse-sm,.navbar-fixed-top-sm .navbar-collapse-sm,.navbar-fixed-top .navbar-collapse-sm,.navbar-static-top-sm .navbar-collapse-sm,.navbar-static-top .navbar-collapse-sm{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse-sm,.navbar-fixed-top .navbar-collapse-sm{max-height:340px}.container-fluid>.navbar-collapse-sm,.container-fluid>.navbar-header-sm,.container>.navbar-collapse-sm,.container>.navbar-header-sm{margin-right:-15px;margin-left:-15px}@media (min-width:1200px){.container-fluid>.navbar-collapse-sm,.container-fluid>.navbar-header-sm,.container>.navbar-collapse-sm,.container>.navbar-header-sm{margin-right:0;margin-left:0}}.navbar-collapse-sm:after,.navbar-header-sm:after,.navbar-sm:after{clear:both}.navbar-collapse-sm:after,.navbar-collapse-sm:before,.navbar-header-sm:after,.navbar-header-sm:before,.navbar-sm:after,.navbar-sm:before{display:table;content:\" \"}.navbar-toggle-sm{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle-sm:focus{outline:0}.navbar-toggle-sm .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle-sm .icon-bar+.icon-bar{margin-top:4px}@media (min-width:1200px){.navbar-toggle-sm{display:none}}.navbar-default .navbar-toggle-sm{border-color:#ddd}.navbar-default .navbar-toggle-sm:focus,.navbar-default .navbar-toggle-sm:hover{background-color:#ddd}.navbar-default .navbar-toggle-sm .icon-bar{background-color:#888}table.portal-basic-table .dates-and-times{min-width:23ex;text-align:center}table.portal-basic-table tbody tr:nth-child(2n),table.portal-basic-table thead tr{background-color:#d3d3d3}table.portal-basic-table td,table.portal-basic-table th{padding:.2ex 1ex;vertical-align:top}table.portal-basic-table .money,table.portal-basic-table .quantity{text-align:right}table.portal-basic-table th{text-align:center}@media (max-width:767px){body #site-header{width:100%}body #site-header ul#top-menu{margin:0;width:100%;padding:0;height:auto;position:absolute;top:60px;right:0;line-height:48px}}#site-header{background:#282828;height:60px;margin:0;padding:0;box-shadow:0 3px 7px 0 rgba(0,0,0,.3)}#site-header #winres-cloud-logo{height:100%;width:60px;display:inline-block;vertical-align:top;background:transparent url('+n(318)+\") 50% no-repeat}#site-header #winres-cloud-logo.large{background-image:url(\"+n(319)+\");width:120px}#site-header #top-menu{margin:0 0 0 49px;padding:0;list-style-type:none;line-height:60px;display:inline-block;vertical-align:top}#site-header #top-menu li{display:inline-block;line-height:1;vertical-align:middle}#site-header #top-menu a,#site-header #top-menu span{color:#aaa;text-decoration:none;display:inline-block;padding:0 12px}#site-header #top-menu a:hover{color:#fff;cursor:pointer}#site-header #top-menu li.separator{padding:0;height:16px;border-right:1px solid #aaa;opacity:.6}@media (max-width:767px){body.mobile-float-is-present{padding-top:110px}}@media (max-width:767px) and (max-width:300px){.maincontainer{margin-top:32px}}@media (max-width:767px){.mobile-float{margin-top:-96px;position:absolute;left:0;top:60px;z-index:1001;width:100%}.mobile-float .mobile-float-toggle-icon{display:inline-block;vertical-align:middle;margin-left:10px;position:relative;top:-2px}.mobile-float h1{margin-top:0}.mobile-float h2{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;margin:0;padding:0;background-color:#4e7;border-top:1px solid #22de55;border-bottom:1px solid #22de55;color:#fff;height:50px;text-align:center;line-height:50px;font-size:24px}.mobile-float .mobile-float-content{padding:16px;background:#fff;border-bottom:8px solid #dd6}.mobile-float .mobile-float-content.in{overflow-y:auto}.mobile-float .mobile-float-content-closed{display:none}.mobile-float .mobile-float-content-open{display:block}}.drag-and-drop-container{background-color:silver;padding:8px;border-radius:1px}.drag-and-drop-container.full{background-color:#a0a0a0}.drag-and-drop-container.overfull{background-image:repeating-linear-gradient(45deg,red,red 5px,transparent 0,transparent 10px)}.drag-and-drop-container strong{padding:0;display:block;margin:0 0 8px;color:#fff;font-weight:700;font-size:1.1em}.drag-and-drop-container .select2-container{margin-top:6px}ul.drag-and-drop-list{display:block;margin:0;padding:0;background-color:#e0e0e0;box-shadow:inset 2px 2px 10px 0 rgba(0,0,0,.2);min-height:32px}ul.drag-and-drop-list li{padding:5px 10px;margin:0;list-style-type:none;overflow:hidden;display:block;border-top:1px solid #ccc;background-color:#eee;background-image:linear-gradient(180deg,#fff 0,#eee);cursor:move}@media (max-width:1199px){ul.drag-and-drop-list li{line-height:32px}}ul.drag-and-drop-list li:first-child{border-top:none}ul.drag-and-drop-list li .remove-link{font-weight:700;text-decoration:none;line-height:32px;float:right;font-size:24px;color:#444;cursor:pointer}ul.drag-and-drop-list li .remove-link:hover{color:#f44}.drag-and-drop-container.horizontal li{display:inline-block;width:auto;border-right:1px solid #aaa}.drag-and-drop-container.horizontal ul{overflow:hidden}.drag-and-drop-item-disabled{background:#aaa!important;pointer-events:none}.report-header{font-weight:700}.report-header ul{list-style-type:none}.report-header .header-text{margin-top:.5rem;margin-bottom:2rem}.report-header .glyphicon-print{z-index:1;cursor:pointer;position:absolute;right:32px;top:unset}.settlement-day button.btn{background-image:linear-gradient(180deg,#4e4 0,#8f8);background-image:-webkit-gradient(linear,left top,left bottom,from(#4e4),to(#8f8))}.report-table-container table{background:#fff}.report-table-container label{margin:2px 0 4px;min-height:1em}@media print{.report-table-container{width:auto!important;overflow-x:initial!important;overflow-y:initial!important}.report-table-container table{width:auto!important;min-width:100%!important;max-width:none!important}}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:.15rem .5rem;line-height:1.3}.table>tbody>tr.border-above-none>td,.table>tbody>tr.border-above-none>th,.table>thead>tr.border-above-none>td,.table>thead>tr.border-above-none>th{border-top:0 none}.table>tbody>tr.border-above-normal>td,.table>tbody>tr.border-above-normal>th,.table>thead>tr.border-above-normal>td,.table>thead>tr.border-above-normal>th{border-top:1px solid #000}.table>tbody>tr.border-above-thick>td,.table>tbody>tr.border-above-thick>th,.table>thead>tr.border-above-thick>td,.table>thead>tr.border-above-thick>th{border-top:2px solid #000}.table>tbody>tr.border-above-dashed>td,.table>tbody>tr.border-above-dashed>th,.table>thead>tr.border-above-dashed>td,.table>thead>tr.border-above-dashed>th{border-top:1px dashed #000}.table>tbody>tr.border-above-dotted>td,.table>tbody>tr.border-above-dotted>th,.table>thead>tr.border-above-dotted>td,.table>thead>tr.border-above-dotted>th{border-top:1px dotted #000}.table>tbody>tr.border-above-gray>td,.table>tbody>tr.border-above-gray>th,.table>thead>tr.border-above-gray>td,.table>thead>tr.border-above-gray>th{border-top:1px dotted gray}.table>tbody>tr.border-below-none>td,.table>tbody>tr.border-below-none>th,.table>thead>tr.border-below-none>td,.table>thead>tr.border-below-none>th{border-bottom:0 none}.table>tbody>tr.border-below-normal>td,.table>tbody>tr.border-below-normal>th,.table>thead>tr.border-below-normal>td,.table>thead>tr.border-below-normal>th{border-bottom:1px solid #000}.table>tbody>tr.border-below-thick>td,.table>tbody>tr.border-below-thick>th,.table>thead>tr.border-below-thick>td,.table>thead>tr.border-below-thick>th{border-bottom:2px solid #000}.table>tbody>tr.border-below-dashed>td,.table>tbody>tr.border-below-dashed>th,.table>thead>tr.border-below-dashed>td,.table>thead>tr.border-below-dashed>th{border-bottom:1px dashed #000}.table>tbody>tr.border-below-dotted>td,.table>tbody>tr.border-below-dotted>th,.table>thead>tr.border-below-dotted>td,.table>thead>tr.border-below-dotted>th{border-bottom:1px dotted #000}.table>tbody>tr.border-below-gray>td,.table>tbody>tr.border-below-gray>th,.table>thead>tr.border-below-gray>td,.table>thead>tr.border-below-gray>th{border-bottom:1px dotted gray}body{background:#fff url(\"+n(320)+\") 50% no-repeat;background-attachment:fixed;background-size:cover;transition:background 2s linear}body.bg-0{background-image:url(\"+n(320)+\")}body.bg-1{background-image:url(\"+n(321)+\")}body.bg-2{background-image:url(\"+n(322)+\")}body.bg-3{background-image:url(\"+n(323)+\")}body.bg-4{background-image:url(\"+n(324)+\")}body.bg-5{background-image:url(\"+n(325)+\")}body.bg-6{background-image:url(\"+n(326)+\")}body.bg-7{background-image:url(\"+n(327)+\")}body.bg-8{background-image:url(\"+n(328)+\")}#left-menu{border-radius:0;z-index:1049;border:0 none;border-top:8px solid #569ed0}#left-menu .navbar-toggle-sm{margin-right:0}#left-menu .navbar-header-sm{display:block;width:100%;margin:0}#left-menu .navbar-toggle{margin-right:0}#left-menu .navbar-brand{display:block;height:157px;text-align:center;line-height:157px;padding-bottom:0;width:100%;margin-left:0}@media (max-width:1199px){#left-menu .navbar-brand{line-height:40px}}#left-menu .navbar-brand img{display:inline-block;vertical-align:middle;max-width:100%;max-height:95px}@media (max-width:1199px){#left-menu .navbar-brand img{max-height:38px}}#left-menu .navbar-brand.without-logo{background:transparent url(\"+n(329)+\") 50% no-repeat}#left-menu .navbar-nav{float:none}#left-menu .navbar-collapse-sm{padding:0;margin-left:-15px;margin-right:-15px}#left-menu li,#left-menu menu{padding:0;margin:0}#left-menu li{display:block;width:100%;height:40px;border-bottom:1px solid #dedede}#left-menu li.active,#left-menu li:hover{border-bottom:0}#left-menu li a{display:block;width:100%;padding:0 22px;margin:0;height:39px;line-height:39px;color:#37393e;background-color:#fff}#left-menu li.active a,#left-menu li:hover a{font-weight:700;background-color:#4f4f4f;color:#fff}@media (max-width:1199px){#left-menu{position:fixed;top:0;left:0;width:100%;min-height:60px}#left-menu .navbar-brand{height:40px;position:absolute;background-size:contain!important;top:6px;left:50%;width:120px;margin-left:-60px}#left-menu .navbar-nav{margin:0!important}}.left-extra.teleport-with-content{background:#fff;border-top:8px solid #d95;padding:16px}.loading-overlay{position:fixed;top:0;padding:0;margin:0;left:0;width:100%;z-index:1000000;background-color:transparent;transition:opacity .5s;-webkit-transition:opacity .5s;opacity:0;display:block;height:0}.loading-overlay.loading{opacity:1;display:block;background-color:rgba(0,0,0,.7);height:100%}.loading-overlay.loading .loading-overlay-logo{padding-top:236px;height:auto}.loading-overlay-logo{box-sizing:border-box;position:absolute;top:50%;margin-top:-156px;left:0;width:100%;background:transparent url(\"+n(330)+\") top no-repeat;background-size:112px 198px;overflow:hidden;padding-top:0;height:0;color:#fff}.loading-overlay-logo span{display:block;text-align:center;line-height:38px}.loading-overlay-logo .loading-overlay-line-1{font-size:35px}.loading-overlay-logo .loading-overlay-line-2{font-size:31px}cart-summary table .dates-and-times{min-width:23ex;text-align:center}cart-summary table tbody tr:nth-child(2n),cart-summary table thead tr{background-color:#d3d3d3}cart-summary table td,cart-summary table th{padding:.2ex 1ex;vertical-align:top}cart-summary table .money,cart-summary table .quantity{text-align:right}cart-summary table th{text-align:center}.cart-questions .cart-question-header{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.state-aseta-salasana main,.state-kirjautuminen main{position:absolute;top:50%;margin-top:-200px;width:100%;padding-top:0}.state-aseta-salasana .maincontainer,.state-kirjautuminen .maincontainer{border-top:0 none;background-color:transparent;max-width:305px;background-size:contain;box-shadow:none;-webkit-box-shadow:none}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{width:100%;height:0;padding-bottom:45%;background:transparent url(\"+n(331)+\") top no-repeat;background-size:contain;margin-bottom:29px}.state-aseta-salasana .maincontainer input,.state-kirjautuminen .maincontainer input{line-height:52px;padding-left:52px;height:52px;color:#55575c;width:100%}.state-aseta-salasana .maincontainer .username,.state-kirjautuminen .maincontainer .username{background:hsla(0,0%,100%,.9) url(\"+n(332)+\") 16px 11px no-repeat;margin-bottom:15px}.state-aseta-salasana .maincontainer .password,.state-kirjautuminen .maincontainer .password{background:hsla(0,0%,100%,.9) url(\"+n(333)+\") 17px 10px no-repeat;margin-bottom:5px}.state-aseta-salasana .maincontainer #password-reset-link,.state-kirjautuminen .maincontainer #password-reset-link{color:#222;display:inline-block;margin-bottom:20px}.state-aseta-salasana .maincontainer .login-button,.state-kirjautuminen .maincontainer .login-button{background-color:transparent;border:1px solid #5d5d5f;font-weight:700;font-size:20px;text-align:center;box-sizing:border-box;line-height:49px;padding:0 20px}.state-aseta-salasana .maincontainer .login-button:hover,.state-kirjautuminen .maincontainer .login-button:hover{background-color:#a84c78;color:#fff;border:1px solid transparent}.state-aseta-salasana .maincontainer .login-button[disabled],.state-kirjautuminen .maincontainer .login-button[disabled]{color:gray;border:1px solid gray}.state-aseta-salasana .maincontainer .login-button[disabled] .fa-spinner,.state-kirjautuminen .maincontainer .login-button[disabled] .fa-spinner{color:#fff}.state-aseta-salasana .maincontainer .lng-en-button,.state-aseta-salasana .maincontainer .lng-fi-button,.state-kirjautuminen .maincontainer .lng-en-button,.state-kirjautuminen .maincontainer .lng-fi-button{margin:10px;padding:0;cursor:pointer;text-decoration:none;color:#000;display:inline-block;height:20px;width:32px;text-indent:-999999px}.state-aseta-salasana .maincontainer .lng-fi-button,.state-kirjautuminen .maincontainer .lng-fi-button{background:url(\"+n(334)+\") 0 0 no-repeat}.state-aseta-salasana .maincontainer .lng-en-button,.state-kirjautuminen .maincontainer .lng-en-button{background:url(\"+n(335)+') 0 0 no-repeat;background-size:32px 20px}.change-password-form #old-password-input{margin-bottom:2rem}.cabin-wrapper{margin-bottom:20px}.cabin-wrapper ul{background-image:linear-gradient(180deg,transparent,transparent 95%,rgba(0,0,0,.5) 0,rgba(0,0,0,.5));background-size:100% 30px}@media (max-width:1199px){.cabin-wrapper ul{background-size:100% 42px}}.cabin-wrapper-size-1 ul{min-height:29px}@media (max-width:1199px){.cabin-wrapper-size-1 ul{min-height:41px}}.cabin-wrapper-size-2 ul{min-height:58px}@media (max-width:1199px){.cabin-wrapper-size-2 ul{min-height:82px}}.cabin-wrapper-size-3 ul{min-height:87px}@media (max-width:1199px){.cabin-wrapper-size-3 ul{min-height:123px}}.cabin-wrapper-size-4 ul{min-height:116px}@media (max-width:1199px){.cabin-wrapper-size-4 ul{min-height:164px}}.cabin-wrapper-size-5 ul{min-height:145px}@media (max-width:1199px){.cabin-wrapper-size-5 ul{min-height:205px}}.cabin-wrapper-size-6 ul{min-height:174px}@media (max-width:1199px){.cabin-wrapper-size-6 ul{min-height:246px}}.cabin-wrapper-size-7 ul{min-height:203px}@media (max-width:1199px){.cabin-wrapper-size-7 ul{min-height:287px}}.cabin-wrapper-size-8 ul{min-height:232px}@media (max-width:1199px){.cabin-wrapper-size-8 ul{min-height:328px}}.unassigned-passengers-wrapper{z-index:1}.group-passengers .name{font-weight:700;display:block}.group-passengers .name.medium{letter-spacing:-.7px}.group-passengers .name.long{letter-spacing:-1px;font-size:.95rem}.group-passengers .type{font-weight:400;opacity:.85;font-size:.95rem}.group-register-form #email-confirm-input{margin-bottom:2rem}.state-ryhma-matkustaja .radio-container label{margin-right:1rem}.state-ryhma-matkustaja .buttons-wrapper a,.state-ryhma-matkustaja .buttons-wrapper button{margin-bottom:.5em}@media (min-width:992px){.state-ryhma-matkustaja .col-md-6{width:50%}}.extra-services-wrapper a:focus,.extra-services-wrapper a:hover{text-decoration:none}.extra-services-wrapper .save-changes{color:red}.extra-services-wrapper .passenger-panel .panel-heading{background:#969696;padding-top:10px;padding-bottom:10px;padding-left:4px}.extra-services-wrapper .passenger-panel .passenger-name{color:#fff;font-weight:900}.extra-services-wrapper .passenger-panel .panel-body{background:#969696;border:none!important;padding:0 8px 8px}.extra-services-wrapper .passenger-panel .drag-and-drop-container{padding:0;border-radius:8px}.extra-services-wrapper .passenger-panel .drag-and-drop-container.empty .drag-and-drop-list{background:radial-gradient(#bbb,#afafaf);border-radius:4px}.extra-services-wrapper .passenger-panel .drag-and-drop-list{background-color:#eee;background-image:linear-gradient(180deg,#fff 0,#eee);box-shadow:inherit}.extra-services-wrapper .passenger-panel .glyphicon-triangle-bottom,.extra-services-wrapper .passenger-panel .glyphicon-triangle-top{float:right;margin-top:2px}.extra-services-wrapper .passenger-collapse-wrapper{float:right;cursor:pointer}.extra-services-wrapper .passenger-collapse-wrapper .collapse-text{padding-right:32px}.extra-services-wrapper .passenger-collapse-wrapper .glyphicon{float:right}.mobile-extra-services-wrapper a:focus,.mobile-extra-services-wrapper a:hover{text-decoration:none}.mobile-extra-services-wrapper .save-changes{color:red}.mobile-extra-services-wrapper .btn{width:100%}.mobile-extra-services-wrapper .panel-heading{background:#969696;padding-top:10px;padding-bottom:10px;padding-left:8px}.mobile-extra-services-wrapper .panel-title{color:#fff;font-weight:900}.mobile-extra-services-wrapper .panel-body{background:#969696;border:none!important;padding:0 8px 8px}.mobile-extra-services-wrapper .drag-and-drop-container{padding:0}.mobile-extra-services-wrapper .drag-and-drop-list{background-color:#eee;background-image:linear-gradient(180deg,#fff 0,#eee);box-shadow:inherit}.mobile-extra-services-wrapper .drag-and-drop-list .name{font-weight:600}.mobile-extra-services-wrapper .drag-and-drop-list .note{float:right;font-size:13px;color:#777}.mobile-extra-services-wrapper .drag-and-drop-list .note .amount{font-size:16px;color:#000}.mobile-save-changes{position:fixed;bottom:0;left:0;width:100%}.mobile-save-changes .save-changes{color:red}.mobile-save-changes .btn-info{background:#007bff!important}.own-reservation{margin-bottom:2em;border-radius:1px;border-left:1px solid #e8e8e8;border-bottom:1px solid #f0f0f0;border-right:1px solid #f0f0f0;overflow:hidden;box-shadow:5px 5px 10px 0 rgba(0,0,0,.1)}.own-reservation .image{height:120px;background-position:50%;background-size:cover}@media (max-width:767px){.own-reservation .image{height:0;padding-bottom:60%}}.own-reservation .header-row{min-height:120px;overflow:hidden;position:relative;box-shadow:0 5px 10px 0 rgba(0,0,0,.08)}.own-reservation h2{font-size:20px;margin-top:12px;font-weight:700;margin-bottom:6px;line-height:1}.own-reservation .reservation-text{margin-top:4px;margin-bottom:0}.own-reservation .reservation-dates,.own-reservation .reservation-number{margin-top:4px;font-style:italic;margin-bottom:0}.own-reservation .header-row .price{text-align:right;margin-top:12px;font-size:32px;line-height:1}@media (max-width:767px){.own-reservation .header-row .price{padding-bottom:.5em;text-align:left}}.own-reservation .buttons-row{padding:1em 1em 0}.own-reservation .buttons-row .btn{margin-right:1em;margin-bottom:1em}.own-reservation .products{padding:1em 0 0}.own-reservation .products h3{padding:0 1em;font-size:16px;font-weight:700;margin-top:0}.own-reservation .products table{width:100%}.own-reservation .products td{padding:.1em .5em}.own-reservation .products tr{border-top:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}.own-reservation .products td.name{font-weight:700;padding-left:1em}.own-reservation .products tr:nth-child(2n){background:#fff}.own-reservation .products td.spacer{width:40%}@media (max-width:1199px){.own-reservation .products td.spacer{display:none}}@media (max-width:767px){.own-reservation .products table,.own-reservation .products tbody,.own-reservation .products td,.own-reservation .products tr{display:block;border-top:0}.own-reservation .products tr{padding:.5em 1em}.own-reservation .products td,.own-reservation .products td.name{padding:0}}.own-reservation-table{padding-top:10px}.own-reservation-table .data-rowTable.data-row-level-0 a{float:right;margin-top:-20px;color:#d00}.uib-datepicker-popup.dropdown-menu{z-index:9999}.images-drag-and-drop{margin-top:1.5em}.images-drag-and-drop img{display:block;max-height:70px;float:left;margin-right:2rem}.images-drag-and-drop label{margin-top:0}.images-drag-and-drop .image-input{max-width:550px;float:left;min-width:60%;word-break:break-all}.languages label{margin-right:20px}.latlon{padding-top:1rem}.latlon label{margin-right:10px}.month-changed{border-top:2px solid #000}kapasiteetti-tab .closed,kapasiteetti-tab .closed:hover td{color:gray!important;cursor:not-allowed!important}.state-perustiedot .nav-tabs{margin-bottom:1em}.state-perustiedot table tr:hover td{cursor:pointer}.state-perustiedot table tr:hover td:first-child{font-weight:700}.uib-datepicker-popup{z-index:9999}.mobile-kohde{display:none}.capacity-calendar{float:left;width:100%;position:relative;z-index:1}@media (min-width:992px){.capacity-calendar{width:50%}}.capacity-calendar .uib-day button,.capacity-calendar .uib-day button:hover{color:#000;background:#f4f4f4;border-color:#1b6d85}.capacity-calendar .own button{background:#ff0}.capacity-calendar .beginning.first button,.capacity-calendar .beginning.sold.first button,.capacity-calendar .ending-own.beginning.first button,.capacity-calendar .ending.beginning.first button{background:#00b300;background:linear-gradient(135deg,#f4f4f4,#f4f4f4 49%,#000 50%,red 51%,red);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f4f4f4\",endColorstr=\"#ff0000\",GradientType=1)}.capacity-calendar .beginning-own.first button,.capacity-calendar .ending-own.beginning-own.first button,.capacity-calendar .ending.beginning-own.first button,.capacity-calendar .own.first button{background:#00b300;background:linear-gradient(135deg,#f4f4f4,#f4f4f4 49%,#000 50%,#ff0 51%,#ff0);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f4f4f4\",endColorstr=\"#ffff00\",GradientType=1)}.capacity-calendar .empty.first button,.capacity-calendar .ending-own.first button,.capacity-calendar .ending.first button,.capacity-calendar .first button{background:#00b300;background:linear-gradient(135deg,#f4f4f4,#f4f4f4 49%,#000 50%,#00b300 51%,#00b300);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#f4f4f4\",endColorstr=\"#00b300\",GradientType=1)}.capacity-calendar .beginning button{background:#00b300;background:linear-gradient(135deg,#00b300,#00b300 49%,#000 50%,red 51%,red);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#00b300\",endColorstr=\"#ff0000\",GradientType=1)}.capacity-calendar .beginning-own button{background:linear-gradient(135deg,#00b300,#00b300 49%,#000 50%,#ff0 51%,#ff0);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#00b300\",endColorstr=\"#ffff00\",GradientType=1)}.capacity-calendar .ending button{background:red;background:linear-gradient(135deg,red,red 49%,#000 50%,#00b300 51%,#00b300);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ff0000\",endColorstr=\"#00b300\",GradientType=1)}.capacity-calendar .ending-own button{background:#8ebfe5;background:linear-gradient(135deg,#ff0,#ff0 50%,#000 51%,#00b300 52%,#00b300);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ffff00\",endColorstr=\"#00b300\",GradientType=1)}.capacity-calendar .ending.beginning.sold button,.capacity-calendar .ending.beginning button{background:red;background:linear-gradient(135deg,red,red 49%,#000 50%,red 51%,red);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ff0000\",endColorstr=\"#ff0000\",GradientType=1)}.capacity-calendar .ending-own.beginning-own.own button,.capacity-calendar .ending-own.beginning-own button{background:#8ebfe5;background:linear-gradient(135deg,#ff0,#ff0 50%,#000 51%,#ff0 52%,#ff0);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ffff00\",endColorstr=\"#ffff00\",GradientType=1)}.capacity-calendar .ending-own.beginning button{background:#8ebfe5;background:linear-gradient(135deg,#ff0,#ff0 48%,#000 49%,red 50%,red);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ffff00\",endColorstr=\"#ff0000\",GradientType=1)}.capacity-calendar .ending.beginning-own button{background:red;background:linear-gradient(135deg,red,red 50%,#000 51%,#ff0 52%,#ff0);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ff0000\",endColorstr=\"#ffff00\",GradientType=1)}.capacity-calendar .no-capacity button{color:#31708f;background:#f4f4f4}.capacity-calendar .no-capacity button:hover{background-color:#f4f4f4;border-color:#1b6d85}.capacity-calendar .beginning.sold button,.capacity-calendar .over-sold button,.capacity-calendar .sold button{background:red}.capacity-calendar .empty button{background:#00b300}.capacity-calendar .uib-daypicker table{width:100%}thead>tr>th.capacity-header{background:#265a88;color:#fff;padding-top:9px;padding-bottom:8px}@media (max-width:767px){.left-extra{background:transparent!important;border-top:0 solid transparent!important}.mobile-kohde,.mobile-kohde #kohde{display:block}.uib-datepicker-popup{z-index:10}}@media (max-width:768px){.dropdown-menu{position:fixed!important;top:180px!important;margin:0 10vw!important;z-index:9999999!important}.dropdown-menu button{padding:8px!important;height:32px!important}}parametritaulukko input[type=text]{margin-bottom:0}parametritaulukko .parameter-table{position:relative;background:#f5f5f5}parametritaulukko .parameter-table thead{background:#f5f5f5;position:sticky;top:0;box-shadow:0 2px 2px -1px rgba(0,0,0,.4)}parametritaulukko .parameter-table td[title]:not([title=\"\"]){text-decoration:underline dotted}.report-field-container{margin-top:2em}.report-field-container:first-child{margin-top:0}.report-field-container .field-options-btn{float:right}.report-field-container footer{margin-top:1em}.report-field-container footer textarea{margin-bottom:8px}.report-field-container .panel-heading{background-color:#e5e5e5}.report-field-container .panel-body{padding:0}.token-selector-body .token{cursor:pointer;margin-right:20px;min-width:160px}.token-selector-body .token-wrapper{border-bottom:1px solid #e5e5e5;padding-bottom:10px}.token-selector-body label{font-weight:400;margin-top:0}.token-selector-body .row{padding-bottom:5px}.main-raport-editor{padding-top:2em}.main-raport-editor .fields-title{margin-top:0;padding-top:0}.modal-body.edit-fields{overflow:hidden}.modal-body.edit-fields h4{font-weight:700;font-size:20px;margin-top:22px;border-bottom:1px solid #d3d3d3;padding-bottom:5px}.modal-body.edit-fields .row{margin-bottom:10px}.modal-body.edit-fields input[type=checkbox],.modal-body.edit-fields input[type=radio]{margin-top:14px}.modal-body.edit-fields .left-side{float:left;padding-right:30px}.modal-body.edit-fields .right-size{float:left}.field-options-modal .modal-dialog{width:850px;max-width:100%}.group-fields .tabletitle{display:block;font-size:10px;line-height:.8}.showreportfieldoptions{display:inline}.panel-title a.accordion-toggle{display:inline-block;width:100%}.panel-title a.accordion-toggle .glyphicon-triangle-bottom{float:right;margin-top:2px}.report-table td.padding-mode-yes{padding-top:2rem;padding-bottom:1rem}report-header .header-text{white-space:pre-line}table>tbody>tr.data-row-Table.data-row-level-1.data-row-last-of-group>td.padding-mode-no{padding:.34rem}div.report-header-wrapper{position:relative}div.report-header-wrapper a#open-report-filters{position:absolute;right:0;top:0;cursor:pointer;z-index:1000;display:block}div.report-header-wrapper #report-filters{z-index:1000;padding:20px;background-color:#fff;position:absolute;top:34px;right:0;border:1px solid #d3d3d3;border-radius:5px;min-width:270px}div.report-header-wrapper .panel-heading{background-color:#e5e5e5;border-bottom:2px solid gray}div.report-header-wrapper .filteroption .glyphicon{margin-left:20px}div.report-header-wrapper .filteroption .radiobuttons input{display:inline;margin-right:10px}a.showgroupoptions{z-index:1001;padding:0!important}a.showgroupoptions span.glyphicon{padding:2px 10px!important}.InlineReportEditor .modal-content{padding:15px}.InlineReportEditor .modal-dialog{max-width:1200px;width:98%}.report-table-container .no-linebreaks{white-space:nowrap}.number-of-lines-wrap .number-of-lines{width:100px;float:left}.number-of-lines-wrap .floatleft{float:left;margin:7px}.number-of-lines-wrap .floatleft:first-child{margin-left:0}.report-table-mobile{padding-left:0;padding-right:0}.report-table-mobile .report-table-row{min-width:192px;background:#fff}.state-matluet-viewer pre,.state-myyrap-viewer pre{display:none}@media (max-width:767px){.state-matluet-viewer .maincontainer,.state-myyrap-viewer .maincontainer{background:transparent;border-top:0;height:0;padding:0;margin:0;z-index:2000}.state-matluet-viewer .bottom-large.teleport-with-content,.state-myyrap-viewer .bottom-large.teleport-with-content{margin-top:0}}.state-omavaraus .uib-day.loading span{color:gray;background-color:gray}.state-omavaraus-kori select{min-width:180px}.state-omavaraus-kori cart-extra-group .help{font-size:16px}.state-omavaraus-kori cart-extra-group.valid .help{color:#228b22}.state-omavaraus-kori cart-extra-group.invalid .help{color:#ce4a3f}.state-omavaraus-kori .row{margin-bottom:5px}.state-omavaraus-kori h5{clear:both;font-weight:700;font-size:22px;color:#daa520;margin:30px 0 10px}.state-omavaraus-maksu table.invoices .dates-and-times,.state-omavaraus-vahvistus table.invoices .dates-and-times{min-width:23ex;text-align:center}.state-omavaraus-maksu table.invoices tbody tr:nth-child(2n),.state-omavaraus-maksu table.invoices thead tr,.state-omavaraus-vahvistus table.invoices tbody tr:nth-child(2n),.state-omavaraus-vahvistus table.invoices thead tr{background-color:#d3d3d3}.state-omavaraus-maksu table.invoices td,.state-omavaraus-maksu table.invoices th,.state-omavaraus-vahvistus table.invoices td,.state-omavaraus-vahvistus table.invoices th{padding:.2ex 1ex;vertical-align:top}.state-omavaraus-maksu table.invoices .money,.state-omavaraus-maksu table.invoices .quantity,.state-omavaraus-vahvistus table.invoices .money,.state-omavaraus-vahvistus table.invoices .quantity{text-align:right}.state-omavaraus-maksu table.invoices th,.state-omavaraus-vahvistus table.invoices th{text-align:center}.state-omavaraus-maksu .select-payment-method,.state-omavaraus-maksu fieldset{margin-top:20px}.state-omavaraus-maksu fieldset legend{margin-bottom:10px}.state-omavaraus-maksu .payment-method-buttons{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:left;align-items:center;align-content:space-around;gap:20px}.state-omavaraus-maksu .payment-method-buttons .payment-method-button{flex:0 1 auto;padding:5px;min-width:150px;min-height:85px}.state-omavaraus-vahvistus dl.cart-answers dd{padding-left:1ex}nextpax-property-manager-policies details summary h3:before{content:\"\\\\1F5C0\"}nextpax-property-manager-policies details[open] summary h3:before{content:\"\\\\1F5C1\"}@media print{body,html{padding:0!important;margin:0!important}h1{font-size:.8cm!important;margin-top:0}h2{font-size:.5cm!important}body,html,table{font-size:.3cm!important}.maincontainer{padding:0;border-top:0}.fullwidth-print{width:100%!important;position:static!important;top:0!important}.col-md-1,.col-sm-1{float:left;width:8.33333%}.col-md-2,.col-sm-2{float:left;width:16.66667%}.col-md-3,.col-sm-3{float:left;width:25%}.col-md-4,.col-sm-4{float:left;width:33.33333%}.col-md-5,.col-sm-5{float:left;width:41.66667%}.col-md-6,.col-sm-6{float:left;width:50%}.col-md-7,.col-sm-7{float:left;width:58.33333%}.col-md-8,.col-sm-8{float:left;width:66.66667%}.col-md-9,.col-sm-9{float:left;width:75%}.col-md-10,.col-sm-10{float:left;width:83.33333%}.col-md-11,.col-sm-11{float:left;width:91.66667%}.bottom-large.teleport-with-content{border-top:0 none!important}.container{width:auto!important;padding:0!important;min-width:100%}.report-table .pdf-sizer{display:table-row!important}.report-table .pdf-sizer td{min-width:19cm!important}.report-header .glyphicon-print{display:none}}input[type=email],input[type=number],input[type=password],input[type=text],select.form-control{background-color:#f4f0f0;height:36px;line-height:36px;border:0;width:100%;box-sizing:border-box;padding-left:3%;padding-right:3%}input[type=number]{width:auto;padding-left:10px;padding-right:10px}.fancy-select-select,.fancy-select-wrapper select{height:33px;padding-left:9px;-webkit-appearance:none;-webkit-border-radius:0;width:70px;cursor:pointer;border:0}.fancy-select-wrapper .readonly select,.readonly .fancy-select-select,.readonly .fancy-select-wrapper select{padding-left:0}.fancy-select-wrapper{display:inline-block;line-height:32px;padding:0;position:relative;overflow:hidden;white-space:nowrap;z-index:10}.fancy-select-wrapper:after{position:absolute;right:9px;top:15px;border-top-width:5px;border-top-style:solid;border-left:3px solid transparent;border-right:3px solid transparent;pointer-events:none;content:\"\"}.fancy-select-wrapper:before{position:absolute;right:0;top:0;content:\"\";width:24px;height:100%;pointer-events:none;box-sizing:border-box}.readonly.fancy-select-wrapper:after,.readonly.fancy-select-wrapper:before{display:none}.fancy-select-select{display:block}input[type=checkbox],input[type=radio]{position:absolute;left:-9999px}input[type=checkbox]+label,input[type=radio]+label{position:relative;padding-left:25px;cursor:pointer;display:block;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[type=checkbox]:not(:checked)+label span.glyphicon{display:none}input[type=checkbox]:checked+label span,input[type=checkbox]:not(:checked)+label:before{content:\"\";position:absolute;left:0;top:2px;width:17px;height:17px;border:1px solid #aaa;background:#f8f8f8;border-radius:0}input[type=checkbox]:checked+label.huge span,input[type=checkbox]:not(:checked)+label.huge:before{top:0;width:34px;height:34px}input[type=radio]+label:before{content:\"\";position:absolute;box-sizing:border-box;left:0;top:2px;width:18px;height:18px;margin:1px;background:#fff;border-radius:10000px;box-shadow:inset 0 0 1px 0 grey}input[type=radio][disabled]+label:before{background:#eee;cursor:not-allowed}input[type=radio]:checked+label:before{width:18px;height:18px;margin:1px;background:#5c5956;border:5px solid #fff;border-radius:10000px;box-shadow:0 0 1px 0 grey}input[type=radio][disabled]:checked+label:before{border-color:#eee;cursor:not-allowed}input[type=checkbox]:checked+label span,input[type=checkbox]:not(:checked)+label:after{content:\"\";position:absolute;top:2px;left:0;text-indent:0;font-size:14px;line-height:14px;transition:all .2s}input[type=checkbox]:checked+label.huge span,input[type=checkbox]:not(:checked)+label.huge:after{top:0;font-size:28px;line-height:28px}input[type=checkbox]:not(:checked)+label:after{opacity:0;transform:scale(0)}input[type=checkbox]:checked+label:after{opacity:1;transform:scale(1)}input[type=checkbox]:disabled:checked+label:before,input[type=checkbox]:disabled:not(:checked)+label:before{box-shadow:none;border-color:#bbb;background-color:#ddd}input[type=checkbox]:disabled:checked+label:after{color:#999}input[type=checkbox]:disabled+label{color:#aaa}input[type=checkbox]:checked:focus+label:before,input[type=checkbox]:not(:checked):focus+label:before{border:1px dotted blue}input.ng-invalid.ng-dirty:not(:focus),select.ng-invalid.ng-dirty:not(:focus){background-color:#ffe8e8;color:#8f0000;border:1px solid red}.form-control,input[type=number].form-control,input[type=text],textarea{background-color:#f4f0f0;border-radius:0;border:none;width:100%}.btn{filter:none!important;box-shadow:none!important;border-radius:0;border:0;height:36px;padding:6px 10px}.btn,.btn-default{text-shadow:none!important}.btn-default{background:#265a88;color:#fff}.input-group input,.input-group select,.input-group textarea{border:1px solid #ccc}#left-menu{border-top:8px solid #ffc061}#left-menu,#left-menu li a{background:#343433;color:#fff}#left-menu li a{padding-top:5px}#left-menu li a:before,h1.varausraportti-title_owner_report:after{float:left;height:2em;margin-right:.5em;content:\"\\\\F016\"}#left-menu li a[ui-sref=perustiedot]:before,perustiedot h1:after{content:\"\\\\F003\"}#left-menu li a[ui-sref=\"varausraportti/omistaja\"]:before,h1.varausraportti-title_owner_reservation:after{content:\"\\\\F05A\"}#left-menu li a[ui-sref=omistajaraportti]:before,h1.varausraportti-title_owner_report:after{content:\"\\\\F016\"}#left-menu li a[ui-sref=tilitysraportti]:before,h1.varausraportti-title_settlement_report:after{content:\"\\\\F0D6\"}#left-menu li a[ui-sref=omavaraus]:before,omavaraus h1:after{content:\"\\\\F055\"}#left-menu li a[ui-sref=yrittaja-omavaraukset]:before,yrittaja-omavaraukset h1:after{content:\"\\\\F056\"}#left-menu li a[ui-sref=omistajatiedot]:before,omistajatiedot h1:after{content:\"\\\\F007\"}#left-menu li a[ui-sref=matluet-viewer]:before,#left-menu li a[ui-sref=myyrap-viewer]:before,omistajatiedot h1:after{content:\"\\\\F0CE\"}#left-menu li a:before,.maincontainer h1:after{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-right:.2em;font-size:20px}.maincontainer h1:after{position:absolute;right:30px;font-size:42px}#top-menu{position:absolute;right:2em}#left-menu li a,#site-header,#top-menu,body #site-header #top-menu a,body #site-header #top-menu span{color:#f5f5f5;font-family:Montserrat,sans-serif;font-size:13px;font-style:normal;font-weight:400;letter-spacing:1px;text-transform:uppercase;background:#343433}#left-menu li,#left-menu li a{line-height:23px}@media (min-width:1200px){#left-menu li,#left-menu li a{height:65px}}.maincontainer{border-top:8px solid #343433}.state-kirjautuminen .maincontainer .login-logo{padding-bottom:65%}body .maincontainer{background:#f5f5f5;padding-left:2em;padding-right:2em}.btn{background:#444;border:none}.btn,body #site-header #top-menu .btn{color:#fff;font-size:15px;text-transform:uppercase}body #site-header #top-menu .btn{font-family:Roboto Condensed,sans-serif;border-color:#9e998a;line-height:40px;height:40px;font-weight:400;background-color:#9e998a;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;letter-spacing:0;border-width:3px;padding-left:1em;padding-right:1em}input.form-control,input[type=number].form-control,input[type=text],select.form-control,textarea.form-control{border:none;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);border-bottom:2px solid #ffc061;margin:0;margin-bottom:30px;color:#363636}select.form-control{width:100%}textarea.form-control{padding:1.5em 1em}form label{font-size:16px;padding-bottom:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background:silver}@media (max-width:1170px){.container{min-width:100%}}.maincontainer .nav-tabs{text-transform:uppercase!important;font-weight:600}a{color:orange;letter-spacing:.3px}.nav.nav-tabs{border-color:#000!important}.field-options-modal .modal-dialog .modal-content{padding:.5em;background:#efefef}h3{font-weight:600;text-transform:uppercase;letter-spacing:1px}html input[type=checkbox]:checked+label span,html input[type=checkbox]:not(:checked)+label:before{background:#fff;border:1px solid silver}input[disabled],input[type=checkbox]:disabled+label{cursor:not-allowed}[class^=col-]>.btn{border-radius:35px}.field-options-modal input.form-control,.field-options-modal select.form-control,.InlineReportEditor input.form-control,.InlineReportEditor select.form-control{height:35px;padding:10px;line-height:1;margin:0}.field-options-modal .btn,.InlineReportEditor .btn{line-height:47px;background:transparent;color:#333;line-height:1.42857143;height:36px}.field-options-modal select.form-control,.InlineReportEditor select.form-control{line-height:58px;width:100%;appearance:menulist;-webkit-appearance:menulist;-moz-appearance:menulist}.field-options-modal .btn .glyphicon,.InlineReportEditor .btn .glyphicon{top:1px}.field-options-modal a.btn.showreportfieldoptions,.InlineReportEditor a.btn.showreportfieldoptions{height:auto;background:transparent}.field-options-modal .btn-success,.InlineReportEditor .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.field-options-modal .btn-danger,.InlineReportEditor .btn-danger{background-image:linear-gradient(180deg,#d9534f 0,#c12e2a);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ffd9534f\",endColorstr=\"#ffc12e2a\",GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background-repeat:repeat-x;border-color:#b92c28}.col-md-6.paymethod:nth-child(odd){padding-left:0}.col-md-6.paymethod:nth-child(2n){padding-right:0}.paymethodimage{min-height:73px;background-size:contain;background-repeat:no-repeat;background-position:bottom;padding:0}.paymethod[disabled] .paymethodname span{font-weight:600;border-bottom:2px solid #ffc061}',\"\"]);\n},function(e,t){e.exports=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTMyIDc5LjE1OTI4NCwgMjAxNi8wNC8xOS0xMzoxMzo0MCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUuNSAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NEY5OTY5MzJBNjUzMTFFNjg5QkNBRENFMEQ1OUY0MkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NEY5OTY5MzNBNjUzMTFFNjg5QkNBRENFMEQ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Ag3ZA2FhiCYlBm+HDhcHh5Oy6Q4UIwXbuDkexDld2JLEDqP/o9C/ifAAKwthVGuzL15AAAAAElFTkSuQmCC\"},function(e,t,n){e.exports=n.p+\"6a41811e886ee69194f155b75a3676a6.jpg\"},function(e,t,n){e.exports=n.p+\"53e6802046f75213753820a09d028fe6.jpg\"},function(e,t,n){e.exports=n.p+\"bf4d5ee2be47290fa728f189073dba37.jpg\"},function(e,t,n){e.exports=n.p+\"dff8093993cab771a5f49887a38df2ff.jpg\"},function(e,t,n){e.exports=n.p+\"8c852e87ce4351228ebefc0b1c9b2e7d.jpg\"},function(e,t,n){e.exports=n.p+\"fda1fe48cc81cd9158f38f20a0e3c35c.jpg\"},function(e,t,n){e.exports=n.p+\"e578952d917e4a99d38ba032258f755e.jpg\"},function(e,t,n){e.exports=n.p+\"7614337985128fa261c1ea11938a4d33.jpg\"},function(e,t,n){e.exports=n.p+\"e8b56630d2ca08a466bc7d511ee5b013.jpg\"},function(e,t){e.exports=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKcAAABNCAYAAADDyXQIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTMyIDc5LjE1OTI4NCwgMjAxNi8wNC8xOS0xMzoxMzo0MCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL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N0S2IhRzXsYwWC39ccVytEFbi3hLEF4jMaw5DVL02AiMO5hXtIWVnQI+lIFhZJToVByKpScCsUv6RApcr3/xyYiIijLLoWOPSsnAziHkdjfZ07j0TWO8234yRs2su+3t8dFyIojxayTcxk3r1sl5+UxbYKUWFFp47mUYLN7NSHefbnFsRv6LRau0e+tI+mEYtQbsY9i1iuUdYeyXPkS79eyMu30Km0Ldq+WsE9sH99UcnZAglpJlPikGc5JxBqjPshyK9a1j5DnQB1MMeYh+9Kazfri7/lMMVBCVu6dg5g9HtvNSeejGPUMxLd5EI+4hmLNrrh1bixbJWc7xLRSY4r0QAuZ0rZyqOsxOjUW6nDNJPNB1j9+hyDtjhjm/8ymgNUdOuoKRT1Hs0qQypSJtBR1qEP0C+KVchEwx/6D1KmUoFCdrrlukkJRTtmBSxphXyB2U/1PqCsWH8UKuC1L94WkmUfHe1ZpQNg3dkQl1r7f8TJl8rWSswUI8kRmn/XPPypAktWVyJ2a/FS6xJV1hX2JlIKQoE/meAWmrMe+Djsyh6sciFARk6bPJj/rnuOHcX+GUMnZolrnnb4jDUhrP47V9yRlvLpUJyszMu5cyweXJMZKgYljiTKZDbtVmMimihxS+T2hGZn7GxC9X/Alb7EtE1uiDlEHPHZ8esWm8PE1Ts9weJ49UndJDgaWXITMCZriddqhdX6sqoUXTtJ5WECSc1B5FAUI8eptmxgtnbihGCg2MyxSm/PXQgRVurDEFM4NSbe+yVljD1v1O4izAfEmkG4pI+GKLeXgObGJ8ScPR0J63iIctcE982/FjxzmgHXOekyau9ZPxRhQG77xE86SMvfBVPDFUuYgcawa/e37QdV6t+zQPiTTUltEydklD96+bU6hNqdCyalQKDkVSk6FQsmpUG/9EF9a+rZQl6FffusIOcemxbdhKBSq1hVKToWirlrX16sUR6pNcDn8J8AAtM8xcZGg/y4AAAAASUVORK5CYII=\"},function(e,t,n){e.exports=n.p+\"89e18499b5d8005bd28033bb6a4316d6.png\"},function(e,t){e.exports=\"data:image/png;base64,iVBORw0KGgoAAAAN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rdWrYDVcR0e6jKVil9ahOCKNzZKLREUJhf1MbFPXxuPD2r0iIQf0+12uFtPIxARAcsqLT7deRE17xmg59g701HDs/imbxL79lpQV6ND4ZonoJGz+PWjXfAq1fDEp6Nh1I8LvaTYrEtqw3lFWBAr0puAGeheTkJnx1b0t23Bet8vcJm2YtZsR//zeagIvoDXGy7jXLck+92BCGtB3LP2MRTRoDG83YzemHgsP34QT5e+gsKxc2iJ+h4t21ZDX6wVh5UYMGFzoFbT6RJRW61HUXocAtZuON+qh1+twUBKHhrH/OgiYNx2iQcotLDPgviN9qCQwWr7EdbeceTnxKOWlDTQ+PV32bG2uRVr1BHorxIU8cFGinDm1iq+QBsHn60HN98UgNUYei4XDWMBdDXeBbz0lbufCUwEIiSv1TYqEcklItX5MDTth++MFVlftSE9MgoXTFqOM7DOm5MbPvFxUZG4lKbHvu+8BPyDOJrFV/BhgcMSUUhErESkR1KkblsBco7o8Xf7Gbx0qnPqHwEGAMUZ6nw0OFRDAAAAAElFTkSuQmCCMjA3OQ==\"},,,,,,,,,,function(e,t){\"use strict\";function n(e){e.when(\"/\",[\"$state\",\"userService\",\"menu\",function(e,t,n){var r=t.getCurrentUser();if(!r)return\"/kirjautuminen\";var a=r.getAllowedMenuItems();if(!a||0==a.length)return console.log(\"No UI-controls\"),\"/kirjautuminen\";var o=a[0];return\"undefined\"==typeof n.pages[o.Code]?(console.log(\"Menu page was not found.\",o.Code,n),\"/kirjautuminen\"):void e.go(n.pages[o.Code].stateName)}]).when(\"\",\"/\").otherwise(\"/not-found\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.routeConfiguration=n,n.$inject=[\"$urlRouterProvider\"]},function(e,t,n){e.exports=n.p+\"locales/common/fi.json\"},function(e,t,n){e.exports=n.p+\"locales/common/en.json\"},function(e,t,n){e.exports=n.p+\"locales/common/se.json\"},function(e,t,n){e.exports=n.p+\"locales/common/de.json\"},,,,,,,,,,function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.name=void 0;var a=n(360),o=r(a);n(362),n(363),n(364),n(365),n(367),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(387),n(389),n(391),n(393),n(395),n(396),n(398);var i=n(399);t.name=o.default.name;o.default.service(\"countryService\",i.CountryService)},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),n(361),t.default=angular.module(\"winresCloud.core\",[\"tmh.dynamicLocale\"])},,function(e,t,n){(function(e){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.LocalizationService=void 0;var o=function(){function e(e,t){for(var n=0;n\\n

    ',o=\"dateInput.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;n li > a,\\n.navbar-default .navbar-nav > li > a:focus {\\n color: {{ colorMenuText }};\\n}\\n\\n.navbar-default .navbar-nav > li:hover > a,\\n.navbar-default .navbar-nav > li:hover > a:focus,\\n.navbar-default .navbar-nav > li:hover > a:visited,\\n.navbar-default .navbar-nav > li:hover > a:active,\\n.navbar-default .navbar-nav > li:hover > a:hover,\\n\\n.navbar-default .navbar-nav > li.active > a,\\n.navbar-default .navbar-nav > li.active > a:focus,\\n.navbar-default .navbar-nav > li.active > a:visited,\\n.navbar-default .navbar-nav > li.active > a:active,\\n.navbar-default .navbar-nav > li.active > a:hover,\\n\\n.navbar-default .navbar-nav > li:focus > a,\\n.navbar-default .navbar-nav > li:focus > a:focus,\\n.navbar-default .navbar-nav > li:focus > a:visited,\\n.navbar-default .navbar-nav > li:focus > a:active,\\n.navbar-default .navbar-nav > li:focus > a:hover { \\n background-color: {{ colorMenuActiveBackground }};\\n background-image: {{ colorMenuActiveBackground ? 'none' : '' }};\\n color: {{ colorMenuActiveText }};\\n}\\n\\n.navbar-default .navbar-nav .navbar-toggle {\\n border-color: {{ colorMenuActiveText }};\\n}\\n.navbar-default .navbar-nav .navbar-toggle:hover,\\n.navbar-default .navbar-nav .navbar-toggle:focus {\\n background-color: {{ colorMenuActiveBackground }};\\n}\\n.navbar-default .navbar-nav .navbar-toggle .icon-bar {\\n background-color: {{ colorMenuActiveText }};\\n}\\n\\n.drag-and-drop-container,\\n.panel-default > .panel-heading,\\nbody .primary-colors {\\n background-color: {{ colorPrimaryBackground }};\\n color: {{ colorPrimaryText }};\\n background-image: linear-gradient(to-bottom, {{ colorPrimaryBackground }} 0%, {{ colorPrimaryBackgroundGradient }} 100%);\\n}\\n\\n\\n.panel > .panel-heading,\\nbody .secondary-colors {\\n background-color: {{ colorTertiaryBackground }};\\n color: {{ colorNeutralText }};\\n background-image: linear-gradient(to-bottom, {{ colorSecondaryBackground }} 0%, {{ colorSecondaryBackgroundGradient }} 100%);\\n}\\n.panel-open > .panel-heading,\\nbody .secondary-colors {\\n background-color: {{ colorSecondaryBackground }};\\n color: {{ colorPrimaryText }}; \\n}\\n\\nheader,\\n.drag-and-drop-container ul.drag-and-drop-list li,\\nbody .neutral-distinct-colors {\\n background-color: {{ colorNeutralDistinctBackground }};\\n color: {{ colorNeutralDistinctText }};\\n background-image: linear-gradient(to-bottom, {{ colorNeutralDistinctBackground }} 0%, {{ colorNeutralDistinctBackgroundGradient }} 100%);\\n}\\n\\n.form-control {\\n border-color: {{colorPrimaryBackground }};\\n}\\n\\n/*\\ncolorNeutralBackground, colorNeutralText, colorPrimaryBackground, \\ncolorPrimaryText, \\ncolorSecondaryBackground, colorSecondaryText, colorTertiaryBackground\\n*/\\n\\n\\n\\n.left-extra.teleport-with-content,\\nbody #left-menu {\\n border-top-color: {{ colorBorderLeft }};\\n}\\n\\nbody .maincontainer {\\n border-top-color: {{ colorBorderMain }};\\n}\\nbody #site-header {\\n background-color: {{ colorTopMenuBg }};\\n}\\nbody #site-header #top-menu a,\\nbody #site-header #top-menu span {\\n color: {{ colorTopMenuText }};\\n}\\nbody #site-header #top-menu a:hover {\\n color: {{ colorTopMenuHover }};\\n}\\nbody #left-menu li:hover a,\\nbody #left-menu li.active a {\\n background-color: {{ colorMenuActiveBg }};\\n}\\n\"},function(e,t){e.exports='.winres-web-component h1, \\r\\n.winres-web-component h2, \\r\\n.winres-web-component h3,\\r\\n.winres-web-component h4,\\r\\n.winres-web-component h5,\\r\\n.winres-web-component h6 {\\r\\n color: {{ colorHeading }};\\r\\n}\\r\\n.winres-web-component {\\r\\n background-color: {{ colorComponentBackground }};\\r\\n color: {{ colorNeutralText }};\\r\\n}\\r\\n.winres-web-component .panel-default > .panel-heading,\\r\\n.winres-web-component .primary-colors {\\r\\n background-color: {{ colorPrimaryBackground }};\\r\\n color: {{ colorPrimaryText }};\\r\\n background-image: linear-gradient(to-bottom, {{ colorPrimaryBackground }} 0%, {{ colorPrimaryBackgroundGradient }} 100%);\\r\\n}\\r\\n\\r\\n\\r\\n.winres-web-component .panel > .panel-heading,\\r\\n.winres-web-component .secondary-colors {\\r\\n background-color: {{ colorSecondaryBackground }};\\r\\n background-image: linear-gradient(to-bottom, {{ colorSecondaryBackground }} 0%, {{ colorSecondaryBackgroundGradient }} 100%);\\r\\n color: {{ colorSecondaryText }};\\r\\n}\\r\\n.winres-web-component .panel-open > .panel-heading,\\r\\n.winres-web-component .primary-colors {\\r\\n background-color: {{ colorPrimaryBackground }};\\r\\n color: {{ colorPrimaryText }}; \\r\\n}\\r\\n\\r\\n.winres-web-component .neutral-distinct-colors {\\r\\n background-color: {{ colorNeutralDistinctBackground }};\\r\\n color: {{ colorNeutralDistinctText }};\\r\\n background-image: linear-gradient(to-bottom, {{ colorNeutralDistinctBackground }} 0%, {{ colorNeutralDistinctBackgroundGradient }} 100%);\\r\\n}\\r\\n\\r\\n.winres-web-component .uib-daypicker .btn.btn-default{\\r\\n color: {{colorNeutralText}};\\r\\n}\\r\\n.winres-web-component .uib-datepicker thead tr:first-child th,\\r\\n.winres-web-component .uib-datepicker thead tr:first-child td {\\r\\n background-color: {{colorTertiaryBackground}};\\r\\n}\\r\\n.winres-web-component .uib-daypicker .btn.btn-default.btn-info span{\\r\\n background-color: {{colorPrimaryBackground}};\\r\\n color: {{colorPrimaryText}};\\r\\n}\\r\\n.winres-web-component .uib-daypicker thead th,\\r\\n.winres-web-component .uib-daypicker thead td {\\r\\n color: {{colorNeutralText}};\\r\\n}\\r\\n.winres-web-component .rzslider .rz-pointer{\\r\\n background-color: {{colorPrimaryBackground}};\\r\\n}\\r\\n.winres-web-component .rzslider .rz-pointer.rz-active:after{\\r\\n background-color: {{colorSecondaryBackground}};\\r\\n}\\r\\n.winres-web-component .shopping-cart-items div.active{\\r\\n border-color: {{colorShoppingCartText}}!important;\\r\\n}\\r\\n.winres-web-component .shopping-cart-items div:hover{\\r\\n border-color: {{colorShoppingCartText}}!important;\\r\\n}\\r\\n.winres-web-component .rzslider .rz-bar.rz-selection{\\r\\n background-color: {{colorTertiaryBackground}}!important;\\r\\n}\\r\\n.winres-web-component .rzslider .rz-bar{\\r\\n background-color: {{colorSecondaryBackground}}!important;\\r\\n}\\r\\n.winres-web-component [type=\"checkbox\"]:not(:checked) + label:after, \\r\\n.winres-web-component [type=\"checkbox\"]:checked + label span {\\r\\n color: {{colorPrimaryBackground}};\\r\\n}\\r\\n.winres-web-component .departure-list .departure .btn.btn-default{\\r\\n background-color: {{colorPrimaryBackground}};\\r\\n color: {{colorPrimaryText}}; \\r\\n}\\r\\n.winres-web-component .text-highlight {\\r\\n color: {{colorPrimaryText}}; \\r\\n}\\r\\n\\r\\n.winres-web-component .shopping-cart-summary .price,\\r\\n.winres-web-component .panel-open .panel-heading .search-criterion,\\r\\n.winres-web-component .panel-open .panel-heading .glyphicon,\\r\\n.winres-web-component .no-departures-message,\\r\\n.winres-web-component input[type=\"checkbox\"] + label .glyphicon,\\r\\n.winres-web-component .color-primary-highlight,\\r\\n.winres-web-component .departure span.price {\\r\\n color: {{colorPrimaryHighlight}};\\r\\n}\\r\\n.winres-web-component .departure.offer-true span.price {\\r\\n color: {{colorDiscount}};\\r\\n}\\r\\n.winres-web-component .assign-cabins .glyphicon,\\r\\n.winres-web-component .select-wrapper:before{\\r\\n background-color: {{colorPrimaryHighlight}};\\r\\n}\\r\\n.winres-web-component .select-wrapper:after{\\r\\n border-top-color: {{colorPrimaryText}};\\r\\n}\\r\\n.winres-web-component .assign-cabins .panel-heading,\\r\\n.winres-web-component .fancy-select-select,\\r\\n.winres-web-component select{\\r\\n background-color: {{colorFormFieldBackground}};\\r\\n}\\r\\n.winres-web-component .select-wrapper.readonly select{\\r\\n background-color: inherit;\\r\\n}\\r\\n.winres-web-component input{\\r\\n background-color: {{colorFormFieldBackground}};\\r\\n}\\r\\n.winres-web-component .hotel .choose-room{\\r\\n background-color: {{colorsecondaryText}};\\r\\n}\\r\\n.winres-web-component .hotel .starting-from .price{\\r\\n color: {{colorDiscount}};\\r\\n}\\r\\n.winres-web-component .extra-service-group .product .product-price-wrapper{\\r\\n border-color: {{colorFormFieldBackground}};\\r\\n}\\r\\n.winres-web-component .extra-service-group .product .product-price-wrapper p{\\r\\n color: {{colorSecondaryText}};\\r\\n}\\r\\n.winres-web-component .shopping-cart-wrapper{\\r\\n background-color: {{colorShoppingCartBackground}};\\r\\n color: {{colorShoppingCartText}}!important;\\r\\n}\\r\\n.winres-web-component .shopping-cart-wrapper .shopping-cart-item .item-name,\\r\\n.winres-web-component .shopping-cart-wrapper .shopping-cart-item .item-price,\\r\\n .winres-web-component .shopping-cart-wrapper .shopping-cart-accommodation .item-name,\\r\\n .winres-web-component .shopping-cart-wrapper .shopping-cart-accommodation .item-price {\\r\\n /* TODO */\\r\\n background-color: #3d3d3d;\\r\\n transition: background-color: 0.5s;\\r\\n}\\r\\n.winres-web-component .shopping-cart-wrapper .shopping-cart-item:hover .item-name,\\r\\n.winres-web-component .shopping-cart-wrapper .shopping-cart-item:hover .item-price,\\r\\n .winres-web-component .shopping-cart-wrapper .shopping-cart-accommodation:hover .item-name,\\r\\n .winres-web-component .shopping-cart-wrapper .shopping-cart-accommodation:hover .item-price {\\r\\n /* TODO */\\r\\n background-color: #686868;\\r\\n transition: background-color: 0.5s;\\r\\n}\\r\\n\\r\\n.winres-web-component .shopping-cart-bg,\\r\\n.winres-web-component .web-component-bg {\\r\\n background-color: {{ colorReservationBackground }};\\r\\n}\\r\\n\\r\\n.winres-web-component .shopping-cart-wrapper *{\\r\\n color: {{colorShoppingCartText}}!important;\\r\\n}\\r\\n.winres-web-component .paybutton{\\r\\n background-color: {{colorShoppingCartButton}};\\r\\n}\\r\\n.winres-web-component .paybutton * {\\r\\n color: {{colorPrimaryText}} !important;\\r\\n}\\r\\n.winres-web-component .passengerform-wrapper .panel-open > .panel-heading {\\r\\n border-color: {{colorHeading}};\\r\\n}\\r\\n.winres-web-component .add-passenger {\\r\\n background-color: {{colorButton}};\\r\\n color: {{colorPrimaryText}};\\r\\n}\\r\\n.winres-web-component .delete-person{\\r\\n background-color: {{colorNegativeButton}};\\r\\n color: {{colorPrimaryText}};\\r\\n}\\r\\n.winres-web-component .panel-open .panel-heading .delete-person .glyphicon{\\r\\n color: {{colorPrimaryText}};\\r\\n}\\r\\n.winres-web-component .shopping-cart-summary .passengers .panel-open > .panel-heading h4 {\\r\\n color: {{colorSecondaryText}};\\r\\n}\\r\\n.winres-web-component .continue-button{\\r\\n background-color: {{colorButton}};\\r\\n color: {{colorPrimaryText}};\\r\\n}\\r\\n.winres-web-component .basketpopup{\\r\\n background-color: {{colorShoppingCartBackground}};\\r\\n color: {{colorShoppingCartText}};\\r\\n border-color: {{colorShoppingCartText}};\\r\\n}\\r\\n\\r\\n/* Shows the primary-title as bar\\r\\n.winres-web-component .primary-title\\r\\n{\\r\\n color: {{colorSecondaryText}};\\r\\n background: {{colorSecondaryBackground}};\\r\\n border-color: {{colorPrimaryBackground}} !important;\\r\\n}\\r\\n*/\\r\\n\\r\\n//colorNeutralBackground, colorNeutralText, colorPrimaryBackground, colorPrimaryText, \\r\\n//colorSecondaryBackground, colorSecondaryText, colorTertiaryBackground, colorDiscount\\r\\n//colorShoppingCartBackground, colorShoppingCartText, colorButton\\r\\n'},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a);o.default.directive(\"lightIf\",[\"$animate\",\"$compile\",function(e,t){return{multiElement:!0,transclude:\"element\",priority:600,terminal:!0,restrict:\"A\",$$tlb:!0,link:function(t,n,r,a,o){var i;t.$watch(r.lightIf,function(r){r?i||o(t,function(t){i=t,e.enter(t,n.parent(),n)}):i&&(e.leave(i),i=null)})}}}])},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a);o.default.directive(\"lightIfHighPriority\",[\"$animate\",\"$compile\",function(e,t){return{multiElement:!0,transclude:\"element\",priority:1e4,terminal:!0,restrict:\"A\",$$tlb:!0,link:function(t,n,r,a,o){var i;t.$watch(r.lightIfHighPriority,function(r){r?i||o(t,function(t){i=t,e.enter(t,n.parent(),n)}):i&&(e.leave(i),i=null)})}}}])},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a),i=n(101);o.default.filter(\"parsedate\",function(){return function(e){return\"string\"==typeof e?(0,i.parseDate)(e):e}})},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a);o.default.filter(\"parsenumber\",function(){return function(e){return\"string\"==typeof e?parseFloat(e.replace(\",\",\".\")):e}})},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a);o.default.directive(\"scopedTransclude\",function(){return{restrict:\"EAC\",link:function(e,t,n,r,a){if(a)switch(n.scopedTransclude||\"sibling\"){case\"sibling\":a(function(e){t.empty(),t.append(e)});case\"parent\":a(e,function(e){t.empty(),t.append(e)});break;case\"child\":var o=e.$new();a(o,function(e){t.empty(),t.append(e),t.on(\"$destroy\",function(){o.$destroy()})})}}}})},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a);o.default.directive(\"scopedTranscludeSlot\",function(){return{restrict:\"EAC\",link:function(e,t,n,r,a){if(a){var o=n.scopedTranscludeSlot;a(e,function(e){t.empty(),t.append(e)},null,o)}}}})},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(11),o=r(a),i=n(360),s=r(i);s.default.directive(\"tooltip\",[\"$filter\",\"$templateCache\",function(e,t){return{restrict:\"E\",transclude:!0,template:'',compile:function(e,n){return function(e,n,r,a,i){i(e,function(n){1==n.length&&\"SPAN\"==n[0].tagName&&0==n.children().length&&n.attr(\"ng-i18next\",\"\");var r=o.default.element(\"

    \").html(n).html(),a=\"
    \"+r+\"
    \";e.templateUrl=\"tooltip-dynamic-template-\"+e.$id,t.put(e.templateUrl,a)})}}}}])},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a);o.default.filter(\"trimdecimals\",function(){return function(e){return\"string\"==typeof e?e.replace(/(,|\\.)00([^0-9]*)/,\"$2\"):e}})},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a);o.default.directive(\"languageRefresh\",[\"$animate\",\"$timeout\",\"$compile\",function(e,t,n){return{transclude:\"element\",priority:500,terminal:!0,restrict:\"A\",$$tlb:!0,link:function(t,n,r,a,o){function i(){c||o(function(t,r){c=r,l={clone:t},e.enter(t,n.parent(),n)})}function s(){u&&(u.remove(),u=null),c&&(c.$destroy(),c=null),l&&(u=l.clone,e.leave(u).then(function(){u=null}),l=null)}var l,c,u;i(),t.$on(\"$localeChangeSuccess\",function(){s(),i()})}}}])},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n=2))return!1}}return!0}function s(t){return t>=1900&&t<=e().year()}function l(e,t){var n=t.passenger,l=t.departure,c=t.required;if(!e&&!c)return!0;if(!e)return!1;if(e&&e.indexOf(\".\")>-1){var u=e.split(\".\"),d=r(u[0],u[1],u[2]);if(3===u.length&&u.every(function(e){return!isNaN(e)})&&2===u[0].length&&2===u[1].length&&4===u[2].length&&a(d)&&o(d)&&i(n,d,l)&&s(u[2]))return!0}return!1}var c=n(360),u=t(c),d=n(101);u.default.directive(\"dateValidate\",function(){return{require:\"ngModel\",restrict:\"A\",scope:{params:\" ',o=\"countrySelect.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(360),o=r(a);o.default.directive(\"genderSelect\",[function(){return{restrict:\"E\",template:n(388),require:\"ngModel\",scope:{},link:function(e,t,n,r){function a(){e.genders=[],null!=o&&\"false\"===o&&(o=!1),null!=i&&\"false\"===i&&(i=!1),null!=s&&\"false\"===s&&(s=!1),null!=l&&\"false\"===l&&(l=!1),o&&(e.genders.push({Key:\"MR\",Name:\"common.gender_mr\"}),e.genders.push({Key:\"MS\",Name:\"common.gender_ms\"})),i&&(s?o?(e.genders.push({Key:\"CH/M\",Name:\"common.gender_chm\"}),e.genders.push({Key:\"CH/F\",Name:\"common.gender_chf\"})):(e.genders.push({Key:\"CH/M\",Name:\"common.gender_mr\"}),e.genders.push({Key:\"CH/F\",Name:\"common.gender_ms\"})):e.genders.push({Key:\"CH\",Name:\"common.gender_ch\"})),l&&e.genders.push({Key:\"IN\",Name:\"common.gender_in\"})}r.$render=function(){e.value=r.$viewValue},n.$observe(\"emptyLabel\",function(t){e.emptyLabel=t}),e.$watch(\"value\",function(){r.$setViewValue(e.value),r.$render()}),r.$validators.required=function(e,t){return!n.required||!!e&&\"CH\"!==e};var o=!0,i=!1,s=!1,l=!1;a(),n.$observe(\"children\",function(e){i=e,a()}),n.$observe(\"childGender\",function(e){s=e,a()}),n.$observe(\"infants\",function(e){l=e,a()}),n.$observe(\"ppdisable\",function(t){e.ppdisable=t}),n.$observe(\"noAdults\",function(e){o=!e||!(\"true\"==e),a()})}}}])},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='',o=\"genderSelect.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function a(e,t,n,r,a){return c(\"Checking if\",t,n,r,\"is bookable without transport...\"),e.checkDeparture(t,n,r,a).then(function(e){if(null===e)return c.error('The departure check promise was canceled. It should not be, since the result goes to cache. Falling back to \"yes\".'),!0;var a=0===e.length;return c(t,n,r,a?\"is\":\"is not\",\"bookable without transport.\"),a}).catch(function(e){return c.warn(\"Failed to check if\",t,n,r,'is bookable without transport. Falling back to \"yes\".'),!0})}var o=function(){function e(e,t){for(var n=0;n=0;if(a)if(n&&e.some(r.results,function(e){return e.id===t.ngModel}));else{var o=1===r.results.length&&0===r.results[0].id;o?t.ngModel=0:t.ngModel=null}else console.warn(\"Invalid stop query data:\",r)},!0)}},{key:\"queryStops\",value:function(t,n,r){var o=this,i={results:[{id:0,text:this.translate(\"no_transport\")}]};n(this.data||i),!r&&this.pending&&this.cancelService.cancel(this.pending);var s=this.depDestCode||void 0,l=this.depBeginDate||void 0,c=this.depEndDate||void 0,u=this.depDestIntClassSets||void 0;t||(t=\"\");var d={stops:this.busService.busStopsAutocomplete(t,s,l,c,u),noTransportAllowed:this.$q.resolve(!0)},p=0;if(e.some(i.results,function(e){return e.id===p})&&s&&l&&c){var f=s+\"-\"+l+\"-\"+c,g=e.has(this.noTransportAllowedCache,f);g||(this.noTransportAllowedCache[f]=a(this.departureService,s,l,c,p)),d.noTransportAllowed=this.noTransportAllowedCache[f]}var m=this.$q.all(d);r||(this.pending=d.stops),m.then(function(t){var r=t&&t.stops;if(r&&r.length>=0){var a=e.map(r,function(e){return{id:e.Id,text:e.Name}});i.results=e.concat(i.results,a),t.noTransportAllowed===!1&&e.remove(i.results,function(e){return e.id===p});var s=JSON.stringify(i),l=o.data?JSON.stringify(o.data):\"\";l!=s&&n(i),o.data=i}})}}]),t}();u.$inject=[\"$q\",\"$scope\",\"busService\",\"departureService\",\"cancelService\",\"localizationService\"],s.default.component(\"busSelect\",{template:n(390),controller:u,bindings:{ngModel:\"=\",containerClass:\"@\",iconClass:\"@\",depDestCode:\"@\",depBeginDate:\"@\",depEndDate:\"@\",depDestIntClassSets:\"<\"}})}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='
    ',o=\"busSelect.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!=typeof t&&\"function\"!=typeof t?e:t}function o(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var l,c=function(){function e(e,t){for(var n=0;n\",controller:m,require:{loadCtrl:\"^^load\"}});var h=function e(){s(this,e)};d.default.component(\"loadPending\",{transclude:!0,template:\"\",controller:h,require:{loadCtrl:\"^^load\"}});var v=function(){function e(t,n,r,a){s(this,e),this.$scope=t,this.$transclude=n,this.$element=r,this.targetState=a}return c(e,[{key:\"$onInit\",value:function(){var e=this;this.transContent=null,this.transScope=null,this.$scope.$watchCollection(function(){return{state:e.loadCtrl.state,value:e.loadCtrl.value}},function(t){return e.update(t.state,t.value)})}},{key:\"update\",value:function(e,t){var n=this;e===this.targetState&&null===this.transContent?this.$transclude(function(e,t){n.$element.append(e),n.transContent=e,n.transScope=t}):e!==this.targetState&&null!==this.transContent&&(this.transScope.$destroy(),this.$element.empty(),this.transScope=null,this.transContent=null),this.transScope&&(this.transScope.value=t)}}]),e}(),b=function(e){function t(e,n,r){return s(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,r,\"ready\"))}return o(t,e),t}(v);b.$inject=[\"$scope\",\"$transclude\",\"$element\"],d.default.component(\"loadReady\",{transclude:!0,controller:b,template:\"\",require:{loadCtrl:\"^^load\"}});var y=function(e){function t(e,n,r){return s(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,r,\"error\"))}return o(t,e),t}(v);y.$inject=[\"$scope\",\"$transclude\",\"$element\"],d.default.component(\"loadError\",{transclude:!0,controller:y,template:\"\",require:{loadCtrl:\"^^load\"}})},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a=' \\ncommon.loading {{ value }} ',o=\"load.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=n(360),o=t(a),i=function t(n,a,o){if(r(this,t),this.loadingOverlayService=o,\"true\"==this.dynamicSize){var i=function(){var t=e(a).parent(),n=e(a).find(\".loading-overlay\");n.css(\"width\",t.outerWidth()),n.css(\"height\",t.outerHeight())};n.$on(\"resizeOverlay\",i),e(window).resize(i)}o.webComponent&&a[0].classList.add(\"winres-web-component\")};i.$inject=[\"$scope\",\"$element\",\"loadingOverlayService\"],o.default.component(\"loadingOverlay\",{restrict:\"EA\",template:n(394),controller:i,bindings:{dynamicSize:\"@\"}})}).call(t,n(13))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='
    common.portal_loading_row_1 \\n common.portal_loading_row_2
    ',o=\"loadingOverlay.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.LoadingOverlayService=void 0;var o=function(){\nfunction e(e,t){for(var n=0;n0?this.order.replace(\" \",\"\").split(\",\"):[],n=this.eta?o.countryCodesETA:o.countryCodes;0===t.length&&t.push(\"FI\");var r=this.$filter(\"i18next\");this.countries=e.sortBy(e.map(n,function(e){return{Code:e,Name:r(\"country.\"+e)||e}}),function(n){var r=e.findIndex(t,function(e){return n.Code===e});return r!=-1?r+n.Name:t.length+n.Name})}}]),t}();i.$inject=[\"$filter\",\"$rootScope\"]}).call(t,n(9))},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});t.countryCodes=[\"FI\",\"DE\",\"RU\",\"SE\",\"AF\",\"AL\",\"DZ\",\"AS\",\"AD\",\"AO\",\"AI\",\"AQ\",\"AG\",\"AR\",\"AM\",\"AW\",\"AC\",\"AU\",\"AT\",\"AZ\",\"AX\",\"BS\",\"BH\",\"BD\",\"BB\",\"BY\",\"BE\",\"BZ\",\"BJ\",\"BM\",\"BT\",\"BO\",\"BQ\",\"BA\",\"BW\",\"BV\",\"BR\",\"IO\",\"BN\",\"BG\",\"BF\",\"BI\",\"CV\",\"KH\",\"CM\",\"CA\",\"IC\",\"KY\",\"CF\",\"EA\",\"TD\",\"CL\",\"CN\",\"CX\",\"CP\",\"CC\",\"CO\",\"KM\",\"CG\",\"CD\",\"CK\",\"CR\",\"CI\",\"HR\",\"CU\",\"CW\",\"CY\",\"CZ\",\"DK\",\"DG\",\"DJ\",\"DM\",\"DO\",\"EC\",\"EG\",\"SV\",\"GQ\",\"ER\",\"EE\",\"ET\",\"FK\",\"FO\",\"FJ\",\"FR\",\"FX\",\"GF\",\"PF\",\"TF\",\"GA\",\"GM\",\"GE\",\"GH\",\"GI\",\"GR\",\"GL\",\"GD\",\"GP\",\"GU\",\"GT\",\"GG\",\"GN\",\"GW\",\"GY\",\"HT\",\"HM\",\"VA\",\"HN\",\"HK\",\"HU\",\"IS\",\"IN\",\"ID\",\"IR\",\"IQ\",\"IE\",\"IM\",\"IL\",\"IT\",\"JM\",\"JP\",\"JE\",\"JO\",\"KZ\",\"KE\",\"KI\",\"KP\",\"KR\",\"KW\",\"KG\",\"LA\",\"LV\",\"LB\",\"LS\",\"LR\",\"LY\",\"LI\",\"LT\",\"LU\",\"MO\",\"MK\",\"MG\",\"MW\",\"MY\",\"MV\",\"ML\",\"MT\",\"MH\",\"MQ\",\"MR\",\"MU\",\"YT\",\"MX\",\"FM\",\"MD\",\"MC\",\"MN\",\"ME\",\"MS\",\"MA\",\"MZ\",\"MM\",\"NA\",\"NR\",\"NP\",\"AN\",\"NL\",\"NC\",\"NZ\",\"NI\",\"NE\",\"NG\",\"NU\",\"NF\",\"MP\",\"NO\",\"OM\",\"PK\",\"PW\",\"PS\",\"PA\",\"PG\",\"PY\",\"PE\",\"PH\",\"PN\",\"PL\",\"PT\",\"PR\",\"QA\",\"RE\",\"RO\",\"RW\",\"BL\",\"SH\",\"KN\",\"LC\",\"MF\",\"PM\",\"VC\",\"WS\",\"SM\",\"ST\",\"SA\",\"SN\",\"RS\",\"SC\",\"SL\",\"SG\",\"SX\",\"SK\",\"SI\",\"SB\",\"SO\",\"ZA\",\"GS\",\"SS\",\"ES\",\"LK\",\"SD\",\"SR\",\"SJ\",\"SZ\",\"CH\",\"SY\",\"TW\",\"TJ\",\"TZ\",\"TH\",\"TL\",\"TG\",\"TK\",\"TO\",\"TT\",\"TA\",\"TN\",\"TR\",\"TM\",\"TC\",\"TV\",\"UG\",\"UA\",\"AE\",\"GB\",\"US\",\"UM\",\"UY\",\"UZ\",\"WF\",\"VU\",\"VE\",\"EH\",\"VN\",\"VG\",\"VI\",\"YE\",\"ZM\",\"ZW\"],t.countryCodesETA=[\"FI\",\"DE\",\"SE\",\"AT\",\"BE\",\"BG\",\"CY\",\"CZ\",\"DK\",\"EE\",\"ES\",\"FR\",\"GB\",\"GR\",\"HU\",\"HR\",\"IE\",\"IS\",\"IT\",\"LT\",\"LU\",\"LV\",\"LI\",\"MT\",\"NO\",\"NL\",\"PT\",\"PL\",\"RO\",\"SI\",\"SK\"]},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.name=void 0;var a=n(402),o=r(a);n(403);t.name=o.default.name},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=angular.module(\"winresCloud.filters\",[])},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}var r=n(402),a=t(r),o=n(101);a.default.filter(\"finnishDate\",[\"$filter\",function(t){return function(n,r){if(r){var a=e(n),i=e();if(a.isBefore(i))return t(\"i18next\")(\"common.due_immediately\")}return(0,o.formatFinnishDatePretty)(n)}}])}).call(t,n(41))},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.name=void 0;var a=n(405),o=r(a);n(406),n(407),n(408),n(409),n(410),n(411),n(412);t.name=o.default.name},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=angular.module(\"winresCloud.modals\",[])},function(e,t,n){(function(e){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function o(e,t){var n=\"_\";if(e.indexOf(n)==-1)throw\"[Upload] Replacement character for invalid characters is itself invalid.\";for(var r=\"\",a=0;a5242880&&(o=!0)}),o?void alert(this.$filter(\"i18next\")(\"modal_upload.filesize_error\")):void e.each(t,function(e){var o=new FileReader;o.addEventListener(\"load\",function(){r(this.result),a++,a>=t.length&&n.close()},!1),o.readAsDataURL(e)})}},{key:\"cancel\",value:function(){this.$uibModalInstance.close()}}]),t}();c.$inject=[\"$uibModalInstance\",\"$window\",\"callback\",\"filebankService\",\"destinationCode\"],l.default.controller(\"UploadFileController\",c)}).call(t,n(9))},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.ImageurlController=void 0;var o=function(){function e(e,t){for(var n=0;n=400&&t.status<=499?(e.state=\"save-error\",console.error(\"[PassengerInvoices] Failed to save:\",t.status,\"-\",t)):t.status>=500&&t.status<=599?(e.state=\"server-error\",console.error(\"[PassengerInvoices] Server error:\",t.status,\"-\",t)):(e.state=\"unexpected-error\",console.error(\"[PassengerInvoices] Unexpected error:\",t)),e.callback({success:!1})})}},{key:\"cancel\",value:function(){this.$uibModalInstance.close()}},{key:\"overpaid\",value:function(){var e=\"passenger-custom\"==this.advanceType?parseInt(this.advance):this.defaultAdvance,t=\"passenger-custom\"==this.finalType?parseInt(this.final):this.defaultFinal,n=(e||0)+(t||0),r=this.paid-n;return r>0?r:0}}]),e}();l.$inject=[\"$uibModalInstance\",\"$window\",\"callback\",\"bookingNumber\",\"defaultInvoices\",\"passenger\",\"groupReservationService\"],s.default.controller(\"PassengerInvoicesController\",l)},function(e,t,n){(function(e){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.GroupPaymentController=void 0;var o=function(){function e(e,t){for(var n=0;n0});return o}),this.editable=!0,this.$scope.$watchCollection(function(){return t.getSelectedRows()},function(e){return t.onSelectedRowsChange(e)})}},{key:\"getSelectedRows\",value:function(){return e.filter(this.invoicesRows,function(e){return e.Selected})}},{key:\"onSelectedRowsChange\",value:function(t){this.selectedAmount=e.sumBy(t,function(e){return e.Invoice.Unpaid}),this.unassignedAmount=this.payment.UnassignedAmount-this.selectedAmount,this.form&&(this.form.$setValidity(\"nothingSelected\",this.selectedAmount>0,this.form),this.form.$setValidity(\"notEnoughMoney\",this.unassignedAmount>=0,this.form))}},{key:\"save\",value:function(){var t=this;if(!this.editable)throw\"[GroupPayment] Not editable.\";if(!this.bookingNumber)throw\"[GroupPayment] Booking number not set.\";if(!this.payment)throw\"[GroupPayment] Payment not set.\";var n=this.getSelectedRows(),r=e.map(n,function(e){return{PassengerID:e.Passenger.ID,Amount:e.Invoice.Unpaid}}),a=this.groupReservationService.assignPaymentToPassengers(this.bookingNumber,this.payment.BookingPayment.Number,r);this.state=\"saving\",this.error=null,a.then(function(e){e?(t.state=\"saved\",console.log(\"[GroupPayment] Success:\",e),t.callback({success:!0,payments:e}),t.$uibModalInstance.close()):(t.state=\"unexpected-error\",t.callback({success:!1}))},function(e){t.error=e,e.status>=400&&e.status<=499?(t.state=\"save-error\",console.error(\"[GroupPayment] Failed to save:\",e.status,\"-\",e)):e.status>=500&&e.status<=599?(t.state=\"server-error\",console.error(\"[GroupPayment] Server error:\",e.status,\"-\",e)):(t.state=\"unexpected-error\",console.error(\"[GroupPayment] Unexpected error:\",e)),t.callback({success:!1})})}},{key:\"cancel\",value:function(){this.$uibModalInstance.close()}},{key:\"overpaid\",value:function(){var e=(this.advance||0)+(this.final||0),t=this.paid-e;return t>0?t:0}}]),t}();l.$inject=[\"$uibModalInstance\",\"$scope\",\"$filter\",\"callback\",\"bookingNumber\",\"passengers\",\"payment\",\"groupReservationService\"],s.default.controller(\"GroupPaymentController\",l)}).call(t,n(9))},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.ReadyModalController=void 0;var o=function(){function e(e,t){for(var n=0;nt.totalColspan&&(t.totalColspan=a)})}},{key:\"setClasses\",value:function(){var t=this;this.classes=[],this.reportTableGroups&&e.each(this.reportTableGroups,function(e,n){t.classes.push(\"level-\"+n+\"-\"+(e.RepeatHeader?\"no-repeat-header\":\"repeat-header\")),t.classes.push(\"level-\"+n+\"-\"+(e.MergeRows?\"no-merge-rows\":\"merge-rows\"))})}},{key:\"recreateRows\",value:function(){var n=this;if(this.ready=!1,this.reportTableRows&&this.reportTableMetadata){this.language=this.reportTableLanguage?this.reportTableLanguage:\"fi\",this.prepareMetadata(),this.calculateColspan(),this.setClasses(),this.fastpathHeaders(),this.Rows=[];var r=e.clone(this.reportTableRows);this.Fastpath=!0,e.each(this.reportTableMetadata,function(t){0!=t.length&&e.each(r,function(r){e.each(t,function(t){\"Checkbox\"!=t.Type&&\"Hreflink\"!=t.Type&&\"SrefLink\"!=t.Type&&\"FunctionLink\"!=t.Type&&\"TextWithIconLink\"!=t.Type||(n.Fastpath=!1),e.includes(t.Name,\".\")&&(r[t.Name]=e.get(r,t.Name))})})}),r=this.sortRows(r),this.reportTableNumberOfLines&&(r=r.slice(0,this.reportTableNumberOfLines));var a=[],o=[],i=[],s=e.map(this.reportTableMetadata,function(t){return e.filter(t,function(e){return e.Visible!==!1&&!e.AppendToPrevious})}),l=!1;e.each(this.reportTableMetadata,function(t){e.each(t,function(e){\"none\"!=e.BorderStyleWhenValueChanges&&null!=e.BorderStyleWhenValueChanges&&(l=!0)})});var c=new u;e.each(r,function(t,r){e.each(n.reportTableMetadata,function(u,d){if(0!=u.length){var p=n.getMetadataGroup(d),f=d>=a.length;i[d]||(i[d]=0),i[d]++,t.GlobalRowNumber=r+1,t.LocalRowNumbers=t.LocalRowNumbers||[],t.LocalRowNumbers[d]=a[d]?a[d].length+1:1,t.FullRowNumbers=e.clone(i),e.each(t.FullRowNumbers,function(e,n){t[\"FullRowNumbers.\"+n]=e});var g={Type:p.Type,DisplayHeader:(f||p.RepeatHeader)&&!p.HideHeader&&\"Table\"==p.Type,MetadataRow:s[d],MetadataGroup:p,Data:t,ClearedData:e.clone(t),BorderAboveRow:p.DefaultBorderAboveRow,BorderAboveHeader:p.DefaultBorderAboveHeader,BorderBelowRow:p.DefaultBorderBelowRow,BorderBelowHeader:p.DefaultBorderBelowHeader,MobileBorderAbove:p.MobileBorderAbove,Level:d,IsFirstOfGroup:f,UniqueByKey:n.getUniqueByKey(p,u,t)};g.BorderAboveRow||(g.BorderAboveRow=\"none\"),g.BorderAboveHeader||(g.BorderAboveHeader=\"none\");var m=a[d]?a[d][a[d].length-1]:null;if(l&&(g.BorderAboveRow=\"none\",g.BorderBelowRow=\"none\"),g.IsFirstOfGroup&&e.each(u,function(e){\nvar t=e.AutomaticNumberingByGroup;void 0!==t&&null!==t&&d<=t&&c.reset(d,e.Name)}),e.each(u,function(e){var t=e.AutomaticNumberingByGroup;if(void 0!==t&&null!==t){var n=g.Data[e.Name],r=c.getAutomaticNumber(d,e.Name,n);g.Data[e.Name]=r}}),m&&l&&(e.each(u,function(e){var n=m.Data[e.Name]==t[e.Name];n||\"none\"!=g.BorderAboveRow||(console.log(\"!equals\",e,e.BorderStyleWhenValueChanges),g.BorderAboveRow=e.BorderStyleWhenValueChanges||\"none\",console.log(\"inloop\",g.BorderAboveRow))}),console.log(\"outofLoop\",g.BorderAboveRow)),!(p.MergeRows&&dd;v--)n.Rows=n.Rows.concat(n.makeAggregateRows(a[v],o[v],v));a=a.splice(0,d+1),o=o.splice(0,d+1)}else for(;d>=a.length;)a.push([]),o.push([]);a[d].push(g);for(var h=0;h<=d;++h)o[h].push(g);\"Line\"!==g.Type&&\"Headers\"!==g.Type||n.removeEmptyColumns(g),n.renderColumnsToHtml(g),e.each(u,function(t){var n=g.Data[t.Name];!t.EmptyValue||void 0!==n&&null!==n&&\"\"!==e.trim(n)||(g.HtmlData[t.Name]=t.EmptyValue)}),m&&e.each(u,function(n){var r=m.Data[n.Name]==t[n.Name];e.each(n.AlsoDisplay,function(e){r&=m.Data[e.Name]==t[e.Name]}),n.ClearRepeatingValues&&r&&(g.HtmlData[n.Name]=null,g.ClearedData[n.Name]=null,e.each(n.AlsoDisplay,function(e){g.HtmlData[e.Name]=null,g.ClearedData[e.Name]=null}))}),g.MetadataRow.length>0&&(n.Fastpath&&(g.RowHtml=n.$filter(\"reportTableRow\")(g,n.totalColspan,n.language)),n.Rows.push(g))}}})}),this.RawRows=r;for(var d=a.length-1;d>=0;d--)this.Rows=this.Rows.concat(this.makeAggregateRows(a[d],o[d],d));this.fullFastpath(),this.MobileRows=e.cloneDeep(this.Rows),e.each(this.MobileRows,function(t,r){if(!t.cancelRowMoved){var a=e.find(t.MetadataRow,function(e){return e&&\"Cancel\"===e.Name});a&&(t.MetadataRow=e.filter(t.MetadataRow,function(e){return!e||\"Cancel\"!==e.Name}),n.MobileRows[r+1]&&(n.MobileRows[r+1].MetadataRow.push(a),n.MobileRows[r+1].cancelRowMoved=!0))}}),e.each(e.filter(this.MobileRows,function(e){return e.cancelRowMoved}),function(t){t.MetadataRow=e.uniqBy(t.MetadataRow,function(e){return e.Name})}),e.each(this.MobileRows,function(e){e.MobileStyle={},\"normal\"==e.BorderAboveHeader&&(e.MobileStyle[\"margin-top\"]=\"4px\"),\"normal\"==e.MobileBorderAbove&&(e.MobileStyle[\"border-top\"]=\"1px solid gray\"),\"thick\"==e.MobileBorderAbove&&(e.MobileStyle[\"border-top\"]=\"2px solid gray\")}),this.$timeout(function(){n.ready=!0,n.$timeout(function(){var e=n;t(\".sort-on-click:not(.sort-bound)\",n.$element).click(function(n){var r=this;return e.$scope.$apply(function(){t(r).addClass(\"sort-bound\");var a=t(r).attr(\"data-level\"),o=t(r).attr(\"data-column-name\");e.onOrderBy(a,o,n.shiftKey)}),!1})})})}}},{key:\"fullFastpath\",value:function(){var t=this;this.FullFastpathHtml=null,this.Fastpath&&e.every(this.fastpathedHeaders)&&(this.FullFastpathHtml='',e.each(this.Rows,function(e){if(e.DisplayHeader){var n=[\"header-row\",\"cgPntrCursor\",\"header-row-\"+e.Type,\"border-above-\"+e.BorderAboveHeader,\"border-below-\"+e.BorderBelowHeader,\"header-row-level-\"+e.Level,\"row-\"+e.Class],r=e.OverrideMetadata?t.fastpathedHeaders[e.Level]:t.$filter(\"reportTableHeaderRow\")(e.MetadataRow,e.MetadataGroup,e.Level,t.totalColspan,t.reportTableOrderBy);t.FullFastpathHtml+=''+r+\"\"}var n=[\"data-row\"+e.Type,\"data-row-level-\"+e.Level,\"border-above-\"+e.BorderAboveRow,\"border-below-\"+e.BorderBelowRow,\"row-\"+e.Class,\"data-row\"];e.IsLastOfGroup&&n.push(\"data-row-last-of-group\"),e.IsFirstOfGroup&&n.push(\"data-row-first-of-group\"),t.FullFastpathHtml+=''+e.RowHtml+\"\",t.FullFastpathHtml=t.$sce.trustAsHtml(t.FullFastpathHtml)}))}},{key:\"getExcelRows\",value:function(){var t=this;if(!this.canExportExcel())return!1;var n={};this.reportTableLanguage&&(n.lng=this.reportTableLanguage);var r=this.$filter(\"i18next\",n),a=e.map(e.flatten(this.reportTableMetadata),function(e){return{Data:r(e.Title),Type:\"Text\",Bold:!0,Border:{BottomStyle:\"Medium\"}}}),o=e.map(this.RawRows,function(n){var r=0;return e.flatMap(t.reportTableMetadata,function(a,o){return e.map(a,function(e){var a=t.getExcelColumn(n,e);return r!==o&&(r=o,a.Border={LeftStyle:\"Thin\"}),a})})});return[a].concat(o)}},{key:\"getExcelRowsHumanReadable\",value:function(){var t=this;if(!this.canExportExcel())return!1;var n={};this.reportTableLanguage&&(n.lng=this.reportTableLanguage);var r=this.$filter(\"i18next\",n),a=[];return e.each(this.Rows,function(n){if(n.DisplayHeader){for(var o=[],i=0;i0&&(c+=e.map(a.AlsoDisplay,function(e){return t.getExcelData(n.ClearedData,e)}).join(\" \")+\" \")}),l.push({Type:\"Text\",Data:c,Border:s,Span:t.totalColspan}),a.push(l);break;case\"Headers\":e.each(n.MetadataRow,function(o){var i=t.createExcelRow(n),l=t.totalColspan;if(o.Title){var c=Math.floor(l/2);l-=c,i.push({Bold:!0,Type:\"Text\",Data:r(o.Title),Border:s,Span:c})}var u=t.getExcelColumn(n.ClearedData,o);u.Span=l,i.push(u),o.AlsoDisplay&&o.AlsoDisplay.length>0&&(u.Type=\"Text\",u.Data+=\" \"+e.map(o.AlsoDisplay,function(e){return t.getExcelData(n.ClearedData,e)}).join(\" \")),a.push(i)});break;case\"Table\":default:var l=t.createExcelRow(n);e.each(n.MetadataRow,function(r){var a=t.getExcelColumn(n.ClearedData,r);a.Border=s,r.AlsoDisplay&&r.AlsoDisplay.length>0&&(a.Type=\"Text\",a.Data+=\" \"+e.map(r.AlsoDisplay,function(e){return t.getExcelData(n.ClearedData,e)}).join(\" \")),l.push(a)}),a.push(l)}}),a}},{key:\"createExcelRow\",value:function(e){for(var t={TopStyle:this.getExcelBorder(e.BorderAboveRow),BottomStyle:this.getExcelBorder(e.BorderBelowRow)},n=[],r=0;r0&&(s=\"\"+s,s+=e.join(e.map(o.AlsoDisplay,function(e){return a.getSortValue(t,e.Name,r)}),\"\")),s}},{key:\"getUniqueByKey\",value:function(t,n,r){var a=e.filter(r,function(t,r){return e.some(n,function(e){return e.Name==r&&\"GlobalRowNumber\"!==e.Name&&\"LocalRowNumber\"!==e.Name})}).join(\":-;\");if(t.UniqueBy){var o=e.map(t.UniqueBy.split(\",\"),e.trim);a+=\":-;\"+e.map(o,function(t){return e.get(r,t)}).join(\":-;\")}return a}},{key:\"sortRows\",value:function(e){return this.reportTableOrderBy&&0!=this.reportTableOrderBy.length?this.sortRecursive(e,0,this.getSortGetters(!1),this.getSortGetters(!0),this.getSortOrders()):e}},{key:\"sortRecursive\",value:function(t,n,r,a,o){var i=this;if(this.reportTableGroups&&n!=this.reportTableGroups.length-1&&this.reportTableGroups[n].SortWithinGroup){var s=e.groupBy(t,function(e){return i.getUniqueByKey(i.reportTableGroups[n],i.reportTableMetadata[n],e)});return s=e.map(s,function(e){return i.sortRecursive(e,n+1,r,a,o)}),this.reportTableOrderBy[n]&&this.reportTableOrderBy[n].length>0&&(s=e.orderBy(e.values(s),a,o)),e.flatten(s)}var l=e.orderBy(t,r,o);return l}},{key:\"getSortGetters\",value:function(t){var n=this;return e.flatten(e.map(this.reportTableOrderBy,function(r,a){return e.map(r,function(e){var r=e.Name,o=n.reportTableMetadata[a];return t?function(e){return e.length>0?n.getSortValue(e[0],r,o):null}:function(e){return n.getSortValue(e,r,o)}})}))}},{key:\"getSortOrders\",value:function(){return e.map(e.flatten(this.reportTableOrderBy),\"Direction\")}},{key:\"isSortedBy\",value:function(t,n){return e.some(this.reportTableOrderBy,function(r){return r&&e.some(r,function(e){return e.Name==t&&e.Direction==n})})}}]),n}(),u=function(){function t(){a(this,t),this.seenValuesByGroupAndColumn=[]}return o(t,[{key:\"getAutomaticNumber\",value:function(t,n,r){var a=this.getColumn(t,n),o=e.indexOf(a,r);return o!==-1?o+1:(a.push(r),a.length)}},{key:\"reset\",value:function(e,t){var n=this.getGroup(e);n[t]=[]}},{key:\"getColumn\",value:function(e,t){var n=this.getGroup(e);return n[t]||(n[t]=[]),n[t]}},{key:\"getGroup\",value:function(e){return this.seenValuesByGroupAndColumn[e]||(this.seenValuesByGroupAndColumn[e]={}),this.seenValuesByGroupAndColumn[e]}}]),t}();c.$inject=[\"$scope\",\"$filter\",\"$log\",\"$timeout\",\"$sce\",\"$element\",\"aggregateCalculatorService\"],s.default.component(\"reportTable\",{bindings:{reportTableRows:\"=\",reportTableMetadata:\"<\",reportTableGroups:\"<\",reportTableAggregators:\"<\",reportTableOrderBy:\"=\",reportTableNumberOfLines:\"<\",reportTableLanguage:\"<\"},template:n(419),controller:c})}).call(t,n(9),n(13))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a=\"
    {{ :: column.Title }}\\n {{:: column.Tooltip}}
    0\\\" colspan=\\\"{{ :: row.MetadataGroup.PadLeft }}\\\"> {{ :: column.Title }} \\n
    {{ :: column.Title }}\\n {{:: column.Tooltip}}
    \\n \\n
    \",o=\"reportTable.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(414),o=r(a);o.default.directive(\"reportTableRow\",[\"$compile\",function(e){return{restrict:\"EA\",template:n(421),scope:{model:\"=\",totalColspan:\"@\",ctrl:\"<\",row:\"<\"}}}])},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a=' 0\" colspan=\"{{ :: row.MetadataGroup.PadLeft }}\"> {{ :: column.Title | i18next }}: \\n
    ',o=\"reportTableRow.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(414),o=r(a);o.default.directive(\"reportTableColumn\",function(){return{restrict:\"EA\",scope:{model:\"=\",row:\"<\",metadata:\"<\",columnMetadata:\"<\",totalColspan:\"<\",columnId:\"<\"},template:n(423)}})},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='{{ :: metadata.Prefix }} {{ :: model[metadata.Name].Title | i18next}} \\n {{ :: model[metadata.Name].Title | i18next}} \\n {{ :: model[metadata.Name].Text | i18next}}\\n \\n{{ :: metadata.Suffix }}',o=\"reportTableColumn.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var a=function(){function e(e,t){for(var n=0;nu.report.Groups.length;)u.report.Groups.push({Fields:[]})}),this.reportService.getAvailableFields(this.reporttype).then(function(t){u.fields=t.Groups,u.masterfields=e.cloneDeep(u.fields),e.forEach(u.report.Groups,function(t){e.forEach(t.Fields,function(t){e.forEach(u.fields,function(n){e.remove(n.Fields,function(e){return e.Name==t.Name})})})})}),n.$watch(\"$ctrl.masterreport.Id\",function(t){u.report=e.cloneDeep(u.masterreport),u.fields=e.cloneDeep(u.masterfields)}),n.$watch(\"$ctrl.fields\",function(t){e.forEach(t,function(n){e.remove(n.Fields,function(r){return n.Name!=r.TableGroup&&(e.forEach(t,function(e){e.Name==r.TableGroup&&e.Fields.push(r)}),!0)})})},!0)}return a(t,[{key:\"saveReportHelper\",value:function(t,n){var r=this;this.reportService.saveReport(this.reporttype,t).then(function(t){t?(r.Notification.success(r.$filter(\"i18next\")(\"common.message_saved\")),n&&(console.log(\"reloading\",t),r.report=t,r.reportService.getReports(r.reporttype).then(function(e){return r.reports=e}))):r.Notification.error(r.$filter(\"i18next\")(\"common.error_save_failed\")),r.isModal&&r.UseWithoutSaving(),e.assign(r.masterreport,r.report)})}},{key:\"ShowTokensDialog\",value:function(e){var t=this;this.$uibModal.open({template:n(425),controller:\"TokensModalController\",controllerAs:\"$ctrl\",resolve:{textfield:function(){return e},reporttype:function(){return t.reporttype}}})}},{key:\"SaveReport\",value:function(){this.saveReportHelper(this.report,!1)}},{key:\"SaveReportAsCopy\",value:function(){this.report.Id=null,this.saveReportHelper(this.report,!0)}},{key:\"ShowReportFieldOptionsDialog\",value:function(e){this.$uibModal.open({template:n(426),controller:\"FieldOptionsModalController\",controllerAs:\"$ctrl\",windowClass:\"field-options-modal\",resolve:{field:function(){return e},callback:function(){return\"\"}}})}},{key:\"ShowGroupOptionsDialog\",value:function(t){var r=this;this.$uibModal.open({template:n(427),controller:\"GroupOptionsModalController\",controllerAs:\"$ctrl\",windowClass:\"group-options-modal\",resolve:{fields:function(){return t},reportData:function(){return r.report},callback:function(){return\"\"},visibleFields:function(){return\"Passenger\"==t.Name?{IsRequired:!1,RemoveDuplicates:!1,UseSharedCapacityDays:!1,DateMode:!1}:\"Accommodation\"==t.Name?{ProductTypes:!0,ServiceTypes:!0,ExcludeProductCodes:!0,UseSearchCriteria:!0,CapacityMode:!0,AutomaticCabinNumberMode:!0}:e.includes([\"ExtraService\",\"Bus\"],t.Name)?{ProductTypes:!0,ServiceTypes:!0,ExcludeProductCodes:!0,UseSearchCriteria:!0,\nCapacityMode:!0}:\"Reservation\"===t.Name?{UseSharedCapacityDays:!1,DateMode:!1}:void 0}}})}},{key:\"UseWithoutSaving\",value:function(){e.assign(this.masterreport,this.report),this.parentClass.Refresh(),this.parentClass.GenerateReport(),this.uibModalInstance.close()}}]),t}();s.$inject=[\"$scope\",\"$uibModal\",\"Notification\",\"reportService\",\"reportHelperService\",\"$filter\",\"$stateParams\"],i.default.component(\"reportEditor\",{template:n(428),controller:s,bindings:{resolve:\"<\",masterreport:\"=\",isModal:\"@\",uibModalInstance:\"<\",parentClass:\"<\",reporttype:\"<\"}})}).call(t,n(9))},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    tokens.add_token_click

    ',o=\"tokensModal.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    fields.edit_field

    fields.header

    pt

    fields.text

    pt

    fields.field_options

    %

    fields.sum

    ',o=\"fieldOptionsModal.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='

    fields.edit_groups

    ',o=\"groupOptionsModal.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='
    {{fields.Title|i18next}}\\n \\n {{field.TableTitle|i18next}}\\n {{ field.Title|i18next }}
    {{group.Title|i18next}} {{field.TableTitle|i18next}}\\n \\n{{ field.Title|i18next }}\\n \\n \\n \\n
    {{ $ctrl.parentData.group.FooterTitle | i18next}} tokens.add
    ',o=\"reportEditor.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=n(414),i=r(o),s=function e(){a(this,e)};s.$inject=[],i.default.component(\"reportHeader\",{bindings:{ngModel:\"<\"},template:n(430),controller:s})},function(e,t){var n,r=window.angular;try{n=r.module([\"ng\"])}catch(e){n=r.module(\"ng\",[])}var a='
    • {{ row == \\'\\' ? \\' \\' : row }}
    • {{ row == \\'\\' ? \\' \\' : row }}
    {{ $ctrl.ngModel.HeaderText }}
    ',o=\"reportHeader.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var o=function(){function e(e,t){for(var n=0;n ',o=\"aggregateTable.html\";n.run([\"$templateCache\",function(e){e.put(o,a)}]),e.exports=a},function(e,t,n){(function(e){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.TokensModalController=void 0;var o=function(){function e(e,t){for(var n=0;n0&&(o=\" \"+e.map(a.AlsoDisplay,function(e){return n(\"reportTableColumn\")(t,e)}).join(\" \"));var i=a.Type,s=t[a.Name];if(a.OverrideText&&t[a.OverrideText]&&(i=\"Text\",s=t[a.OverrideText]),null===s||void 0===s||\"\"===s)return r.trustAsHtml(o);var l,c;switch(\"bold\"==a.TextFontStyle||\"italic\"==a.TextFontStyle||a.TextFontSizePt>0?(c=!0,l=''+(void 0!==a.Prefix?a.Prefix:\"\")):(l=void 0!==a.Prefix?a.Prefix:\"\",c=!1),i){case\"Text\":l+=e.escape(s);break;case\"Integer\":l+=parseInt(s,10);break;case\"Ratio\":s*=100;case\"Percentage\":s=n(\"parsenumber\")(s),s=n(\"number\",2)(s),l+=n(\"trimdecimals\")(s)+\" %\";break;case\"Date\":s=n(\"parsedate\")(s),l+=n(\"date\",\"d.M.yyyy\")(s);break;case\"Time\":l+=n(\"date\",\"hh:mm\")(s);break;case\"Currency\":s=n(\"parsenumber\")(s),l+=s+\" €\";break;case\"Boolean\":l+=s?void 0===a.TrueValue?n(\"i18next\")(\"common.yes\"):e.escape(a.TrueValue):void 0===a.TrueValue?n(\"i18next\")(\"common.no\"):e.escape(a.FalseValue);\nbreak;case\"AdultsChildren\":l+=parseInt(s.Adults,10)+\"/\"+parseInt(s.Childs,10);break;case\"Customer\":l+=\"\",s.CompanyName&&(l+=e.escape(s.CompanyName)+\" \"),(s.FirstName||s.LastName)&&(l+=e.escape(s.FirstName)+\" \"+e.escape(s.LastName)+\"
    \"),s.PhoneNumber&&(l+=e.escape(s.PhoneNumber)+\"
    \"),s.EmailAddress&&(l+=e.escape(s.EmailAddress)+\"
    \"),(s.StreetAddress||s.PostalNumber||s.PostalAddress)&&(l+=e.escape(s.StreetAddress)+\" \",l+=e.escape(s.PostalNumber)+\" \",l+=e.escape(s.PostalAddress)+\"
    \"),s.Country&&(l+=e.escape(s.Country)),l+=\"
    \";break;case\"DateTime\":l+=n(\"date\",\"d.M.yyyy H:mm\")(s);break;case\"HrefLink\":l+='',s.GlyphIcon&&(l+=''),l+=e.escape(n(\"i18next\")(s.Title)),l+=\"\";break;default:return r.trustAsHtml(o)}return r.trustAsHtml(l+(void 0!==a.Suffix?a.Suffix:\"\")+o+(c?\"
    \":\"\"))}}])}).call(t,n(9))},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}var r=n(414),a=t(r);a.default.filter(\"reportTableRow\",[\"$filter\",\"$sce\",function(t,n){return function(r,a,o){var i=\"\";if(r.MetadataGroup.PadLeft>0&&(i+='',a-=r.MetadataGroup.PadLeft),\"Line\"!=r.MetadataGroup.Type&&\"Headers\"!=r.MetadataGroup.Type)e.forEach(r.MetadataRow,function(e){s=[\"column-\"+e.Name,\"padding-mode-\"+r.MetadataGroup.PaddingMode],e.Class&&s.push(e.Class),e.LineBreaks||s.push(\"no-linebreaks\"),i+='',null!==r.HtmlData[e.Name]&&void 0!==r.HtmlData[e.Name]&&(i+=r.HtmlData[e.Name]),i+=\"\"});else{var s=[\"padding-mode-\"+r.MetadataGroup.PaddingMode,r.MetadataGroup.Type];i+='',e.forEach(r.MetadataRow,function(e){var n=[\"column-\"+e.Name,e.Class];e.LineBreaks||n.push(\"no-linebreaks\");var a=\"\";e.Title&&(a=\"font-size: \"+e.HeaderFontSizePt+\";\",\"bold\"==e.HeaderFontStyle?a+=\"font-weight: bold;\":\"italic\"==e.HeaderFontStyle&&(a+=\"font-style: italic;\"),i+='',i+=t(\"i18next\")(e.Title,{lng:o}),i+=\": \"),null!==r.HtmlData[e.Name]&&void 0!==r.HtmlData[e.Name]&&(i+=r.HtmlData[e.Name]),\"Headers\"==r.MetadataGroup.Type&&(i+=\"
    \")}),i+=\"\"}return n.trustAsHtml(i)}}])}).call(t,n(9))},function(e,t,n){(function(e){\"use strict\";function t(e){return e&&e.__esModule?e:{default:e}}var r=n(414),a=t(r);a.default.filter(\"reportTableHeaderRow\",[\"$filter\",\"$sce\",\"$sanitize\",function(t,n,r){return function(t,a,o,i,s){var l=\"\";return a.PadLeft>0&&(l+='',i-=a.PadLeft),e.forEach(t,function(t,n){var a=[];if(a.push(\"header-\"+o+\"-\"+n,\"sort-on-click\"),l+='',l+=r(t.Title),s&&s[o]){var i=e.find(s[o],function(e){return e.Name==t.Name});i&&\"asc\"==i.Direction?l+='':i&&\"desc\"==i.Direction&&(l+='')}l+=\"\"}),n.trustAsHtml(l)}}])}).call(t,n(9))},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.name=void 0;var a=n(440),o=r(a),i=n(441),s=n(442),l=n(445),c=n(446),u=n(447),d=n(448),p=n(449),f=n(451),g=n(452),m=n(453),h=n(454),v=n(455),b=n(456),y=n(457),w=n(458),k=n(459),x=n(461),$=n(462),C=n(463),S=n(464),P=n(465),D=n(466),T=n(555),R=n(556);t.name=o.default.name;o.default.service(\"winresCloudService\",i.WinresCloudService),o.default.service(\"customerService\",s.CustomerService),o.default.service(\"productService\",l.ProductService),o.default.service(\"destinationService\",c.DestinationService),o.default.service(\"ownerService\",u.OwnerService),o.default.service(\"groupReservationService\",d.GroupReservationService),o.default.service(\"reservationService\",p.ReservationService),o.default.service(\"reportService\",f.ReportService),o.default.service(\"departureService\",g.DepartureService),o.default.service(\"internetClassificationService\",m.InternetClassificationService),o.default.service(\"exportService\",h.ExportService),o.default.service(\"websiteService\",v.WebsiteService),o.default.service(\"busService\",b.BusService),o.default.service(\"omalomaService\",y.OmalomaService),o.default.service(\"messageService\",w.MessageService),o.default.service(\"scheduleService\",k.ScheduleService),o.default.service(\"cancelService\",x.CancelService),o.default.service(\"analyticsService\",$.AnalyticsService),o.default.service(\"filebankService\",C.FilebankService),o.default.service(\"regionService\",S.RegionService),o.default.service(\"discountService\",P.DiscountService),o.default.service(\"urlService\",D.UrlService),o.default.service(\"paramService\",T.ParamService),o.default.service(\"agentService\",R.AgentService)},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=angular.module(\"winresCloud.winresCloud\",[\"winresCloud.core\"])},function(e,t,n){(function(e,r){\"use strict\";function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.WinresCloudService=void 0;var o=function(){function e(e,t){for(var n=0;n6&&void 0!==arguments[6]?arguments[6]:void 0;o&&this.loadingOverlayService&&(this.loadingOverlayService.start(),e(\"body\").addClass(\"loading\"));var u=void 0;if(void 0!==this.cachedRequests[t+\"-\"+l])u=this.cachedRequests[t+\"-\"+l];else{var d=this.$q.defer();u=this.getDefaultHeaders().then(function(e){var r={timeout:d.promise,headers:e};return i&&(r.responseType=i),s.$http.post(s.endpoint+t,n,r)}),u.cancel=function(){d.resolve()},this.cancelService.register(u),u.then(function(e){return s.cancelService.unregister(u)},function(e){return s.cancelService.unregister(u)}),void 0!==l&&(this.cachedRequests[t+\"-\"+l]=u)}return u.then(function(n){var a;return a=\"blob\"==i||\"arraybuffer\"==i?n.data:n.data[t+\"Result\"],o&&s.loadingOverlayService&&(s.loadingOverlayService.stop(),e(\"body\").removeClass(\"loading\")),r&&r(a),a},function(r){\"abort\"!==r.xhrStatus&&(401!=r.status&&c.error(\"Error when making a Winres Cloud Request:\",t,n,r),o&&s.loadingOverlayService&&(s.loadingOverlayService.stop(),e(\"body\").removeClass(\"loading\")),a&&a(r),401==r.status&&(c.warn(\"Unauthorized (probably session has expired):\",t,n,r),s.$rootScope.$broadcast(\"sessionExpired\")))})}},{key:\"makeRequestWithResponse\",value:function(e,t){var n=this,r=this.$q.defer(),a=this.getDefaultHeaders().then(function(a){var o={timeout:r.promise,headers:a};return n.$http.post(n.endpoint+e,t,o)});return a.cancel=function(){r.resolve()},this.cancelService.register(a),a.then(function(t){return n.cancelService.unregister(a),t.data[e+\"Result\"]},function(r){if(n.cancelService.unregister(a),\"abort\"===r.xhrStatus)return void c(\"HTTP: Request was cancelled.\");throw 401!=r.status&&c.error(\"[WRC] HTTP: Error:\",e,t,r),401==r.status&&(c.warn(\"HTTP: Unauthorized. Session may have expired.\",e,t,r),n.$rootScope.$broadcast(\"sessionExpired\")),r})}},{key:\"makeAuthenticatedRequestWithResponse\",value:function(e,t){var n=this;return this.userService.getCurrentUser()?(t||(t={}),this.makeRequestWithResponse(e,this.authenticateRequest(t))):(c(\"Not logged in - delaying request:\",e),this.$q(function(t,r){n.$rootScope.$on(\"login\",function(){c(\"User logged in - Doing a delayed request:\",e),t()})}).then(function(){return n.makeAuthenticatedRequestWithResponse(e,t)}))}},{key:\"makeAuthenticatedRequest\",value:function(e,t,n,r,a,o){var i=this,s=this;return this.userService.getCurrentUser()?(t||(t={}),this.makeRequest(e,this.authenticateRequest(t),!1,o,n,r,a)):(c(\"Not logged in - delaying request:\",e),this.$q(function(t,n){i.$rootScope.$on(\"login\",function(){c(\"User logged in - Doing a delayed request:\",e),t()})}).then(function(){return s.makeAuthenticatedRequest(e,t,n,r)}))}},{key:\"authenticateRequest\",value:function(e){return e=r.clone(e),e.SessionID=this.userService.getCurrentUser().getSessionId(),e.Agent={OfficeID:this.agentService.officeID,ClerkID:this.agentService.clerkID,Timestamp:this.agentService.timestamp},e}},{key:\"request\",value:function(e,t,n){var r=this.getUserWhenAvailable().then(function(e){return{Authorization:\"Bearer \"+e.getSessionId(),\"X-Winres-Session-ID\":e.getSessionId()}});return this.requestInternal(e,t,n,r)}},{key:\"requestUnauthenticated\",value:function(e,t,n){var r=this.$q.resolve({});return this.requestInternal(e,t,n,r)}},{key:\"requestInternal\",value:function(e,t,n,a){var o=this;n=n||{};var i=this.$q.defer(),s=a.then(function(a){var s=o.$q.defer(),l=o.getDefaultHeaders().then(function(l){var c=r.assign({},n,{method:e,url:o.endpoint+t,data:n.data,headers:r.assign({},n.headers||{},l,a),timeout:s.promise,eventHandlers:{},uploadEventHandlers:{progress:function(e){return i.notify({type:\"upload-progress\",event:e})}},cache:n.cache});return o.$http(c)});return l.cancel=function(){s.resolve()},o.cancelService.register(l),l.then(function(e){return o.cancelService.unregister(l),e},function(e){throw o.cancelService.unregister(l),401==e.status&&o.$rootScope.$broadcast(\"sessionExpired\"),e})});return i.resolve(s),i.promise}},{key:\"get\",value:function(e,t){return this.request(\"GET\",e,t)}},{key:\"delete\",value:function(e,t){return this.request(\"DELETE\",e,t)}},{key:\"isLoggedIn\",value:function(){var e=this.getUser();return!!e}},{key:\"getUser\",value:function(){return this.userService.getCurrentUser()}},{key:\"getUserWhenAvailable\",value:function(){return this.userService.getUserWhenAvailable()}},{key:\"getEndpoint\",value:function(){return this.endpoint}},{key:\"getLanguage\",value:function(){return this.localizationService.getLanguage()}},{key:\"getDefaultHeaders\",value:function(){var e=this;return this.getServerInfo().then(function(t){var n={\"X-WRC-Frontend\":\"P 9cea3bc\"};return t.acceptsCustomReferer&&(n[\"X-WRC-Referer\"]=e.getReferer()),n})}},{key:\"getServerInfo\",value:function(){var e=this;return this.serverInfo?this.$q.resolve(this.serverInfo):this.pendingServerInfo?this.pendingServerInfo:(this.pendingServerInfo=this.fetchServerInfo().then(function(t){return e.serverInfo=t,e.pendingServerInfo=null,t}),this.pendingServerInfo)}},{key:\"fetchServerInfo\",value:function(){var e={method:\"OPTIONS\",url:this.endpoint},t=this.$http(e);return t.then(function(e){var t=e.headers(\"Access-Control-Allow-Headers\");return{acceptsCustomReferer:r.includes(t,\"X-WRC-Referer\")}},function(e){return{acceptsCustomReferer:!1}})}},{key:\"getReferer\",value:function(){return this.$location.absUrl()}}]),t}();d.$inject=[\"$http\",\"userService\",\"$injector\",\"$q\",\"$rootScope\",\"$location\",\"agentService\",\"cancelService\",\"localizationService\"]}).call(t,n(13),n(9))},function(e,t,n){(function(e,r){\"use strict\";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0}),t=e.map(t,i)):t}function i(e){return{Amount:e.Amount,DestinationCode:e.Product.DestinationInfo.DestinationCode,ProductCode:e.Product.DestinationInfo.ProductCode,BeginDate:e.Product.BeginDate,EndDate:e.Product.EndDate,PassengerAssignments:e.PassengerAssignments,PriceSelections:e.PriceSelections,PriceGroup:e.PriceGroup,BusStopID:e.BusStopID,ExtraQuestions:u(e.Product.ExtraQuestions),Link:e.Link,Price:e.TotalPrice,Parent:e.Parent,BeginTime:e.Product.BeginTime,EndTime:e.Product.EndTime}}function s(t){var n=e.cloneDeep(t);return e.each(n,function(e){e.Gender||(e.Gender=\"MR\")}),n}function l(t){var n=t&&t.Products;return!!n&&e.some(n,function(t){if(!t||!t.PassengerAssignments)return!1;var n=t&&t.Product;if(!n)return!1;var r=n.PossiblePassengerAssignments,a=!r||e.includes(r,\"A0C0I0\");if(0===t.PassengerAssignments.length&&!a)return!0;var o=e.groupBy(t.PassengerAssignments,function(e){return e.ProductNumber});return e.some(o,function(e){var t=e.length;if(0===t)return!a;if(1===t){var r=n.DestinationInfo,o=r&&r.Accommodation,i=o&&n.HasSinglePassengerPrice===!1;return i}return!1})})}function c(t){var n=e.map(e.filter(t,function(e){return!e.IsDiscountProduct}),function(e){return{DestinationCode:e.Product.DestinationInfo.DestinationCode,ProductCode:e.Product.DestinationInfo.ProductCode,Price:e.TotalPrice||0}});return n}function u(t){return e.map(t,function(e){return{Question:e.Question,Answer:e.Answer}})}Object.defineProperty(t,\"__esModule\",{value:!0}),t.toSimpleSession=n,t.toSimpleDepartures=r,t.toSimpleDeparture=a,t.toSimpleProductLines=o,t.toSimpleProductLine=i,t.toSimplePassengers=s,t.hasClearlyInvalidPassengerAssignments=l,t.toTravelPackageProducts=c,t.toSimpleExtraQuestions=u}).call(t,n(9))},function(e,t,n){(function(e){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n=0?t:e.length-1,0,{Code:\"ulkoiset-jarjestelmat\"})}return e}},{key:\"getDisplayName\",value:function(){return\"\"!=this.loginResult.FirstName&&\"\"!=this.loginResult.LastName?this.loginResult.FirstName+\" \"+this.loginResult.LastName:this.loginResult.Company}},{key:\"getLogoUrl\",value:function(){return this.loginResult.UIDefinitions.Logo}},{key:\"getColors\",value:function(){return this.loginResult.UIDefinitions.UIColors}},{key:\"getDomain\",value:function(){var e=this.loginResult.ConnectionName;return e&&e.toLowerCase()}},{key:\"getAllowedRoles\",value:function(){return this.roles}},{key:\"getStyle\",value:function(){return this.loginResult.UIDefinitions.Style}},{key:\"getCurrentRoleId\",value:function(){return this.loginResult.CurrentRoleID}},{key:\"getShowMainMenu\",value:function(){return!0}},{key:\"getParameter\",value:function(e){return e=e.toLowerCase(),e in this.parameters?this.parameters[e]:null}},{key:\"getUserName\",value:function(){return this.loginResult.UserID}},{key:\"getOwnerNumber\",value:function(){return this.loginResult.OwnerNumber}},{key:\"getCustomerId\",value:function(){return this.loginResult.WinresCustomerID}},{key:\"getBookingNumber\",value:function(){return this.loginResult.WinresBookingNumber}},{key:\"getOffice\",value:function(){return this.loginResult.Office}},{key:\"getSessionId\",value:function(){return this.loginResult.SessionID}},{key:\"getEmail\",value:function(){return this.loginResult.Email}},{key:\"getUserType\",value:function(){return this.loginResult.UserType}},{key:\"isAdmin\",value:function(){return this.loginResult&&this.loginResult.UserType===g}},{key:\"getImpersonatingAdmin\",value:function(){return this.loginResult.ImpersonatingAdmin}},{key:\"buildRoles\",value:function(){var t=this;this.roles=e.clone(this.loginResult.AvailableRoles),e.each(this.roles,function(e){if(!e.Name)switch(e.WinresLoginType){case a:e.Name=t.$filter(\"i18next\")(\"role_titles.owner\",{number:e.WinresOwnerID});break;case o:e.Name=t.$filter(\"i18next\")(\"role_titles.maintenance\",{number:e.WinresOwnerID});break;case i:e.Name=t.$filter(\"i18next\")(\"role_titles.maintenance_2\",{number:e.WinresOwnerID});break;case s:e.Name=t.$filter(\"i18next\")(\"role_titles.customer\",{number:e.WinresCustomerID});break;case l:e.Name=t.$filter(\"i18next\")(\"role_titles.clerk\",{number:e.WinresClerkID});break;case c:e.Name=t.$filter(\"i18next\")(\"role_titles.organization\");break;case u:e.Name=t.$filter(\"i18next\")(\"role_titles.group_manager\",{number:e.WinresCustomerID});break;case d:e.Name=t.$filter(\"i18next\")(\"role_titles.group_passenger_creator\",{number:e.WinresBookingNumber});break;case p:e.Name=t.$filter(\"i18next\")(\"role_titles.group_passenger_creator\",{number:e.WinresBookingNumber,email:t.email});break;case f:e.Name=t.$filter(\"i18next\")(\"role_titles.report\");break;default:e.Name=t.$filter(\"i18next\")(\"role_titles.unknown\",{number:e.WinresLoginType})}})}},{key:\"buildParameters\",value:function(){var t=this;this.parameters={},e.each(this.loginResult.ParameterList,function(e){t.parameters[e.Code.toLowerCase()]=e.Value})}}]),t}()}).call(t,n(9))},function(e,t,n){(function(e){\"use strict\";function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.ProductService=void 0;var a=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:void 0;return Object.assign(e,{Flags:e.Flags||[]}),e.Flags.push(\"CheckSinglePassengerPrice\"),o&&e.Flags.push(\"IncludeMRMS\"),this.winresCloudService.makeAuthenticatedRequest(\"GetReservableProducts\",{SearchCriteria:e,Language:t},void 0,void 0,n)}},{key:\"getReservableProduct\",value:function(e,t,n,r){var a=this,o=e+\"-\"+t;return this.$q(function(i){a.getReservableProducts({DestinationCode:e,ProductCode:t,MinCapacity:r},n,o).then(function(e){i(e[0])})})}},{key:\"getBusRoutesByDestinationCode\",value:function(e){return this.winresCloudService.makeAuthenticatedRequest(\"GetBusRoutes\",{DestinationCode:e})}},{key:\"getReservableProductOrReasonWhyNotReservable\",value:function(e,t){return Object.assign(e,{Flags:e.Flags||[]}),e.Flags.push(\"CheckSinglePassengerPrice\"),o&&e.Flags.push(\"IncludeMRMS\"),this.winresCloudService.makeAuthenticatedRequest(\"GetReservableProductOrReasonWhyNotReservable\",{SearchCriteria:e,Language:t})}},{key:\"getReservablePrices\",value:function(e,t){return console.log(\"===========getReservablePrices==============\"),console.log(e),console.log(\"===========getReservablePrices==============\"),this.winresCloudService.makeAuthenticatedRequest(\"GetReservablePrices\",{SearchCriteria:e,Language:t})}},{key:\"searchReservableItems\",value:function(){return this.winresCloudService.makeAuthenticatedRequest(\"SearchReservableItems\",{SearchCriteria:searchCriteria,\nLanguage:language})}},{key:\"getReservableProductsGrouped\",value:function(t,n){return this.getReservableProducts(t,n).then(function(t){return e.groupBy(t,function(e){return e.LinkingInfo?e.LinkingInfo.GroupID:0})})}},{key:\"getReservableProductsGroupedByProducer\",value:function(t,n){return this.getReservableProducts(t,n).then(function(t){var n=e.groupBy(t,function(e){return e.Producer?e.Producer.Number:0}),r=e.uniq(e.map(t,function(e){return e.Producer?e.Producer.Number:0}));return e.map(r,function(e){return{Products:n[e],Producer:n[e][0].Producer}})})}},{key:\"getAccommodationPackage\",value:function(e,t,n,r){return this.winresCloudService.makeAuthenticatedRequest(\"GetWinresAccommodationPackage\",{DestinationCode:e,StartDate:t,EndDate:n,Language:r})}},{key:\"getCriteriaDefs\",value:function(t){return this.winresCloudService.makeAuthenticatedRequest(\"GetCriteriaDefs\",{DisplayFlags:t}).then(function(t){return e.mapValues(t,function(t){return e.omit(t,\"__type\")})})}},{key:\"getProductDistances\",value:function(e,t,n,r){return this.winresCloudService.makeAuthenticatedRequest(\"GetProductDistances\",{DestinationCode:e,ProductCode:t,DisplayFlags:n,Language:r})}},{key:\"getProductFeatures\",value:function(e,t,n,r){return this.winresCloudService.makeAuthenticatedRequest(\"GetProductFeatures\",{DestinationCode:e,ProductCode:t,DisplayFlags:n,Language:r})}},{key:\"getProductReview\",value:function(e,t){return this.winresCloudService.makeAuthenticatedRequest(\"GetProductReview\",{DestinationCode:e,ProductCode:t})}},{key:\"getForbiddenDays\",value:function(e,t){return this.winresCloudService.makeAuthenticatedRequest(\"GetForbiddenDays\",{StartDate:e,EndDate:t})}},{key:\"getDiscountProducts\",value:function(t,n){var r=this,a=e.filter(n,function(e){return r.isValidDiscountCode(e.DestinationInfo.DestinationCode,t.DiscountCode,e.BeginDate,e.EndDate)});e.each(a,function(e){e.IsDiscount=!0,e.OriginalPrice=e.ReservablePrices[0].Price,e.ReservablePrices[0].Price=123})}},{key:\"getReservationFee\",value:function(t){var n=this,r=t,a=e.map(r,function(e){return n.productLineForReservationFee(e)}),o=e.map(a,function(e){return e.DestinationCode+\"|\"+e.ProductCode+\"|\"+e.BeginDate+\"|\"+e.EndDate+\"|\"+e.Value+\"|\"+e.TaxPercentage}).join(\"-\");return this.winresCloudService.makeAuthenticatedRequest(\"GetReservationFee\",{FeeCategory:\"online\",products:a},void 0,void 0,o)}},{key:\"getTimeSlots\",value:function(e,t,n){var r=this,a=this.userService.getCurrentUser().getDomain(),o=\"Winres/\"+a+\"/Destinations/\"+e+\"/Products/\"+t+\"/TimeSlots/\"+n;return this.$q(function(e,t){r.winresCloudService.get(o).then(function(t){return e(t.data)},function(e){return t(e)})})}},{key:\"productLineForReservationFee\",value:function(e){return e.Product.DestinationInfo.DestinationCode||log.error(\"Tried to prepare productLine for '\"+e.Product.DestinationInfo.ProductName+\"' getting reservation fee: there is no DestinationCode: \",e.Product.DestinationInfo.DestinationCode),e.Product.DestinationInfo.ProductCode||log.error(\"Tried to prepare productLine for '\"+e.Product.DestinationInfo.ProductName+\"' getting reservation fee: there is no ProductCode\",e.Product.DestinationInfo.ProductCode),void 0!=!e.TotalPrice&&NaN!=e.TotalPrice||log.error(\"Tried to prepare productLine for '\"+e.Product.DestinationInfo.ProductName+\"' getting reservation fee: there is no TotalPrice or it is NaN\",e.TotalPrice),e.Product.BeginDate||log.error(\"Tried to prepare productLine for '\"+e.Product.DestinationInfo.ProductName+\"' getting reservation fee: there is no ProductCode\",e.Product.BeginDate),e.Product.EndDate||log.error(\"Tried to prepare productLine for '\"+e.Product.DestinationInfo.ProductName+\"' getting reservation fee: there is no ProductCode\",e.Product.EndDate),{DestinationCode:e.Product.DestinationInfo.DestinationCode,ProductCode:e.Product.DestinationInfo.ProductCode,Value:e.TotalPrice,TaxPercentage:e.Product.TaxPros,BeginDate:e.Product.BeginDate,EndDate:e.Product.EndDate}}},{key:\"getDestinationProducts\",value:function(e,t){return this.winresCloudService.makeAuthenticatedRequest(\"GetDestinationProducts\",{DestCode:e,Language:t})}}]),t}();i.$inject=[\"winresCloudService\",\"userService\",\"$q\"],Object.assign||Object.defineProperty(Object,\"assign\",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(void 0===e||null===e)throw new TypeError(\"Cannot convert first argument to object\");for(var n=Object(e),r=1;r0?e[0]:null})}},{key:\"calculateHiddenPrice\",value:function(t,n){var r={PriceGroup:t.PriceGroup,Passengers:t.Passengers,Departures:e.map(t.Departures,function(e){return{DestinationCode:e.DestinationCode,BeginDate:e.DepartureDate,EndDate:e.ArrivalDate2}})};return this.winresCloudService.makeAuthenticatedRequest(\"CalculateHiddenPrice2\",{Language:n,Input:r})}},{key:\"getExtraServices\",value:function(e,t,n,r,a,o,i){var s=r+\"|\"+t+\"|\"+n+\"|\"+a+\"|\"+o+\"|\"+i;return this.winresCloudService.makeAuthenticatedRequest(\"GetExtraServices\",{Params:{Language:e,DestCode:r,StartDate:t,EndDate:n,Num:{Adult:a,Child:o,Infant:i}}},void 0,void 0,s)}},{key:\"getServices\",value:function(e,t,n,r,a,o){return this.winresCloudService.makeAuthenticatedRequest(\"GetServices\",{Params:{Language:e,BeginDate:t,EndDate:n,DestCode:r,ProdCode:a,Passengers:o}})}}]),t}());s.$inject=[\"winresCloudService\",\"cancelService\",\"$timeout\"]}).call(t,n(9))},,function(e,t,n){(function(e){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n0,AvailableMR:t.FreePlacesMR,AvailableMS:t.FreePlacesMS,HasFreeMRPlaces:t.HasFreeMRPlaces,HasFreeMSPlaces:t.HasFreeMSPlaces},Departure:{DestinationCode:t.DestinationCode,PriceFrom2hh:t.Pricing.Price,DepartureDate:o,ArrivalDate2:i},PriceDescription:t.Pricing.Label,Price:t.Pricing.Price,IsReservableWithCurrentCriteria:t.Reservable,ReservationLink:r?t.ReserveLink:void 0,AdditionalDescriptionLink:t.AdditionalDescriptionLink}})}})}},{key:\"searchReservableItemsProxy\",value:function(e,t,n){return this.searchReservableItems(e,t,n).then(function(e){return i(5,\"\",e)})}},{key:\"searchReservableItemsWithSearchDayCapacity\",value:function(t,r,a){if(e.includes(t.Classifications1,\"AK\"))return this.searchReservableItemsWithSearchActivities(t,r,a);var o={Language:a,Offset:t.Offset,Limit:t.Limit,Sort:t.Sort,BeginDate:t.StartDate,EndDate:t.EndDate,DestClasses1:t.Classifications1,DestClasses2:t.Classifications2,DestClasses3:t.Classifications3,DestClasses4:t.Classifications4,DestClasses5:t.Classifications5,DestRegions:t.Regions,NumAdults:t.NumAdults,NumChildren:t.NumChildren,NumInfants:t.NumInfants,ChildAges:t.ChildAges,NumRooms:t.NumRooms,IncludeCriteriaValues:e.includes(t.Flags,\"GetCriteriaValues\"),IgnoreCapacity:t.IgnoreCapacity,IgnoreMissingPrice:t.IgnoreMissingPrice,DestProducers:t.Producers,ProdPriceCategories:t.PriceCategories,DiscountCode:t.DiscountCode,IgnoreEverything:t.IgnoreEverything};return this.searchDayCapacity(o).then(function(a){if(!a)return null;var o=\"Y-MM-DDTHH:mm:ss.SSSSSSS\",i=n(t.StartDate).format(o),s=n(t.EndDate).format(o),l=a.Offset+a.Results.length;return{Total:a.Total,HasMore:l0,Price:e.Price.Price>0},ReservablePrices:e.ReservablePrices,UsesTimeSlots:e.Prod.UsesTimeSlots},ExternalSystem:e.ExternalSystem}})}})}},{key:\"searchReservableItemsWithSearchActivities\",value:function(t,r,a){var o={Language:a,Offset:t.Offset,Limit:t.Limit,Sort:[\"DateTime\"].concat(t.Sort||[]),SearchBeginDate:t.StartDate,SearchEndDate:t.EndDate,DestClasses1:t.Classifications1,DestClasses2:t.Classifications2,DestClasses3:t.Classifications3,DestClasses4:t.Classifications4,DestClasses5:t.Classifications5,DestRegions:t.Regions,NumAdults:t.NumAdults,NumChildren:t.NumChildren,IncludeCriteriaValues:e.includes(t.Flags,\"GetCriteriaValues\"),IgnoreCapacity:t.IgnoreCapacity,IgnoreMissingPrice:t.IgnoreMissingPrice,DestProducers:t.Producers,ProdPriceCategories:t.PriceCategories,DiscountCode:t.DiscountCode};return this.searchActivities(o).then(function(t){if(!t)return null;var a=\"Y-MM-DDTHH:mm:ss.SSSSSSS\",o=t.Offset+t.Results.length;return{Total:t.Total,HasMore:o0,Price:e.Price.Price>0},ReservablePrices:e.ReservablePrices,UsesTimeSlots:e.Prod.UsesTimeSlots},ExternalSystem:e.ExternalSystem}})}})}},{key:\"searchReservableItemsWithSearchPackages\",value:function(t,r,a){var o={Language:a,Offset:t.Offset,Limit:t.Limit,Sort:[\"DateTime\"].concat(t.Sort||[]),SearchBeginDate:t.StartDate,SearchEndDate:t.EndDate,DestClasses1:t.Classifications1,DestClasses2:t.Classifications2,DestClasses3:t.Classifications3,DestClasses4:t.Classifications4,DestClasses5:t.Classifications5,DestRegions:t.Regions,NumAdults:t.NumAdults,NumChildren:t.NumChildren,IncludeCriteriaValues:e.includes(t.Flags,\"GetCriteriaValues\"),IgnoreCapacity:t.IgnoreCapacity,IgnoreMissingPrice:t.IgnoreMissingPrice,DestProducers:t.Producers,ProdPriceCategories:t.PriceCategories,DiscountCode:t.DiscountCode};return this.searchPackages(o).then(function(t){if(!t)return null;var a=\"Y-MM-DDTHH:mm:ss.SSSSSSS\",o=t.Offset+t.Results.length;return{Total:t.Total,HasMore:o0,Price:e.Price.Price>0},ReservablePrices:e.ReservablePrices,UsesTimeSlots:e.Prod.UsesTimeSlots},ExternalSystem:e.ExternalSystem}})}})}},{key:\"searchReservableItems\",value:function(e,t,n){return this.winresCloudService.makeAuthenticatedRequest(\"SearchReservableItems\",{\nLanguage:n,WithReserveLink:t,SearchCriteria:e})}},{key:\"getDeparturesInfo\",value:function(e,t){return this.winresCloudService.makeAuthenticatedRequest(\"GetDeparturesInfo\",{DestCodes:e,Language:t})}},{key:\"getExtraQuestions\",value:function(e,t){return this.winresCloudService.makeAuthenticatedRequest(\"GetExtraQuestions\",{Products:e,Language:t})}},{key:\"getWinresDeparture\",value:function(e,t,n,r,a){return this.winresCloudService.makeAuthenticatedRequest(\"GetWinresDeparture\",{DestinationCode:e,DepartureDate:t,ArrivalDate:n,Language:r,GetCapacityAvailable:a})}},{key:\"getDepartureAccommodations\",value:function(e,t,n,r){return this.winresCloudService.makeAuthenticatedRequest(\"GetDepartureAccommodations\",{DestCode:e,BeginDate:t,EndDate:n,StopID:r,Language:this.winresCloudService.getLanguage()})}},{key:\"searchDayCapacityWithDiscountCode\",value:function(e,t,n){var r=this;return this.searchReservableItemsWithSearchDayCapacity(e,t,n).then(function(t){return r.getDiscountResults(e,t.Results)})}},{key:\"isValidDiscountCode\",value:function(t,n){var r=[{DestCode:\"MK8VUO\",DiscountCode:\"ABCD\"},{DestCode:\"PK6VUOB\",DiscountCode:\"XXXX\"}];return e.some(r,function(e){return t===e.DestCode&&n===e.DiscountCode})}},{key:\"getDiscountResults\",value:function(t,n){var r=this,a=e.filter(n,function(e){return r.isValidDiscountCode(e.Destination.DestinationCode,t.DiscountCode)});return e.each(a,function(e){e.IsDiscount=!0,e.OriginalPrice=e.Price,e.Price=123,e.DiscountPrice=-(e.OriginalPrice-e.Price)}),{Offset:0,Results:a}}}]),t}();l.$inject=[\"winresCloudService\",\"$filter\"]}).call(t,n(9),n(41))},function(e,t,n){(function(e){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&(t.Value=null),2===t.Level&&(this.destinations.push(t),e.each(t.Children,function(e){n.addToDestinations(e)}))}}]),t}();a.$inject=[\"winresCloudService\",\"localizationService\"]}).call(t,n(9))},function(e,t,n){(function(e){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n\";return e('link[rel=\"stylesheet\"]').each(function(){if(\"screen\"!==e(this).attr(\"media\")){var t=e(this).attr(\"href\");r+=''}}),e(\"style\").each(function(){r+=\"\"}),r+=\"\"+t+\"\",this.exportPdf(r,n)}},{key:\"exportPdf\",value:function(e,t){var n=this;return this.winresCloudService.makeAuthenticatedRequest(\"ExportPdf\",{Html:e,Filename:t},!0,\"blob\").then(function(e){e&&n.downloadFile(e,t)})}},{key:\"exportExcel\",value:function(e,t){var n=this;return this.winresCloudService.makeAuthenticatedRequest(\"ExportExcel\",{Spreadsheet:e,Filename:t},!0,\"blob\").then(function(e){e&&n.downloadFile(e,t)})}},{key:\"downloadFile\",value:function(t,n){var r=window.URL.createObjectURL(t),a=e(\"\").attr(\"href\",r).attr(\"download\",n);e(\"body\").append(a),a[0].click(),window.URL.revokeObjectURL(r),e(a).remove()}}]),t}();a.$inject=[\"winresCloudService\"]}).call(t,n(13))},function(e,t){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n0?t[0].DestinationInfo:(console.warn(\"[OS] Booking has no sample product lines:\",e),null)}function s(e){return p(e.Productlines.products)}function l(t){if(!t.Departures||0==t.Departures.length)throw\"[OS] departureInfoFromBooking: No departures.\";return e.map(t.Departures,c)}function c(e){return[u(e.DeparturePlace,e.ArrivalPlace,e.DepartureVehicle,e.DepartureDate,e.DepartureTime,e.ArrivalDate,e.ArrivalTime),u(e.DeparturePlace2,e.ArrivalPlace2,e.ArrivalVehicle,e.DepartureDate2,e.DepartureTime2,e.ArrivalDate2,e.ArrivalTime2)]}function u(e,t,n,r,a,o,i){return{from:e,to:t,vehicle:n,begin:d(r,a),end:d(o,i)}}function d(e,t){var n=e.indexOf(\"T\");n!==-1&&(e=e.substring(0,n));var a=e+\"T\"+t;return r(a).format(\"D.M.YYYY [klo] H.mm\")}function p(e){var t=g(e);return f(t)}function f(t){var n=t[0],r=e.find(e.map(t,function(e){return e.DestinationInfo.Images[0]}));if(!n)return null;var a=\"IF\"==n.DestinationInfo.ProductType?n.DestinationInfo.ProductName:n.DestinationInfo.DestinationName;return{Headline:n.DestinationInfo.Headline,Subtitle:a,BeginDate:n.BeginDate,EndDate:n.EndDate,BeginTime:n.BeginTime,EndTime:n.EndTime,Image:r}}function g(t){var n=[],r=[],a=[],o=[],i=[];e.forEach(t,function(e){var t=e.DestinationInfo;if(\"IF\"==t.ProductType)n.push(e);else{if(\"X\"==t.ProductCode[0]||\"X\"==t.DestinationCode[0])return;\"0MAT\"==t.ProductCode||\"1MAT\"==t.ProductCode?r.push(e):\"HU\"==t.ProductType||\"MÖ\"==t.ProductType||\"MA\"==t.ProductType?a.push(e):\"HY\"==t.ProductType?o.push(e):i.push(e)}});var s=e.concat(n,r,a,o,i);return s}function m(e){return e.DestinationInfo.Accommodation}function h(t){if(0===t.length)return[];var n=e.groupBy(t,function(e){return e.BeginDate+\" - \"+e.EndDate});return e.flatMap(n,function(t){return{DestinationCode:t[0].DestinationCode,ProductCode:t[0].ProductCode,BeginDate:t[0].BeginDate,EndDate:t[0].EndDate,Capacity:e.sumBy(t,function(e){return e.Capacity}),Price:e.sumBy(t,function(e){return e.Price}),PriceQuantities:e.reduce(e.map(t,function(e){return e.PriceQuantities}),v),Passengers:e.reduce(e.map(t,function(e){return e.Passengers}),y),LinkingInfo:t[0].LinkingInfo}})}function v(t,n){return e.zipWith(t,n,b)}function b(e,t){return{Header:e.Header,Price:e.Price,Quantity:e.Quantity+t.Quantity}}function y(t,n){return e.zipWith(t,n,function(e,t){return e||t})}Object.defineProperty(t,\"__esModule\",{value:!0}),t.OmalomaService=void 0;var w=function(){function e(e,t){for(var n=0;no&&(o=r(e.EndDate))}),n=n.format(\"YYYY-MM-DD\"),o=o.format(\"YYYY-MM-DD\"),a({BeginDate:n,EndDate:o})})})}},{key:\"getBooking\",value:function(e){var t=this;return this.tryCache(\"Booking\",e,function(){return t.fetchBooking(e)})}},{key:\"fetchBooking\",value:function(e){var t=this,n=this.getCustomerNumber().then(function(n){return t.customerService.getCustomerBooking(n,e,t.language())});return this.cachePromise(\"Booking\",e,n),this.cachePromise(\"DestinationInfo\",e,n.then(i)),this.cachePromise(\"HeaderInfo\",e,n.then(s)),this.cachePromise(\"ProductLines\",e,n.then(function(e){return e.Productlines.products})),this.cachePromise(\"Passengers\",e,n.then(function(e){return e.Passengers})),n}},{key:\"getCustomerBooking\",value:function(e){return this.getBooking(e)}},{key:\"getPassengers\",value:function(e){var t=this;return this.tryCache(\"Passengers\",e,function(){return t.fetchBooking(e)})}},{key:\"getDestinationInfo\",value:function(e){var t=this;return this.tryCache(\"DestinationInfo\",e,function(){return t.fetchBooking(e)})}},{key:\"getPassengerFieldSettings\",value:function(e){return this.getDestinationInfo(e).then(function(e){return e.PassengerFieldSettings})}},{key:\"getHeaderInfo\",value:function(e){var t=this;return this.tryCache(\"HeaderInfo\",e,function(){return t.fetchBooking(e)})}},{key:\"getProductLines\",value:function(e){var t=this;return this.tryCache(\"ProductLines\",e,function(){return t.fetchBooking(e)})}},{key:\"getAccommodations\",value:function(t){return this.getProductLines(t).then(function(t){return e.filter(t,m)})}},{key:\"getSchedule\",value:function(e){return this.getBooking(e).then(l)}},{key:\"getBookedExtraServices\",value:function(t){return this.getCustomerReservableExtraServices(t).then(function(t){var n=t.Lookups.ExtraServiceProductLines;return e.flatMap(n,function(t){return e.flatMap(t,h)})})}},{key:\"getCustomerReservableExtraServices\",value:function(e){var t=this;return this.tryCache(\"CustomerReservableExtraServices\",e,function(){return t.fetchCustomerReservableExtraServices(e)})}},{key:\"fetchCustomerReservableExtraServices\",value:function(e){var t=this,n=this.getCustomerNumber().then(function(n){return t.customerService.getCustomerReservableExtraServices(n,e,t.language())});return this.cachePromise(\"CustomerReservableExtraServices\",e,n),this.cachePromise(\"Passengers\",e,n.then(function(e){return e.Passengers})),n}},{key:\"getCustomerAreaServices\",value:function(e){var t=this;return this.tryCache(\"CustomerAreaServices\",e,function(){return t.fetchCustomerAreaServices(e)})}},{key:\"fetchCustomerAreaServices\",value:function(e){var t=this,n=this.getCustomerNumber().then(function(n){return t.customerService.getCustomerAreaServices(n,e,t.language())});return this.cachePromise(\"CustomerAreaServices\",e,n),n}},{key:\"getCustomerReservableAreaServices\",value:function(e,t,n){var r=this;return this.tryCache(\"CustomerReservableAreaServices\",e,function(){return r.fetchCustomerReservableAreaServices(e,t,n)})}},{key:\"fetchCustomerReservableAreaServices\",value:function(e,t,n){var r=this,a=this.getCustomerNumber().then(function(a){return r.customerService.getCustomerReservableAreaServices(a,e,r.language(),t,n)});return this.cachePromise(\"CustomerReservableAreaServices\",e,a),a}},{key:\"bookCustomerExtraServices\",value:function(e,t){var n=this,r=this.getCustomerNumber().then(function(r){return n.customerService.bookCustomerExtraServices(r,e,t)});return r.then(function(){return n.invalidateCache()}),r}},{key:\"getBookingBalance\",value:function(e){var t=this;return this.tryCache(\"BookingBalance\",e,function(){return t.fetchBookingBalance(e)})}},{key:\"getCustomerBookingBalance\",value:function(e){return this.getBookingBalance(e)}},{key:\"fetchBookingBalance\",value:function(e){var t=this,n=this.getCustomerNumber().then(function(n){return t.customerService.getCustomerBookingBalance(n,e)});return this.cachePromise(\"BookingBalance\",e,n),n}},{key:\"getCustomerPaymentMethods\",value:function(e,t){var n=this;return this.getCustomerNumber().then(function(r){return n.customerService.getCustomerPaymentMethods(r,e,t)})}},{key:\"getSessionId\",value:function(e){return this.customerService.winresCloudService.getUser().loginResult.SessionID}},{key:\"getBookingFiles\",value:function(e){return this.customerService.getBookingFiles(e)}},{key:\"getBookingLinks\",value:function(e){return this.customerService.getBookingLinks(e)}},{key:\"getCustomerBookingFiles\",value:function(e){return this.customerService.getCustomerBookingFiles(e)}},{key:\"getCustomerBookingFileTypes\",value:function(){return this.customerService.getCustomerBookingFileTypes()}},{key:\"getDepartureDocuments\",value:function(e,t,n){return this.customerService.getDepartureDocuments(e,t,n)}},{key:\"payCustomerBooking\",value:function(e,t){var n=this;return this.getCustomerNumber().then(function(r){return n.customerService.payCustomerBooking(r,e,t,n.language())}).then(function(e){if(e&&e.RedirectData)return e;throw e}).then(function(e){if(e.HtmlForm){var t=a(e.RedirectData);a(\"body\").append(t),t.submit()}else window.location=e.RedirectData;return!0})}},{key:\"returnedFromPaymentService\",value:function(){return!!this.paymentID()}},{key:\"paymentID\",value:function e(){var e=(0,k.getParameter)(\"customerPaymentID\");return e||null}},{key:\"confirmPayment\",value:function(){var e=this,t=this.paymentID(),n=\"\"+window.location;return this.customerService.confirmCustomerPaymentByReturnUrl(n).then(function(n){if(n.OriginalOkUrl){console.log(\"[OS] Confirmed payment:\",t);var r=n.OriginalOkUrl.replace(/https?:\\/\\/[^\\/]*/,\"\")||\"/\";return console.log(\"[OS] Redirecting to:\",r),window.location=r,e.invalidateCache(),!0}throw n.Result})}},{key:\"loadPrivateCustomerBookingFile\",value:function(e){return this.customerService.loadPrivateCustomerBookingFile(e)}},{key:\"uploadPrivateCustomerBookingFile\",value:function(e,t,n){return this.customerService.uploadPrivateCustomerBookingFile(e,t,n)}},{key:\"getCustomerNumber\",value:function(){return this.customerService.getUserCustomerNumberWhenAvailable()}},{key:\"connectionNameIfLoggedIn\",value:function(){return this.customerService.getConnectionNameIfLoggedIn()}},{key:\"language\",value:function(){return this.localizationService.getLanguage()}}]),t}();x.$inject=[\"$q\",\"$rootScope\",\"userService\",\"customerService\",\"localizationService\"]}).call(t,n(9),n(41),n(13))},function(e,t,n){(function(e){\"use strict\";function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.MessageService=void 0;var a=function(){function e(e,t){for(var n=0;n0?o[0].data:null}},{key:\"getWeekScheduleItemInfo\",value:function(e,t,n){var r=this,a=this.winresCloudService.getLanguage(),o=this.getFromCache(e,t,n,a);if(o)return this.$q.resolve(o);var i=\"Winres/x/Destinations/\"+e+\"/Products/\"+t+\"/BriefInfo?BeginDate=\"+n+\"&Language=\"+a;return this.winresCloudService.get(i).then(function(o){return r.addToCache(e,t,n,a,o.data),o.data})}},{key:\"getDummyWeekSchedule\",value:function(e,t){var n=this;console.log(\"[ScheduleService] Getting dummy schedule for week \"+t+\"/\"+e+\".\");var r=this.$timeout(2e3);return r.cancel=function(){n.$timeout.cancel(r)},this.cancelService.register(r),r.then(function(){return i[e]&&i[e][t]?i[e][t]:n.getDummyWeekScheduleError()},function(){return console.log(\"[ScheduleService] Dummy request was canceled.\"),null})}},{key:\"getDummyWeekScheduleError\",value:function(){return this.$q.reject(i.error)}},{key:\"cancel\",value:function(e){this.cancelService.cancel(e)}},{key:\"getCustomerNumber\",value:function(){return this.customerService.getUserCustomerNumberWhenAvailable()}},{key:\"connectionNameIfLoggedIn\",value:function(){return this.customerService.getConnectionNameIfLoggedIn()}}]),t}();s.$inject=[\"$q\",\"$timeout\",\"winresCloudService\",\"cancelService\"]}).call(t,n(9))},,function(e,t,n){(function(e){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function r(e){return e&&e.$$state&&1===e.$$state.status}function a(t,n){if(t===n)return!0;var r=n.$$state&&n.$$state.pending||[];return e.some(r,function(e){return a(t,e[0])})}Object.defineProperty(t,\"__esModule\",{value:!0});var o=function(){function e(e,t){for(var n=0;n0}},{key:\"isAnalyticsEventSent\",value:function(t){return e.some(this.gaSent,function(e){return e===t})}},{key:\"analyticsEvent\",value:function(t,n){var r=this;this.gaSent||(this.gaSent=[]);var o=t;if(n&&\"object\"!=(\"undefined\"==typeof n?\"undefined\":a(n))&&(o+=n),!this.isAnalyticsEventSent(o)){s(\"Analytics event:\",t,n,o);try{switch(this.gaSent.push(o),t){case\"trackCheckout\":this.getProduct(!0).then(function(e){r.analyticsTrackCheckout(n,e)});break;case\"trackCart\":this.getProduct(!0).then(function(e){r.analyticsTrackCart(e)});break;case\"returnFromBank\":if(n.Booking)this.analyticsReturnFromBank(n.Booking.Productlines.products[0]);else{var i=n.Productlines.products,l=e.find(i,function(e){return e.DestinationInfo.Accommodation===!0});void 0===l&&e.find(i,function(e){return!e.LinkingInfo||e.LinkingInfo.IsForEachPassenger}),void 0===l&&(l=n.Productlines.products[0]),this.analyticsReturnFromBank(l,n.BookInfos.BookingNumber)}}}catch(e){console.error(\"[contextService] error when sending Google Analytics event: \",t,this.product,e)}}}},{key:\"dataLayerOnSearch\",value:function(e){this.urlService.isKohdeSivu()||this.isReturnFromBank()||window.dataLayer.push({event:\"search\",adults:e.searchCriteria.NumAdults,children:e.searchCriteria.NumChildren,toddlers:e.searchCriteria.NumInfants,region:e.selectedRegion?e.selectedRegion.Name:\"All\",start_date:e.searchCriteria.StartDate,end_date:e.searchCriteria.EndDate})}},{key:\"dataLayerOnLoadProduct\",value:function(e){!this.urlService.isKohdeSivu()||this.isReturnFromBank()||this.dataLayerProductLoad||(this.dataLayerProductLoad=!0,window.dataLayer.push({id:e.DestinationInfo.DestinationCode+\"|\"+e.DestinationInfo.ProductCode,pagetype:\"offerdetail\",value:e.Price,event:\"viewItem\"}))}},{key:\"dataLayerOnAddProductToCart\",value:function(e){this.urlService.isKohdeSivu()&&!this.isReturnFromBank()&&window.dataLayer.push({id:e.Product.DestinationInfo.DestinationCode+\"|\"+e.Product.DestinationInfo.ProductCode,pagetype:\"cart\",\nvalue:e.TotalPrice,event:\"addToCart\"})}},{key:\"dataLayerOnOpenCart\",value:function(t){if(this.urlService.isKohdeSivu()&&!this.isReturnFromBank()){var n=void 0;void 0!==t&&(n=e.find(t,function(e){return e.Product.DestinationInfo.Accommodation}));var r=t[0],a=n||r;void 0!==r&&window.dataLayer.push({id:a.Product.DestinationInfo.DestinationCode+\"|\"+a.Product.DestinationInfo.ProductCode,start_date:a.Product.BeginDate,end_date:a.Product.EndDate,pagetype:\"conversionintent\",value:this.data.totalPrice,event:\"viewCart\"})}}},{key:\"dataLayerOnReturnFromBank\",value:function(t){var n=e.find(t.Productlines.products,function(e){return e.DestinationInfo.Accommodation}),r=t.BookInfos.TotalPrice,a=e.map(t.Productlines.products,function(e){return{name:e.DestinationInfo.ProductName,id:e.DestinationInfo.DestinationCode+\"|\"+e.DestinationInfo.ProductCode,price:e.SelectedPrices[0].Price,brand:\"\",category:\"\",variant:\"\",quantity:e.SelectedPrices[0].Quantity,coupon:\"\"}});window.dataLayer.push({ecommerce:{purchase:{actionField:{id:t.BookInfos.BookingNumber,affiliation:\"Online Store\",revenue:r,tax:0,shipping:0,coupon:this.discountService.getDiscountCodeFromLocalStorage()},products:a}}}),window.dataLayer.push({id:n.DestinationInfo.DestinationCode+\"|\"+n.DestinationInfo.ProductCode,transactionId:t.BookInfos.BookingNumber,pagetype:\"conversion\",value:r,event:\"purchase\",start_date:n.BeginDate,end_date:n.EndDate})}},{key:\"dataLayerEvent\",value:function(e,t){var n=this;if(!window.dataLayer)return console.warn(\"dataLayer is\",window.dataLayer,\"event\",e),void(this.queue||(this.$timeout(function(){n.dataLayerEvent(e,t)},2e3),this.queue=!0));switch(e){case\"onSearch\":this.dataLayerOnSearch(t);break;case\"onLoadProduct\":this.dataLayerOnLoadProduct(t);break;case\"onAddProductToCart\":this.dataLayerOnAddProductToCart(t);break;case\"onOpenCart\":this.dataLayerOnOpenCart(t);break;case\"onReturnFromBank\":this.dataLayerOnReturnFromBank(t)}}},{key:\"isReturnFromBank\",value:function(){return window.location.href.indexOf(\"bookingSessionId\")>-1}}]),t}();l.$inject=[\"Analytics\",\"$q\",\"$timeout\",\"urlService\",\"discountService\"]}).call(t,n(9))},function(e,t,n){(function(e){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&1!==t.bd.length,r=(0,l.default)(t.bd,\"YYYY-MM-DD\")<(0,l.default)().startOf(\"day\"),a=!n||r;a&&this.getNextReservablePeriod(t.dc,t.d).then(function(n){null!==n?(t.bd=n.BeginDate,t.ed=n.EndDate,e.setParamsToUrl(t,!0)):console.error(\"[urlService] Next reservable period for \",t.dc,\" was not found!\")})}}}},{key:\"getNextReservablePeriod\",value:function(e,t){return this.winresCloudService.makeAuthenticatedRequest(\"GetNextReservablePeriod\",{DestCode:e,IsDeparture:t})}},{key:\"setParamsToUrl\",value:function(t,n){var r=c.urlTemplate;if(r){var a=[{name:\"[destinationNameFi]\",value:t.dn},{name:\"[destinationCode]\",value:t.dc},{name:\"[productCode]\",value:t.pc},{name:\"[beginDateISO]\",value:t.bd},{name:\"[endDateISO]\",value:t.ed},{name:\"[numAdults]\",value:t.na||2},{name:\"[numChildren]\",value:t.nc||0},{name:\"[numInfants]\",value:t.ni||0},{name:\"[stopID]\",value:t.si}],o=r.split(\"#!/\")[1];e.each(a,function(e){o=o.replace(e.name,e.value)}),o=o.replace(/\\/undefined/g,\"\"),window.location.hash=\"#!/\"+o}else{var i=[t.dn,t.dc,t.pc,t.bd,t.ed,t.na||2,t.nc||0,t.ni||0].filter(function(e){return null!=e});t.d&&i.splice(1,0,\"departure\"),window.location.hash=\"#!/\"+i.join(\"/\")}n===!0&&(console.log(\"[urlService] Reload\",window.location.href),window.location.reload())}},{key:\"readUrlParamsFromTemplate\",value:function(t){var n=c.urlTemplate,r=n.split(\"#!/\")[1],a=r.split(\"/\"),o=[{key:\"dn\",name:\"[destinationNameFi]\"},{key:\"dc\",name:\"[destinationCode]\"},{key:\"pc\",name:\"[productCode]\"},{key:\"bd\",name:\"[beginDateISO]\"},{key:\"ed\",name:\"[endDateISO]\"},{key:\"na\",name:\"[numAdults]\"},{key:\"nc\",name:\"[numChildren]\"},{key:\"ni\",name:\"[numInfants]\"},{key:\"si\",name:\"[stopID]\"}],i=function(){var t=o[s],n=e.findIndex(a,function(e){return e===t.name});t.idx=n};for(var s in o)i();var l=t.split(\"/\");l.shift();var u={};for(var d in l){var p=o.find(function(e){return e.idx===+d});p&&(u[p.key]=l[d])}return u}},{key:\"readUrlParamsFixed\",value:function(t,n){var r=t.split(\"/\");switch(r.shift(),r=e.filter(r,function(e){return\"departure\"!==e&&\"lahto\"!==e}),n||r.unshift(null),r.length){case 2:return{dn:r[0],dc:r[1]};case 3:return{dn:r[0],dc:r[1],pc:r[2]};case 7:return{dn:r[0],dc:r[1],bd:r[2],ed:r[3],na:r[4],nc:r[5],ni:r[6]};case 8:return{dn:r[0],dc:r[1],pc:r[2],bd:r[3],ed:r[4],na:r[5],nc:r[6],ni:r[7]};case 9:return{dn:r[0],dc:r[1],pc:r[2],bd:r[3],ed:r[4],na:r[5],nc:r[6],ni:r[7],si:r[8]}}}},{key:\"readUrlParams\",value:function(t){var n={},r=this.$location.path();if(\"\"!==r){r.endsWith(\"/\")&&(r=r.substring(0,r.length-1)),n=c.urlTemplate?this.readUrlParamsFromTemplate(r):this.readUrlParamsFixed(r,t),n||(n={});var a=r.split(\"/\"),o=e.some(a,function(e){return\"departure\"===e||\"lahto\"===e});n.d=o}return n}},{key:\"setRouteParams\",value:function(e){this.routeParams=e}},{key:\"hasQueryString\",value:function(){return this.$location.url().startsWith(\"/?\")}},{key:\"isKohdeSivu\",value:function(){return this.$location.absUrl().indexOf(\"#!\")>-1&&this.$location.absUrl().indexOf(\"#!/?\")===-1||this.isFixedKohdeSivu===!0}},{key:\"getSeoLinks\",value:function(){var e=this,t=this.readUrlParams(!0),n=t.d?\"Winres/x/SeoLinks/Departure?\":\"Winres/x/SeoLinks?\";return t.dn&&(n+=\"DestName=\"+t.dn),t.dc&&(n+=\"&DestCode=\"+t.dc),t.pc&&(n+=\"&ProdCode=\"+t.pc),t.bd&&(n+=\"&BeginDate=\"+t.bd),t.ed&&(n+=\"&EndDate=\"+t.ed),this.$q(function(t){e.winresCloudService.get(n).then(function(e){t(e.data)})})}},{key:\"addForcedClassifications\",value:function(e){this.forcedClassifications=e}},{key:\"getClassifcationsInUse\",value:function(t){for(var n=this,r=[],a=function(a){var o=null==t[\"dc\"+a]||e.isArray(t[\"dc\"+a])?[]:t[\"dc\"+a].split(\",\"),i=n.forcedClassifications[a-1],s=e.compact(e.union(e.concat(i,o)));r.push(e.map(s,function(t){return{code:t,forced:e.includes(i,t),level:a}}))},o=1;o<=5;o++)a(o);return r}},{key:\"createUrlWatcher\",value:function(t){var n=this;this.watchUrlParams(function(r){if(void 0!==r){if(void 0===n.fieldWatch){var a=e.filter(t,function(e){return e.watch===!0}),o=e.map(a,function(e){return e.value});n.fieldWatch=n.$rootScope.$watchGroup(o,function(){return n.changeUrlParams(t)})}n.prevent||e.each(n.urlReaders,function(e){e(r)})}})}},{key:\"watchUrlParams\",value:function(e){var t=this;this.$rootScope.$watch(function(){return t.routeParams},e,!0)}},{key:\"addReader\",value:function(e){this.urlReaders.push(e)}},{key:\"changeUrlParams\",value:function(t){var n=this;this.prevent=!0,this.$timeout(function(){return n.prevent=!1},100),e.each(t,function(e){\"date\"===e.type?n.changeUrlParamDate(e.name,e.value()):n.changeUrlParam(e.name,e.value())})}},{key:\"changeUrlParam\",value:function(t,n){null!=n&&(e.isArray(n)?n.length>0&&(n.length>1?this.$location.search(\"\"+t,n.join(\",\")):this.$location.search(\"\"+t,n)):this.$location.search(\"\"+t,n))}},{key:\"changeUrlParamDate\",value:function(e,t){null!=t&&this.$location.search(\"\"+e,(0,i.formatISODate)(t))}},{key:\"removeUrlParam\",value:function(t,n){if(n){var r=e.filter(this.routeParams[t].split(\",\"),function(e){return e!==n});0===r.length?this.$location.search(\"\"+t,null):this.$location.search(\"\"+t,r.join(\",\"))}else this.$location.search(\"\"+t,null)}}]),t}();u.$inject=[\"$rootScope\",\"$location\",\"winresCloudService\",\"$q\",\"$timeout\"]}).call(t,n(9))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){\"use strict\";function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e,t){for(var n=0;n\",this.officeID,this.clerkID,this.timestamp),this.store())}},{key:\"store\",value:function(){0===this.officeID&&0===this.clerkID?this.storage.removeItem(\"agent\"):this.storage.setItem(\"agent\",JSON.stringify({officeID:this.officeID,clerkID:this.clerkID,timestamp:this.timestamp}))}},{key:\"tryLoad\",value:function(){try{var e=this.storage.getItem(\"agent\");if(!e)return;var t=JSON.parse(e);this.set(\"storage\",t.officeID,t.clerkID,t.timestamp)}catch(e){i.error(\"Load failed:\",e)}}}]),t}();s.$inject=[\"$rootScope\",\"$location\"]}).call(t,n(9))},,,,,,function(e,t,n){function r(e){return n(a(e))}function a(e){return o[e]||function(){throw new Error(\"Cannot find module '\"+e+\"'.\")}()}var o={\"./abiristeilyt.sass\":563,\"./hiekkabooking.sass\":566,\"./himoslomat.sass\":570,\"./kalajoki.sass\":575,\"./levi.sass\":581,\"./lomalapissa.sass\":585,\"./merilappi.sass\":589,\"./naantalinmatkailu.sass\":593,\"./pyhahippu.sass\":598,\"./pyhaluostomatkailu.sass\":602,\"./syote.sass\":606};r.keys=function(){return Object.keys(o)},r.resolve=a,e.exports=r,r.id=562},function(e,t,n){var r=n(564);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"h1,h2,h3,h4,h5,h6{color:#ed1c24}body{background-color:#fff}.form-control:not(.btn),body,p{color:#004878}.drag-and-drop-container,.panel-default>.panel-heading,body .primary-colors{background-color:#004878;color:#fff;background-image:none}.drag-and-drop-container p,.panel-default>.panel-heading p,body .primary-colors p{color:#fff}.panel-open>.panel-heading,body .secondary-colors{background-color:#fe2d35;color:#fff;background-image:none}.drag-and-drop-container ul.drag-and-drop-list li,body .neutral-distinct-colors{background-color:#e8e8e8;color:#004878;background-image:linear-gradient(to-bottom,#e8e8e8,#d8d8d8)}.btn,.form-control,.panel-group .panel,.panel-heading{border-radius:0}body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:108px;min-height:78.9px;background-image:url(\"+n(565)+\");background-size:108px 78.9px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:61.2px 44.71px;min-width:61.2px;min-height:44.71px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:184.1px;background-image:url(\"+n(565)+\");background-position:center 0;background-repeat:no-repeat;background-size:252px 184.1px}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #fe2d35;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body #site-header #winres-cloud-logo{background-image:url(\"+n(319)+\");width:120px}body.state-aseta-salasana h1,body.state-kirjautuminen h1{max-width:250px;margin:0 auto 2rem;font-size:2em;text-align:center}body.state-aseta-salasana form,body.state-kirjautuminen form{max-width:220px;margin:0 auto}.navbar-toggle .icon-bar{width:25px}.navbar-toggle .icon-bar+.icon-bar{margin-top:8px}.navbar-toggle{margin-top:12px}\",\"\"])},function(e,t,n){e.exports=n.p+\"77f4d8419ec85866b2a7c08dfd38a45f.png\"},function(e,t,n){var r=n(567);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:150px;min-height:150px;background-image:url(\"+n(568)+\");background-size:150px 150px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:150px 150px;min-width:150px;min-height:150px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:150px;background-image:url(\"+n(568)+\");background-position:center 0;background-repeat:no-repeat;background-size:150px 150px}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #00abe8;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body{background:#fff url(\"+n(569)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(569)+\")!important}\",\"\"])},function(e,t,n){e.exports=n.p+\"9e049f92d04ebd23339796f2f082ba7e.png\"},function(e,t,n){e.exports=n.p+\"64c571dbd24332e4cbd901ea6659f6b7.jpg\"},function(e,t,n){var r=n(571);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background:#fff url(\"+n(572)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(572)+\")!important}body.bg-1{background-image:url(\"+n(573)+\")!important}body.bg-2{background-image:url(\"+n(574)+\")!important}\",\"\"])},function(e,t,n){e.exports=n.p+\"f8838e90caf3613e1477aef5d2747e16.jpg\"},function(e,t,n){e.exports=n.p+\"66217dd106d7b4cd1ad51726605927c3.jpg\"},function(e,t,n){e.exports=n.p+\"1ccb7c8000d02f39e0182d9a526d8140.jpg\"},function(e,t,n){var r=n(576);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:108px;min-height:108px;background-image:url(\"+n(331)+\");background-size:108px 108px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:108px 108px;min-width:108px;min-height:108px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:contain;background-image:url(\"+n(331)+\");background-position:center 0;background-repeat:no-repeat;background-size:contain contain}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #00abe8;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body{background:#fff url(\"+n(577)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(577)+\")!important}body.bg-1{background-image:url(\"+n(578)+\")!important}body.bg-2{background-image:url(\"+n(579)+\")!important}body.bg-3{background-image:url(\"+n(580)+\")!important}\",\"\"])},function(e,t,n){e.exports=n.p+\"1c9f7ec494cf1017e1a8f4cd4e4447b1.jpg\"},function(e,t,n){e.exports=n.p+\"a85db0474068b63d01da6e6a9fdcc3a8.jpg\"},function(e,t,n){e.exports=n.p+\"6dd248244ddb010b346c1965b58c5372.jpg\"},function(e,t,n){e.exports=n.p+\"8e6644251a1e21446700926a66f8ec5f.jpg\"},function(e,t,n){var r=n(582);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:108px;min-height:108px;background-image:url(\"+n(583)+\");background-size:108px 108px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:108px 108px;min-width:108px;min-height:108px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:108px;background-image:url(\"+n(583)+\");background-position:center 0;background-repeat:no-repeat;background-size:108px 108px}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #00abe8;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body.state-kirjautuminen{background-image:url(\"+n(584)+\")!important}body.state-kirjautuminen h1{max-width:250px;margin:0 auto 2rem;font-size:2em;text-align:center}body.state-kirjautuminen form{max-width:220px;margin:0 auto}body.state-kirjautuminen .maincontainer{background-color:#005da4;color:#fff}body.state-kirjautuminen .maincontainer #password-reset-link{color:#fff}body.state-kirjautuminen .maincontainer .login-button{background-color:#f26522;color:#fff;font-weight:400;margin-left:auto;margin-right:auto;float:none;display:block;font-size:1.1em}body.state-kirjautuminen .maincontainer .login-button:hover{background-color:#f7941d}body.state-kirjautuminen .maincontainer input.form-control{border-bottom-color:transparent}\",\"\"])},function(e,t,n){e.exports=n.p+\"44405f52aa18e9e41e8248c185695efa.png\"},function(e,t,n){e.exports=n.p+\"0fc7ac27f9b64a0204579d58274f7f45.jpg\"},function(e,t,n){var r=n(586);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:250px;min-height:80px;background-image:url(\"+n(587)+\");background-size:250px 80px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:250px 80px;min-width:250px;min-height:80px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:80px;background-image:url(\"+n(587)+\");background-position:center 0;background-repeat:no-repeat;background-size:250px 80px}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #00abe8;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body{background:#fff url(\"+n(588)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(588)+\")!important}\",\"\"])},function(e,t,n){e.exports=n.p+\"41d3a1f08df65730f90df48ffe02b158.png\"},function(e,t,n){e.exports=n.p+\"d3ee7599e6ed3683f6a6b9ef41461c07.jpg\"},function(e,t,n){var r=n(590);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:230px;min-height:65px;background-image:url(\"+n(591)+\");background-size:230px 65px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:230px 35px;min-width:230px;min-height:35px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:35px;background-image:url(\"+n(591)+\");background-position:center 0;background-repeat:no-repeat;background-size:230px 35px}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #00abe8;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body{background:#fff url(\"+n(592)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(592)+\")!important}\",\"\"])},function(e,t,n){e.exports=n.p+\"a7c976f8a2c250126e88c7799af29103.png\"},function(e,t,n){e.exports=n.p+\"caa8ff4259544267905a245915e55fd5.jpg\"},function(e,t,n){var r=n(594);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important;background:#fff url(\"+n(595)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(595)+\")!important}body.bg-1{background-image:url(\"+n(596)+\")!important}body.bg-2{background-image:url(\"+n(597)+\")!important}\",\"\"])},function(e,t,n){e.exports=n.p+\"b35b6f563d6a01b634d9bb043fdbf224.jpg\"},function(e,t,n){e.exports=n.p+\"9cf294ba3ce2b0f166eda3db1872b922.jpg\"},function(e,t,n){e.exports=n.p+\"57a4cb996ec4a9463c6ea2b69c17332a.jpg\"},function(e,t,n){var r=n(599);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:150px;min-height:150px;background-image:url(\"+n(600)+\");background-size:150px 150px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:150px 150px;min-width:150px;min-height:150px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:150px;background-image:url(\"+n(600)+\");background-position:center 0;background-repeat:no-repeat;background-size:150px 150px}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #00abe8;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body{background:#fff url(\"+n(601)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(601)+\")!important}\",\"\"])},function(e,t,n){e.exports=n.p+\"a0c4750c7af65e9f19aa55f7be4ae3bb.png\"},function(e,t,n){e.exports=n.p+\"712c245b7e69e9160ac735f3a10c6f66.jpg\"},function(e,t,n){var r=n(603);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:270px;min-height:65px;background-image:url(\"+n(604)+\");background-size:270px 65px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:270px 65px;min-width:270px;min-height:65px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:65px;background-image:url(\"+n(604)+\");background-position:center 0;background-repeat:no-repeat;background-size:270px 65px}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #00abe8;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body{background:#fff url(\"+n(605)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(605)+\")!important}\",\"\"]);\n},function(e,t,n){e.exports=n.p+\"3a1bb60662e151ee6700c62ad948269c.png\"},function(e,t,n){e.exports=n.p+\"65564f0a4ca2ab1514dba8c7e0280cb0.jpg\"},function(e,t,n){var r=n(607);\"string\"==typeof r&&(r=[[e.id,r,\"\"]]);n(287)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(280)(),t.push([e.id,\"body{background-image:url(\"+n(322)+\")!important}.navbar .navbar-brand img{display:none!important}#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{display:block;min-width:108px;min-height:108px;background-image:url(\"+n(608)+\");background-size:108px 108px;background-repeat:no-repeat;background-position:50%}@media (max-width:767px){#left-menu .navbar-brand.without-logo,#left-menu .navbar .navbar-brand{background-size:108px 108px;min-width:108px;min-height:108px}}.state-aseta-salasana .maincontainer .login-logo,.state-kirjautuminen .maincontainer .login-logo{padding-bottom:108px;background-image:url(\"+n(608)+\");background-position:center 0;background-repeat:no-repeat;background-size:108px 108px}body.state-aseta-salasana .maincontainer,body.state-kirjautuminen .maincontainer{background-color:#fff;border-top:8px solid #00abe8;box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}body.state-aseta-salasana .maincontainer .form-control,body.state-kirjautuminen .maincontainer .form-control{box-shadow:inset 1px 1px 8px rgba(0,0,0,.175)}body{background:#fff url(\"+n(609)+\") 50% no-repeat!important;transition:background 2s linear;background-attachment:fixed!important;background-size:cover!important}body.bg-0{background-image:url(\"+n(609)+\")!important}body.bg-1{background-image:url(\"+n(610)+\")!important}body.bg-2{background-image:url(\"+n(611)+\")!important}body.bg-3{background-image:url(\"+n(612)+\")!important}\",\"\"])},function(e,t,n){e.exports=n.p+\"58eb56da9b2550ebba106a4a2a656901.png\"},function(e,t,n){e.exports=n.p+\"c806563d47d2e4784afe9a46663aff0b.jpg\"},function(e,t,n){e.exports=n.p+\"4698221018eee4db1417841f8a232443.jpg\"},function(e,t,n){e.exports=n.p+\"d5d5ade8b853d50de8b26b1d794edba3.jpg\"},function(e,t,n){e.exports=n.p+\"219619dd65d09f2a1200e93c5e1c48da.jpg\"},function(e,t,n){\"use strict\";n(614),n(615)},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=angular.module(\"winresCloud.environment\",[\"winresCloud.core\",\"winresCloud.winresCloud\"])},function(e,t,n){(function(e){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.UserService=void 0;var o=function(){function e(e,t){for(var n=0;n