if (window.SMARTICO===undefined) {window.SMARTICO={}};window.SMARTICO[1781050800896750] = JSON.parse("{\"instanceId\":1781050800896750,\"previewMode\":0,\"scratchPreview\":false,\"sameTab\":0,\"noCache\":0,\"noBlockScroller\":false}"); Object.keys(window.SMARTICO[1781050800896750]).forEach(function (k) {window.SMARTICO[k] = window.SMARTICO[1781050800896750][k];});;




/* include FrontLib: Source file URL:js/widget/frontLib.rpa.schw.min.js: */
var TRMSearch=function(){var o={},e=window.location.search.substring(1);if(e)for(var t,n=e.split("&"),r=0;r<n.length;r++)!n[r]||(t=n[r].split("="))[0]&&(o[decodeURIComponent(t[0])]=decodeURIComponent(t[1]));return{get:function(e){return void 0===e?o:o[e]},set:function(e,t){void 0!==e&&(void 0===t?delete o[e]:o[e]=t);var n="";for(e in o)n+="&"+encodeURIComponent(e)+"="+encodeURIComponent(o[e]);window.location.search=(n?"?":"")+n.substr(1)}}}(),eventReg=[];function TRMEvent(){for(var e=0;e<eventReg.length;e++){for(var t=eventReg[e],n=!0,o=0;o<arguments.length;o++)if(null!=t.p[o]&&arguments[o]!=t.p[o]){n=!1;break}n&&(t.dis&&eventReg.splice(e,1),t.f.apply(t.this,arguments))}}function TRMEventReg(e,t,n){eventReg.push({p:e,f:t,dis:n})}var TRMLoadGoogleAnalyticsTracking=function(){if("function"==typeof sendAnalyticsEvent){TRMTrackAdEvent("Overlay_Expand");var e,t=document.querySelectorAll("#lightboxAd .menubuttonContainer.phone a");for(e in t)void 0!==t[e].addEventListener&&t[e].addEventListener("click",function(){TRMTrackAdEvent("button_Phone")});for(e in t=document.querySelectorAll('#lightboxAd .menubuttonContainer.site a[target="_blank"]'))void 0!==t[e].addEventListener&&t[e].addEventListener("click",function(){TRMTrackAdEvent("button_URL")});for(e in t=document.querySelectorAll("#lightboxAd .menubuttonContainer.site a:not([target])"))void 0!==t[e].addEventListener&&t[e].addEventListener("click",function(e){e.preventDefault(),TRMTrackAdEvent("button_URL"),window.location=this.getAttribute("href")});for(e in t=document.querySelectorAll("#lightboxAd .menubuttonContainer.map a"))void 0!==t[e].addEventListener&&t[e].addEventListener("click",function(e){var t=this.getAttribute("target");"_blank"!=t&&e.preventDefault(),TRMTrackAdEvent("button_Maps"),"_blank"!=t&&(window.location=this.getAttribute("href"))});for(e in t=document.querySelectorAll("#lightboxAd .menubuttonContainer.email a"))void 0!==t[e].addEventListener&&t[e].addEventListener("click",function(){TRMTrackAdEvent("button_Email")});for(e in t=document.querySelectorAll('#lightBoxcontent a[target="_blank"], #infCont .textInfo a.wbsite[target="_blank"]'))void 0!==t[e].addEventListener&&t[e].addEventListener("click",function(){TRMTrackAdEvent("link_URL")});for(e in t=document.querySelectorAll("#lightBoxcontent a:not([target]), #infCont .textInfo a.wbsite:not([target])"))void 0!==t[e].addEventListener&&t[e].addEventListener("click",function(e){e.preventDefault(),TRMTrackAdEvent("link_URL"),window.location=this.getAttribute("href")});for(e in t=document.querySelectorAll("#infCont .textInfo a:not(.wbsite)"))void 0!==t[e].addEventListener&&t[e].addEventListener("click",function(){TRMTrackAdEvent("link_Email")})}},TRMTrackAdEvent=function(e){if("undefined"!=typeof sendAnalyticsEvent){var t={hitType:"event",eventCategory:"Default category",eventAction:e,eventLabel:"Default label"};switch(e){case"Overlay_Expand":(document.querySelector("a.wbsite")||document.querySelector(".textInfo h4"))&&(n=null!=document.querySelector(".textInfo h4")?document.querySelector(".textInfo h4").innerHTML:"",o=null!=document.querySelector("a.website")?document.querySelector("a.website").innerHTML:"",n.length&&o.length&&(n+=" - "),t.eventLabel="Overlay view ("+decodeURI(n)+decodeURI(o)+")",t.eventCategory="Overlay",sendAnalyticsEvent(t)),t.eventLabel="Overlay view",t.eventCategory="Overlay";break;case"button_URL":case"link_URL":case"button_Phone":case"button_Email":case"button_Maps":case"link_Email":(document.querySelector("a.wbsite")||document.querySelector(".textInfo h4"))&&(n=null!=document.querySelector(".textInfo h4")?document.querySelector(".textInfo h4").innerHTML:"",o=null!=document.querySelector("a.website")?document.querySelector("a.website").innerHTML:"",n.length&&o.length&&(n+=" - "),t.eventLabel="Overlay click ("+decodeURI(n)+decodeURI(o)+")",t.eventCategory="Overlay",sendAnalyticsEvent(t)),t.eventLabel="Overlay click",t.eventCategory="Overlay_Click";break;case"Banderole_View":case"Banderole_Close":var n="Banderole_View"==e?"Banderole View":"Banderole Close",o=document.querySelector(".trm-banderole #html_structura_area_v2");t.eventLabel=n+"("+(o?o.getAttribute("data-trm-project-name"):"")+")",t.eventCategory=n,sendAnalyticsEvent(t)}sendAnalyticsEvent(t)}};;




/* include lib: Source file URL:js/widget/sliders_galleries/glide/lib.js: */
!function(){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perTouch:!1,touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",throttle:10,direction:"ltr",peek:0,breakpoints:{},classes:{direction:{ltr:"trm-glide--ltr",rtl:"trm-glide--rtl"},slider:"trm-glide--slider",carousel:"trm-glide--carousel",swipeable:"trm-glide--swipeable",dragging:"trm-glide--dragging",cloneSlide:"trm-glide__slide--clone",activeNav:"trm-glide__bullet--active",activeSlide:"trm-glide__slide--active",disabledArrow:"trm-glide__arrow--disabled"}};function a(t){console.error("[Glide warn]: "+t)}var r="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(t){return void 0===t?"undefined":n(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":n(t)},o=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},s=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function y(t){return parseInt(t)}function u(t){return"string"==typeof t}function l(t){var e=void 0===t?"undefined":r(t);return"function"===e||"object"===e&&!!t}function f(t){return"function"==typeof t}function d(t){return void 0===t}function h(t){return t.constructor===Array}function v(t,e,n){Object.defineProperty(t,e,n)}function m(t,e){var n=c({},t,e);return e.hasOwnProperty("classes")&&(n.classes=c({},t.classes,e.classes),e.classes.hasOwnProperty("direction")&&(n.classes.direction=c({},t.classes.direction,e.classes.direction))),e.hasOwnProperty("breakpoints")&&(n.breakpoints=c({},t.breakpoints,e.breakpoints)),n}var p=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.events=t,this.hop=t.hasOwnProperty}return s(e,[{key:"on",value:function(t,e){if(h(t))for(var n=0;n<t.length;n++)this.on(t[n],e);this.hop.call(this.events,t)||(this.events[t]=[]);var i=this.events[t].push(e)-1;return{remove:function(){delete this.events[t][i]}}}},{key:"emit",value:function(t,e){if(h(t))for(var n=0;n<t.length;n++)this.emit(t[n],e);this.hop.call(this.events,t)&&this.events[t].forEach(function(t){t(e||{})})}}]),e}(),g=function(){function n(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};o(this,n),this._c={},this._t=[],this._e=new p,this.disabled=!1,this.selector=t,this.settings=m(i,e),this.index=this.settings.startAt}return s(n,[{key:"mount",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),l(t)?this._c=function(t,e,n){var i={};for(var r in e)f(e[r])?i[r]=e[r](t,i,n):a("Extension must be a function");for(var o in i)f(i[o].mount)&&i[o].mount();return i}(this,t,this._e):a("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];return h(t)?this._t=t:a("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return this.settings=m(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function(t){return this._c.Run.make(t),this}},{key:"move",value:function(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(t,e){return this._e.on(t,e),this}},{key:"isType",value:function(t){return this.settings.type===t}},{key:"settings",get:function(){return this._o},set:function(t){l(t)?this._o=t:a("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(t){this._i=y(t)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(t){this._d=!!t}}]),n}();function b(){return(new Date).getTime()}function w(n,i,r){var o=void 0,s=void 0,u=void 0,a=void 0,c=0;r||(r={});var l=function(){c=!1===r.leading?0:b(),o=null,a=n.apply(s,u),o||(s=u=null)},t=function(){var t=b();c||!1!==r.leading||(c=t);var e=i-(t-c);return s=this,u=arguments,e<=0||i<e?(o&&(clearTimeout(o),o=null),c=t,a=n.apply(s,u),o||(s=u=null)):o||!1===r.trailing||(o=setTimeout(l,e)),a};return t.cancel=function(){clearTimeout(o),c=0,o=s=u=null},t}var _={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function k(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}return[]}function S(t){return!!(t&&t instanceof window.HTMLElement)}var T='[data-glide-el="track"]',H=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.listeners=t}return s(e,[{key:"on",value:function(t,e,n){var i=3<arguments.length&&void 0!==arguments[3]&&arguments[3];u(t)&&(t=[t]);for(var r=0;r<t.length;r++)this.listeners[t[r]]=n,e.addEventListener(t[r],this.listeners[t[r]],i)}},{key:"off",value:function(t,e){u(t)&&(t=[t]);for(var n=0;n<t.length;n++)e.removeEventListener(t[n],this.listeners[t[n]],!1)}},{key:"destroy",value:function(){delete this.listeners}}]),e}(),x=["ltr","rtl"],O={">":"<","<":">","=":"="};function A(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}var C=["touchstart","mousedown"],M=["touchmove","mousemove"],E=["touchend","touchcancel","mouseup","mouseleave"],z=["mousedown","mousemove","mouseup","mouseleave"];function P(t){return l(t)?(n=t,Object.keys(n).sort().reduce(function(t,e){return t[e]=n[e],t[e],t},{})):(a("Breakpoints option must be an object"),{});var n}var R={Html:function(e,t){var n={mount:function(){this.root=e.selector,this.track=this.root.querySelector(T),this.slides=Array.prototype.slice.call(this.wrapper.children).filter(function(t){return!t.classList.contains(e.settings.classes.cloneSlide)})}};return v(n,"root",{get:function(){return n._r},set:function(t){u(t)&&(t=document.querySelector(t)),S(t)?n._r=t:a("Root element must be a existing Html node")}}),v(n,"track",{get:function(){return n._t},set:function(t){S(t)?n._t=t:a("Could not find track element. Please use "+T+" attribute.")}}),v(n,"wrapper",{get:function(){return n.track.children[0]}}),n},Translate:function(s,u,r){var o={set:function(t){var i,r,o,e=(i=s,r=u,o=[function(e,n){return{modify:function(t){return t+n.Gaps.value*e.index}}},function(t,e){return{modify:function(t){return t+e.Clones.grow/2}}},function(n,i){return{modify:function(t){if(0<=n.settings.focusAt){var e=i.Peek.value;return l(e)?t-e.before:t-e}return t}}},function(o,s){return{modify:function(t){var e=s.Gaps.value,n=s.Sizes.width,i=o.settings.focusAt,r=s.Sizes.slideWidth;return"center"===i?t-(n/2-r/2):t-r*i-e*i}}}].concat(i._t,[A]),{mutate:function(t){for(var e=0;e<o.length;e++){var n=o[e];f(n)&&f(n().modify)?t=n(i,r,void 0).modify(t):a("Transformer should be a function that returns an object with `modify()` method")}return t}}).mutate(t);u.Html.wrapper.style.transform="translate3d("+-1*e+"px, 0px, 0px)"},remove:function(){u.Html.wrapper.style.transform=""}};return r.on("move",function(t){var e=u.Gaps.value,n=u.Sizes.length,i=u.Sizes.slideWidth;return s.isType("carousel")&&u.Run.isOffset("<")?(u.Transition.after(function(){r.emit("translate.jump"),o.set(i*(n-1))}),o.set(-i-e*n)):s.isType("carousel")&&u.Run.isOffset(">")?(u.Transition.after(function(){r.emit("translate.jump"),o.set(0)}),o.set(i*n+e*n)):o.set(t.movement)}),r.on("destroy",function(){o.remove()}),o},Transition:function(n,e,t){var i=!1,r={compose:function(t){var e=n.settings;return i?t+" 0ms "+e.animationTimingFunc:t+" "+this.duration+"ms "+e.animationTimingFunc},set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(t)},remove:function(){e.Html.wrapper.style.transition=""},after:function(t){setTimeout(function(){t()},this.duration)},enable:function(){i=!1,this.set()},disable:function(){i=!0,this.set()}};return v(r,"duration",{get:function(){var t=n.settings;return n.isType("slider")&&e.Run.offset?t.rewindDuration:t.animationDuration}}),t.on("move",function(){r.set()}),t.on(["build.before","resize","translate.jump"],function(){r.disable()}),t.on("run",function(){r.enable()}),t.on("destroy",function(){r.remove()}),r},Direction:function(t,e,n){var i={mount:function(){this.value=t.settings.direction},resolve:function(t){var e=t.slice(0,1);return this.is("rtl")?t.split(e).join(O[e]):t},is:function(t){return this.value===t},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return v(i,"value",{get:function(){return i._v},set:function(t){-1<x.indexOf(t)?i._v=t:a("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){i.removeClass()}),n.on("update",function(){i.mount()}),n.on(["build.before","update"],function(){i.addClass()}),i},Peek:function(n,t,e){var i={mount:function(){this.value=n.settings.peek}};return v(i,"value",{get:function(){return i._v},set:function(t){l(t)?(t.before=y(t.before),t.after=y(t.after)):t=y(t),i._v=t}}),v(i,"reductor",{get:function(){var t=i.value,e=n.settings.perView;return l(t)?t.before/e+t.after/e:2*t/e}}),e.on(["resize","update"],function(){i.mount()}),i},Sizes:function(t,n,e){var i={setupSlides:function(){for(var t=n.Html.slides,e=0;e<t.length;e++)t[e].style.width=this.slideWidth+"px"},setupWrapper:function(t){n.Html.wrapper.style.width=this.wrapperSize+"px"},remove:function(){for(var t=n.Html.slides,e=0;e<t.length;e++)t[e].style.width="";n.Html.wrapper.style.width=""}};return v(i,"length",{get:function(){return n.Html.slides.length}}),v(i,"width",{get:function(){return n.Html.root.offsetWidth}}),v(i,"wrapperSize",{get:function(){return i.slideWidth*i.length+n.Gaps.grow+n.Clones.grow}}),v(i,"slideWidth",{get:function(){return i.width/t.settings.perView-n.Peek.reductor-n.Gaps.reductor}}),e.on(["build.before","resize","update"],function(){i.setupSlides(),i.setupWrapper()}),e.on("destroy",function(){i.remove()}),i},Gaps:function(e,o,t){var n={apply:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style,r=o.Direction.value;i[_[r][0]]=0!==e?this.value/2+"px":"",e!==t.length-1?i[_[r][1]]=this.value/2+"px":i[_[r][1]]=""}},remove:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style;i.marginLeft="",i.marginRight=""}}};return v(n,"value",{get:function(){return y(e.settings.gap)}}),v(n,"grow",{get:function(){return n.value*(o.Sizes.length-1)}}),v(n,"reductor",{get:function(){var t=e.settings.perView;return n.value*(t-1)/t}}),t.on(["build.after","update"],w(function(){n.apply(o.Html.wrapper.children)},30)),t.on("destroy",function(){n.remove(o.Html.wrapper.children)}),n},Move:function(t,n,i){var e={mount:function(){this._o=0},make:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;this.offset=e,i.emit("move",{movement:this.value}),n.Transition.after(function(){i.emit("move.after",{movement:t.value})})}};return v(e,"offset",{get:function(){return e._o},set:function(t){e._o=d(t)?0:y(t)}}),v(e,"translate",{get:function(){return n.Sizes.slideWidth*t.index}}),v(e,"value",{get:function(){var t=this.offset,e=this.translate;return n.Direction.is("rtl")?e+t:e-t}}),i.on(["build.before","run"],function(){e.make()}),e},Clones:function(d,h,t){var e={mount:function(){this.items=[],d.isType("carousel")&&(this.items=this.collect())},collect:function(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=h.Html.slides,n=d.settings,i=n.perView,r=n.classes,o=e.slice(0,i),s=e.slice(-i),u=0;u<Math.max(1,Math.floor(i/e.length));u++){for(var a=0;a<o.length;a++){var c=o[a].cloneNode(!0);c.classList.add(r.cloneSlide),t.push(c)}for(var l=0;l<s.length;l++){var f=s[l].cloneNode(!0);f.classList.add(r.cloneSlide),t.unshift(f)}}return t},append:function(){for(var t=this.items,e=h.Html,n=e.wrapper,i=e.slides,r=Math.floor(t.length/2),o=t.slice(0,r).reverse(),s=t.slice(r,t.length),u=0;u<s.length;u++)n.appendChild(s[u]);for(var a=0;a<o.length;a++)n.insertBefore(o[a],i[0]);for(var c=0;c<t.length;c++)t[c].style.width=h.Sizes.slideWidth+"px"},remove:function(){for(var t=this.items,e=0;e<t.length;e++)h.Html.wrapper.removeChild(t[e])}};return v(e,"grow",{get:function(){return(h.Sizes.slideWidth+h.Gaps.value)*e.items.length}}),t.on("update",function(){e.remove(),e.mount(),e.append()}),t.on("build.before",function(){d.isType("carousel")&&e.append()}),t.on("destroy",function(){e.remove()}),e},Resize:function(t,e,n){var i=new H,r={mount:function(){this.bind()},bind:function(){i.on("resize",window,w(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",function(){r.unbind(),i.destroy()}),r},Build:function(n,i,t){var e={mount:function(){t.emit("build.before"),this.typeClass(),this.activeClass(),t.emit("build.after")},typeClass:function(){i.Html.root.classList.add(n.settings.classes[n.settings.type])},activeClass:function(){var e=n.settings.classes,t=i.Html.slides[n.index];t&&(t.classList.add(e.activeSlide),k(t).forEach(function(t){t.classList.remove(e.activeSlide)}))},removeClasses:function(){var e=n.settings.classes;i.Html.root.classList.remove(e[n.settings.type]),i.Html.slides.forEach(function(t){t.classList.remove(e.activeSlide)})}};return t.on(["destroy","update"],function(){e.removeClasses()}),t.on(["resize","update"],function(){e.mount()}),t.on("move.after",function(){e.activeClass()}),e},Run:function(o,n,s){var t={mount:function(){this._o=!1},make:function(t){var e=this;o.disabled||(o.disable(),this.move=t,s.emit("run.before",this.move),this.calculate(),s.emit("run",this.move),n.Transition.after(function(){(e.isOffset("<")||e.isOffset(">"))&&(e._o=!1,s.emit("run.offset",e.move)),s.emit("run.after",e.move),o.enable()}))},calculate:function(){var t=this.move,e=this.length,n=t.steps,i=t.direction,r="number"==typeof y(n)&&0!==y(n);switch(i){case">":">"===n?o.index=e:this.isEnd()?(o.isType("slider")&&!o.settings.rewind||(this._o=!0,o.index=0),s.emit("run.end",t)):r?o.index+=Math.min(e-o.index,-y(n)):o.index++;break;case"<":"<"===n?o.index=0:this.isStart()?(o.isType("slider")&&!o.settings.rewind||(this._o=!0,o.index=e),s.emit("run.start",t)):r?o.index-=Math.min(o.index,y(n)):o.index--;break;case"=":o.index=n}},isStart:function(){return 0===o.index},isEnd:function(){return o.index===this.length},isOffset:function(t){return this._o&&this.move.direction===t}};return v(t,"move",{get:function(){return this._m},set:function(t){this._m={direction:t.substr(0,1),steps:t.substr(1)?t.substr(1):0}}}),v(t,"length",{get:function(){var t=o.settings,e=n.Html.slides.length;return t.perView>e?0:o.isType("slider")&&"center"!==t.focusAt&&t.bound?e-1-(y(t.perView)-1)+y(t.focusAt):e-1}}),v(t,"offset",{get:function(){return this._o}}),t},Swipe:function(d,h,v){var n=new H,m=0,p=0,g=0,i=!1,t={mount:function(){this.bindSwipeStart()},start:function(t){if(!i&&!d.disabled){this.disable();var e=this.touches(t);m=null,p=y(e.pageX),g=y(e.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),v.emit("swipe.start")}},move:function(t){if(!d.disabled){var e=d.settings,n=e.touchAngle,i=e.touchRatio,r=e.classes,o=this.touches(t),s=y(o.pageX)-p,u=y(o.pageY)-g,a=Math.abs(s<<2),c=Math.abs(u<<2),l=(a+c)*(a+c),f=c*c;if(m=Math.asin(f/l),h.Move.make(s*parseFloat(i)),!(180*m/Math.PI<n))return!1;t.stopPropagation(),h.Html.root.classList.add(r.dragging),v.emit("swipe.move")}},end:function(t){if(!d.disabled){var e=d.settings,n=this.touches(t),i=this.threshold(t),r=n.pageX-p,o=180*m/Math.PI,s=Math.round(r/h.Sizes.slideWidth);this.enable(),i<r&&o<e.touchAngle?(e.perTouch&&(s=Math.min(s,y(e.perTouch))),h.Direction.is("rtl")&&(s=-s),h.Run.make(h.Direction.resolve("<"+s))):r<-i&&o<e.touchAngle?(e.perTouch&&(s=Math.max(s,-y(e.perTouch))),h.Direction.is("rtl")&&(s=-s),h.Run.make(h.Direction.resolve(">"+s))):h.Move.make(),h.Html.root.classList.remove(e.classes.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),v.emit("swipe.end")}},bindSwipeStart:function(){var e=this,t=d.settings;t.swipeThreshold&&n.on(C[0],h.Html.wrapper,function(t){e.start(t)}),t.dragThreshold&&n.on(C[1],h.Html.wrapper,function(t){e.start(t)})},unbindSwipeStart:function(){n.off(C[0],h.Html.wrapper),n.off(C[1],h.Html.wrapper)},bindSwipeMove:function(){var e=this;n.on(M,h.Html.wrapper,w(function(t){e.move(t)},d.settings.throttle))},unbindSwipeMove:function(){n.off(M,h.Html.wrapper)},bindSwipeEnd:function(){var e=this;n.on(E,h.Html.wrapper,function(t){e.end(t)})},unbindSwipeEnd:function(){n.off(E,h.Html.wrapper)},touches:function(t){return-1<z.indexOf(t.type)?t:t.touches[0]||t.changedTouches[0]},threshold:function(t){var e=d.settings;return-1<z.indexOf(t.type)?e.dragThreshold:e.swipeThreshold},enable:function(){return i=!1,h.Transition.enable(),this},disable:function(){return i=!0,h.Transition.disable(),this}};return v.on("build.after",function(){h.Html.root.classList.add(d.settings.classes.swipeable)}),v.on("destroy",function(){t.unbindSwipeStart(),t.unbindSwipeMove(),t.unbindSwipeEnd(),n.destroy()}),t},Images:function(t,e,n){var i=new H,r={mount:function(){this.bind()},bind:function(){i.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){i.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return n.on("destroy",function(){r.unbind(),i.destroy()}),r},Anchors:function(t,e,n){var i=new H,r=!1,o=!1,s={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){i.on("click",e.Html.wrapper,this.click)},unbind:function(){i.off("click",e.Html.wrapper)},click:function(t){t.stopPropagation(),o&&t.preventDefault()},detach:function(){if(o=!0,!r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1,this.items[t].setAttribute("data-href",this.items[t].getAttribute("href")),this.items[t].removeAttribute("href");r=!0}return this},attach:function(){if(o=!1,r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0,this.items[t].setAttribute("href",this.items[t].getAttribute("data-href"));r=!1}return this}};return v(s,"items",{get:function(){return s._a}}),n.on("swipe.move",function(){s.detach()}),n.on("swipe.end",function(){e.Transition.after(function(){s.attach()})}),n.on("destroy",function(){s.attach(),s.unbind(),i.destroy()}),s},Controls:function(i,e,t){var n=new H,r={mount:function(){this._n=e.Html.root.querySelectorAll('[data-glide-el="controls[nav]"]'),this._c=e.Html.root.querySelectorAll('[data-glide-el^="controls"]'),this.addBindings()},setActive:function(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function(t){window.TRMGlideSliderButtonClickEvent&&(document.createEvent?document.dispatchEvent(window.TRMGlideSliderButtonClickEvent):document.fireEvent("on"+window.TRMGlideSliderButtonClickEvent.eventType,window.TRMGlideSliderButtonClickEvent));var e=i.settings,n=t[i.index];n.classList.add(e.classes.activeNav),k(n).forEach(function(t){t.classList.remove(e.classes.activeNav)})},removeClass:function(t){t[i.index].classList.remove(i.settings.classes.activeNav)},addBindings:function(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function(t){for(var e=0;e<t.length;e++)n.on(["click","touchstart"],t[e],this.click)},unbind:function(t){for(var e=0;e<t.length;e++)n.off(["click","touchstart"],t[e])},click:function(t){t.preventDefault(),e.Run.make(e.Direction.resolve(t.currentTarget.getAttribute("data-glide-dir")))}};return v(r,"items",{get:function(){return r._c}}),t.on(["mount.after","move.after"],function(){r.setActive()}),t.on("destroy",function(){r.removeBindings(),r.removeActive(),n.destroy()}),r},Keyboard:function(t,e,n){var i=new H,r={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){i.on("keyup",document,this.press)},unbind:function(){i.off("keyup",document)},press:function(t){39===t.keyCode&&e.Run.make(e.Direction.resolve(">")),37===t.keyCode&&e.Run.make(e.Direction.resolve("<"))}};return n.on(["destroy","update"],function(){r.unbind()}),n.on("update",function(){r.mount()}),n.on("destroy",function(){i.destroy()}),r},Autoplay:function(e,n,t){var i=new H,r={mount:function(){this.start(),e.settings.hoverpause&&this.bind()},start:function(){var t=this;e.settings.autoplay&&d(this._i)&&(this._i=setInterval(function(){t.stop(),n.Run.make(">"),t.start()},this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;i.on("mouseover",n.Html.root,function(){t.stop()}),i.on("mouseout",n.Html.root,function(){t.start()})},unbind:function(){i.off(["mouseover","mouseout"],n.Html.root)}};return v(r,"time",{get:function(){return y(n.Html.slides[e.index].getAttribute("data-glide-autoplay")||e.settings.autoplay)}}),t.on(["destroy","update"],function(){r.unbind()}),t.on(["run.before","pause","destroy","swipe.start","update"],function(){r.stop()}),t.on(["run.after","play","swipe.end"],function(){r.start()}),t.on("update",function(){r.mount()}),t.on("destroy",function(){i.destroy()}),r},Breakpoints:function(t,e,n){var i=new H,r=t.settings,o=P(r.breakpoints),s=c({},r),u={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: "+e+"px)").matches)return t[e];return s}};return c(r,u.match(o)),i.on("resize",window,w(function(){t.settings=m(r,u.match(o))},t.settings.throttle)),n.on("update",function(){o=P(o),s=c({},r)}),n.on("destroy",function(){i.off("resize",window)}),u}},t=function(t){function e(){return o(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":n(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":n(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,g),s(e,[{key:"mount",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var s=r.get;return void 0!==s?s.call(i):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"mount",this).call(this,c({},R,t))}}]),e}();window.Glide=t}();;




/* include lib: Source file URL:js/widget/smart-native-v1-adlayer-lib2.4.1.js: */
!function(){var e=function(o,n,t=0){for(var a=o.document.querySelectorAll("iframe"),i=0;i<a.length;i++){var r=a[i];if("HTMLIFrameElement"==r.constructor.name){if(d=(o=r.contentWindow).document.querySelector(".TRM-RPA-image-container.instance-"+n))return[r,d];var s=e(o,n,t+1);if(s)return[r].concat(s)}}var d;return((d=o.document.querySelector(".TRM-RPA-image-container.instance-"+n))||!!(d=document.querySelector(".TRM-RPA-image-container.instance-"+n)))&&[d]},o=function(e,o,n){if(e.containersToWidgetWidth&&(o.width=n.width,o.style.width=n.width+"px !important"),e.containersToWidgetHeight&&(o.height=n.height,ontainer.style.height=n.height+"px !important"),"containerStyle"in e)for(style in e.containerStyle)o.style[style]=e.containerStyle[style]},n=function(e){var o=[];for(x=0;x<e.length;x++)o.includes(parseInt(e[x]))||o.push(parseInt(e[x]));return o.join(",")};try{window.top.TRMScenarioInit=function(){if(window.top.TRMScenario instanceof Object){for(var e in window.top.TRMScenario)"function"==typeof window.top.TRMScenario[e].initBefore&&window.top.TRMScenario[e].initBefore();window.top.addEventListener("scroll",function(){for(var e in window.top.TRMScenario)"function"==typeof window.top.TRMScenario[e].onScrollBefore&&window.top.TRMScenario[e].onScrollBefore();for(var o in window.top.TRMTopDocumentScenarioParams)window.top.TRMTopDocumentScenarioParams[o].scenario in window.top.TRMScenario&&"function"==typeof window.top.TRMScenario[window.top.TRMTopDocumentScenarioParams[o].scenario].onScrollForEach&&window.top.TRMScenario[window.top.TRMTopDocumentScenarioParams[o].scenario].onScrollForEach(o);for(var e in window.top.TRMScenario)"function"==typeof window.top.TRMScenario[e].onScrollAfter&&window.top.TRMScenario[e].onScrollAfter()})}},window.top.TRMScenario={bottomStickyV1:{initBefore:function(){},initForEach:function(e){var t=window.top.TRMTopDocumentScenarioParams[e];0==t.iframeAttributes.src.indexOf("https://d.smartico.one/get/if/")&&(t.iframe=window.top.document.createElement("iframe"),t.iframe.className="trm-bottomStickyV1-iframe",o(t,t.iframe,t.dimentions[t.dimentions.length-1]),t.iframe.src=t.iframeAttributes.src+"&no-top-scenario=1&ads="+n(t.allAds),t.iframe.style.border="none",t.iframe.style.zIndex=1e15,t.containers[0].style.opacity=0,t.containers[0].style.height="0px",window.top.document.body.append(t.iframe))},onScrollBefore:function(){},onScrollForEach:function(e){},onScrollAfter:function(){}},fullWidthAndTopStyckyV1:{initBefore:function(){var e=window.top.document.createElement("style");e.innerHTML=".trm-fullWidthAndTopStyckyV1-iframe.trm-animated {transition: left 0.3s, top 0.3s, width 0.3s;-webkit-transition: left 0.3s, top 0.3s, width 0.3s;}",window.top.document.body.append(e)},initForEach:function(e){var t=window.top.TRMTopDocumentScenarioParams[e];if(0==t.iframeAttributes.src.indexOf("https://d.smartico.one/get/if/")){var a=window.top.document.body.getBoundingClientRect().top,i=t.containers[0].getBoundingClientRect().top,r=t.fullWidthOffsetThreshold||0;t.fullInitialWidth=i-a<r&&!("fullInitialWidth"in t),t.accruedTime=0,t.comtainersWidth="100%",t.iframe=window.top.document.createElement("iframe"),t.iframe.className="trm-fullWidthAndTopStyckyV1-iframe",o(t,t.iframe,t.dimentions[t.dimentions.length-1]),t.iframe.src=t.iframeAttributes.src+"&no-top-scenario=1&ads="+n(t.allAds),t.iframe.style.border="none",t.containers[0].style.opacity=0,t.containers[0].style.height=t.iframe.style.height,t.containers[0].style.maxWidth="100%",window.top.document.body.append(t.iframe),window.top.TRMScenario.fullWidthAndTopStyckyV1.onScrollForEach(e,!0);var s=window.performance.now();t.interval=setInterval(function(e,o){o.started&&o.containers[0].getBoundingClientRect().top<0&&(o.accruedTime+=window.performance.now()-s),s=window.performance.now(),o.accruedTime>5e3&&(clearInterval(o.interval),"absolute"!=o.position&&window.top.TRMScenario.fullWidthAndTopStyckyV1.onScrollForEach(e))},100,e,t)}},onScrollBefore:function(){},onScrollForEach:function(e,o=!1){var n=window.top.TRMTopDocumentScenarioParams[e],t=window.top.document.body.getBoundingClientRect().top,a=n.containers[0].getBoundingClientRect().top,i=n.containers[0].getBoundingClientRect().left,r=n.containers[0].getBoundingClientRect().height;if(n.started||(n.started=!0),a<0&&"fixed"!==n.position&&n.accruedTime<5e3)n.started=window.performance.timeOrigin,n.position="fixed",n.iframe.className.indexOf(" trm-animated")>-1&&(n.iframe.className=n.iframe.className.replace(" trm-animated","")),n.iframe.style.position="fixed",n.iframe.style.top=Math.min(0,Math.max(a,-r))+"px",n.iframe.style.left=n.fullInitialWidth?"0px":i+"px",n.iframe.style.zIndex=1e18,window.requestAnimationFrame(function(){o||(n.iframe.className=n.iframe.className+" trm-animated"),n.iframe.style.top="0px",n.iframe.style.left="0px",n.iframe.style.width="100%"});else if((a>=0||n.accruedTime>5e3)&&"absolute"!==n.position){n.position="absolute",n.iframe.className.indexOf(" trm-animated")>-1&&(n.iframe.className=n.iframe.className.replace(" trm-animated",""));var s=n.iframe.getBoundingClientRect().top;n.iframe.style.position="absolute",n.iframe.style.top=s-t+"px",window.requestAnimationFrame(function(){n.iframe.style.zIndex=0,o||(n.iframe.className=n.iframe.className+" trm-animated"),n.iframe.style.top=a-t+"px",n.iframe.style.left=n.fullInitialWidth?"0px":i+"px",n.iframe.style.width=n.fullInitialWidth?"100%":n.containers[0].getBoundingClientRect().width+"px"})}},onScrollAfter:function(){}}},window.top.TRMregisterWidget=function(o,n){if(window.top.TRMTopDocumentScenarioParams[o])return!1;window.top.TRMDispacherReg||(window.top.TRMDispacherReg=!0,"function"==typeof window.top.TRMScenarioInit&&window.top.TRMScenarioInit());var t=e(window.top,o);if(t.length>0){if(t[0].hasAttribute("data-trm-processed"))return!1;t[0].setAttribute("data-trm-processed","1"),window.top.TRMTopDocumentScenarioParams[o]=n,n.containers=t,n.dimentions=[];for(var a=0;a<n.containers.length;a++)n.dimentions.push(n.containers[a].getBoundingClientRect());window.top.TRMScenario instanceof Object&&n.scenario in window.top.TRMScenario&&"function"==typeof window.top.TRMScenario[n.scenario].initForEach&&window.top.TRMScenario[n.scenario].initForEach(o)}else delete window.top.TRMTopDocumentScenarioParams[o]}}catch(e){}var t=[];window.addEventListener("focus",function(){0;for(var e=0;e<t.length;e++)t[e].postMessage("*")}),window.addEventListener("blur",function(){0;for(var e=0;e<t.length;e++)t[e].postMessage("*")});var a,i,r=e=>!(e||"").replace(/<([^>]+?)([^>]*?)>(.*?)<\/\1>/gi,"").replace(/(<([^>]+)>)/gi,"").trim();window.TRMmaxScroll={},window.TRMcheckScroll=function(e,o){var n=parseInt(e.getAttribute("data-ad-index"));void 0===TRMmaxScroll[n]&&(TRMmaxScroll[n]=0);var t,a,i=e.scrollTop,r=0,s=1e13;c=window.innerHeight;for(var d=0;d<e.childNodes.length;d++){var l=e.childNodes[d];l instanceof Element&&(r<(t=l.getBoundingClientRect().bottom)&&(r=t),s>(a=l.getBoundingClientRect().top)&&(s=a))}var p=parseInt(i/(r-s-c)*100);return TRMmaxScroll[n]<25&&p>=25&&p<50?(TRMmaxScroll[n]=25,o(25)):TRMmaxScroll[n]<50&&p>=50&&p<75?(TRMmaxScroll[n]=50,o(50)):TRMmaxScroll[n]<75&&p>=75&&p<95?(TRMmaxScroll[n]=75,o(75)):TRMmaxScroll[n]<100&&p>=95&&(TRMmaxScroll[n]=100,o(100)),!1},window.TRMGenerateGoogleMap=function(e,o,n,t,a){if(t.googleAPIkey&&!r(t.googleAPIkey)){var i=window;if(t.adLayerAccessOfTopDocument)try{window.top.TRMAccessTest=1,i=window.top}catch(l){i=!1,console.warn("no access to top window")}var s=i.document;function d(){var r={zoom:t.mapZoom,center:o};t.mapStyles&&(r.styles=t.mapStyles);var s={};if(t.mapPointerUrl){var d=t.mapPointerUrl.replace("@@@contrastColor@@@",window.TRMContrastColor[a]||"#000000").replace("#","");s.icon={url:d};var c=30,l=40;t.mapPointerDim&&(c=t.mapPointerDim.width,l=t.mapPointerDim.height,s.icon.size=new google.maps.Size(c,l),s.icon.origin=new google.maps.Point(0,0),s.icon.anchor=new google.maps.Point(c/2,l))}var p=new i.google.maps.Map(e,r);s.map=p,s.position=n;new i.google.maps.Marker(s)}if(t.mapZoom||(t.mapZoom=16),t.mapZoom=parseInt(t.mapZoom),i.TRMGoogleMapInitiated)d();else{i.TRMGoogleMapInit=function(){i.TRMGoogleMapInitiated=!0,d()};var c=s.createElement("script");c.type="text/javascript",c.src="https://maps.googleapis.com/maps/api/js?key="+encodeURIComponent(t.googleAPIkey)+"&callback=TRMGoogleMapInit",s.head.appendChild(c)}}};var s,d=[];window.TRMinsertAdLayer=function(e,o){if(void 0===i||i+200<(new Date).getTime()){if(i=(new Date).getTime(),s=e.props.isUrlHash,a=o,window.SMARTICO.adLayerInFrame||window.SMARTICO.previewMode)n=window;else try{window.top.TRMAccessTest=1,n=window.top}catch(o){n=window}if(e.indx&&e.props.adData[e.indx]){if(e.props.adLayerAccessOfTopDocument)try{window.top.TRMAccessTest=1;var n=window.top}catch(e){n=window}if(s&&(n.onhashchange=function(){},n.location.hash="#smartads",d=[e,o]),e.adLayerVersionsHash=r(e.adLayerVersionsHash)?"":e.adLayerVersionsHash,e.props.previewMode=parseInt(e.props.previewMode),e.props.adData[e.indx].bannerFormatAlias=r(e.props.adData[e.indx].bannerFormatAlias)?"":e.props.adData[e.indx].bannerFormatAlias,e.props.adData[e.indx].language=e.props.adData[e.indx].language&&"0"!=e.props.adData[e.indx].language&&!r(e.props.adData[e.indx].language)?e.props.adData[e.indx].language:"",e.adLayerVersionsHash){var t=n.document.querySelector("body");t||(t=n.document.body);var c=n.document.createElement("iframe"),l="trm-ad-layer-iframe-"+parseInt(e.indx);c.style="opacity:0;z-index:1111111111111;border:none;background:white;top:0px;left:0px;width:100%;height:100%;position:fixed;",c.src="https://d.smartico.one/l.p./"+encodeURIComponent(e.adLayerVersionsHash)+"/"+encodeURIComponent(e.indx)+(e.props.adData[e.indx].bannerFormatAlias?"/"+encodeURIComponent(e.props.adData[e.indx].bannerFormatAlias):"")+(e.props.adData[e.indx].language?"/"+encodeURIComponent(e.props.adData[e.indx].language):"")+"?"+(e.props.noCache?"no_cache=1&no-webserver-cache=1":"")+(e.props.previewMode?"&preview=1":"")+(window.SMARTICO.viewport?"&viewport="+window.SMARTICO.viewport:"")+"&same_tab=1",c.setAttribute("allow","clipboard-write https://d.smartico.one"),c.setAttribute("allowfullscreen",""),c.className=l,t.querySelector('iframe[src="'+c.src+'"]')||t.appendChild(c)}}}};var l=!1;window.addEventListener("message",function(e){if("getSortedAds"==e.data.message){if(this.window.top.TRMReservedAds||(this.window.top.TRMReservedAds=[],l=!0),!l)return!1;var o=e.data.ads.filter(e=>!window.top.TRMReservedAds.includes(e)).slice(0,e.data.maxDisplayedAds);window.top.TRMReservedAds.push(...o),e.source.postMessage({sortedAds:o},"*")}else if("openAdLayer"==e.data.message){e.data.instance=parseInt(e.data.instance),e.data.indx=parseInt(e.data.indx);var n=window;TRMinsertAdLayer(e.data,e)}else if("TRMCloseAdLayerWindow"==e.data.message&&e.data.indx){if(window.SMARTICO.adLayerInFrame)n=window;else try{window.top.TRMAccessTest=1,n=window.top}catch(e){n=window}s&&(n.location.hash=""),(i=n.document.querySelector("body"))||(i=n.document.body),(r=n.document.querySelector("iframe.trm-ad-layer-iframe-"+parseInt(e.data.indx)))&&r.parentNode.removeChild(r),window.SMARTICO.noBlockScroller||(pos=i.className.indexOf(" TRMAdlayerOpened"))>-1&&(i.className=i.className.substr(0,pos)+i.className.substr(pos+17))}else if("TRMOpenAdLayerWindow"==e.data.message&&e.data.indx){if(window.SMARTICO.adLayerInFrame)n=window;else try{window.top.TRMAccessTest=1,n=window.top}catch(e){n=window}var i,r;s&&(n.onhashchange=function(){if(-1==n.location.href.indexOf("#smartads")){var o=n.document.querySelector("body");o||(o=n.document.body);var t=n.document.querySelector("iframe.trm-ad-layer-iframe-"+parseInt(e.data.indx));t&&t.parentNode.removeChild(t),n.SMARTICO.noBlockScroller||(pos=o.className.indexOf(" TRMAdlayerOpened"))>-1&&(o.className=o.className.substr(0,pos)+o.className.substr(pos+17))}else TRMinsertAdLayer(d[0],d[1])}),(i=n.document.querySelector("body"))||(i=n.document.body),window.SMARTICO.noBlockScroller||-1==i.className.indexOf("TRMAdlayerOpened")&&(i.className+=" TRMAdlayerOpened"),(r=i.querySelector("iframe.trm-ad-layer-iframe-"+parseInt(e.data.indx)))&&(r.style.opacity=1);var c={message:"TRMRemoveLoadingScreen",indx:e.data.indx};"function"==typeof TRMRemoveLoadingScreen&&TRMRemoveLoadingScreen(c),a&&a.source.postMessage(c,"*")}else"TRMGetReferer"==e.data.message?e.source.postMessage({message:"TRMReferer",referer:window.location.href},"*"):"TRMCheckInsertFunction"==e.data.message?e.source.postMessage({message:"TRMCheckInsertFunctionAnswer"},"*"):"TRMAdBoxRegister"==e.data.message?window.TRMAdBox=e.source:"TRMWindowFocusUnfocus"==e.data.message&&t.push(e.source)},!1)}();;




/* include hyphenation: Source file URL:js/widget/smart-native-v2-inner-ini.hyphinator.js: */
(function () {
    var instanceId = parseInt('1781050800896750')
    //console.log('??????', instanceId, window.SMARTICO[instanceId].HyphenatorEnable, window.SMARTICO[instanceId].HyphenatorConfig)
    if (window.SMARTICO[instanceId].HyphenatorEnable && window.SMARTICO[instanceId].HyphenatorConfig) {
        var htmlTag = document.querySelector('html')
        var language = 'gb' || 'de'
        for (var ad in window.SMARTICO.adData) {
            if (window.SMARTICO.adData[ad].language) {
                language = window.SMARTICO.adData[ad].language
                break;
            }
        }
        window.SMARTICO[instanceId].HyphenatorConfig.defaultlanguage = language
        //console.log(language)

        var script = document.createElement('script')
        script.src = 'https://cdnjs.cloudflare.com/ajax/libs/Hyphenator/5.3.0/Hyphenator.min.js'
        script.integrity = 'sha256-EGdLK5WdJsYnWEi9I8SEPdTh2cmT7c4zC2tY0ljjdeM='
        script.setAttribute("crossorigin", "anonymous")
        window.TRMHyphenatorContainer = document.querySelector('.TRM-RPA-image-container.instance-1781050800896750')
        if (window.TRMHyphenatorContainer) {
            window.TRMHyphenatorContainer.appendChild(script)
        }
    }
})()