yelda-webchat 1.1.15 → 1.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("YeldaChat",[],t):"object"==typeof exports?exports.YeldaChat=t():e.YeldaChat=t()}(window,(function(){return(i={},e.m=t={"+KpT":function(e,t,i){e.exports=function e(t,i,o){function r(a,s){if(!i[a]){if(!t[a]){if(n)return n(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,i,o)}return i[a].exports}for(var n=!1,a=0;a<o.length;a++)r(o[a]);return r}({1:[function(e,t,i){!function(e,t){void 0!==i?t():(t(),e.lgZoom={})}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},t={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:function(){var e=!1,t=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return t&&parseInt(t[2],10)<54&&(e=!0),e}()},i=function(i){return this.el=i,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=e({},t,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=window.innerWidth/2,this.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)),this};i.prototype.init=function(){var e=this,t='<button aria-label="Zoom in" id="lg-zoom-in" class="lg-icon"></button><button aria-label="Zoom out" id="lg-zoom-out" class="lg-icon"></button>';e.core.s.actualSize&&(t+='<button aria-label="Actual size" id="lg-actual-size" class="lg-icon"></button>'),e.core.s.useLeftForZoom?utils.addClass(e.core.outer,"lg-use-left-for-zoom"):utils.addClass(e.core.outer,"lg-use-transition-for-zoom"),this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",t),utils.on(e.core.el,"onSlideItemLoad.lgtmzoom",(function(t){var i=e.core.s.enableZoomAfter+t.detail.delay;utils.hasClass(document.body,"lg-from-hash")&&t.detail.delay?i=0:utils.removeClass(document.body,"lg-from-hash"),e.zoomabletimeout=setTimeout((function(){utils.addClass(e.core.___slide[t.detail.index],"lg-zoomable")}),i+30)}));var i=1,o=function(t){var i=e.core.outer.querySelector(".lg-current .lg-image"),o=(window.innerWidth-i.clientWidth)/2,r=(window.innerHeight-i.clientHeight)/2+(document.documentElement.scrollTop||document.body.scrollTop),n=(t-1)*(e.pageX-o),a=(t-1)*(e.pageY-r);utils.setVendor(i,"Transform","scale3d("+t+", "+t+", 1)"),i.setAttribute("data-scale",t),e.core.s.useLeftForZoom?(i.parentElement.style.left=-n+"px",i.parentElement.style.top=-a+"px"):utils.setVendor(i.parentElement,"Transform","translate3d(-"+n+"px, -"+a+"px, 0)"),i.parentElement.setAttribute("data-x",n),i.parentElement.setAttribute("data-y",a)},r=function(){1<i?utils.addClass(e.core.outer,"lg-zoomed"):e.resetZoom(),i<1&&(i=1),o(i)},n=function(t,o,n,a){var s,l=o.clientWidth;s=e.core.s.dynamic?e.core.s.dynamicEl[n].width||o.naturalWidth||l:e.core.items[n].getAttribute("data-width")||o.naturalWidth||l,utils.hasClass(e.core.outer,"lg-zoomed")?i=1:l<s&&(i=s/l||2),a?(e.pageX=window.innerWidth/2,e.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)):(e.pageX=t.pageX||t.targetTouches[0].pageX,e.pageY=t.pageY||t.targetTouches[0].pageY),r(),setTimeout((function(){utils.removeClass(e.core.outer,"lg-grabbing"),utils.addClass(e.core.outer,"lg-grab")}),10)},a=!1;utils.on(e.core.el,"onAferAppendSlide.lgtmzoom",(function(t){var i=t.detail.index,o=e.core.___slide[i].querySelector(".lg-image");e.core.isTouch||utils.on(o,"dblclick",(function(e){n(e,o,i)})),e.core.isTouch&&utils.on(o,"touchstart",(function(e){a?(clearTimeout(a),a=null,n(e,o,i)):a=setTimeout((function(){a=null}),300),e.preventDefault()}))})),utils.on(window,"resize.lgzoom scroll.lgzoom orientationchange.lgzoom",(function(){e.pageX=window.innerWidth/2,e.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop),o(i)})),utils.on(document.getElementById("lg-zoom-out"),"click.lg",(function(){e.core.outer.querySelector(".lg-current .lg-image")&&(i-=e.core.s.scale,r())})),utils.on(document.getElementById("lg-zoom-in"),"click.lg",(function(){e.core.outer.querySelector(".lg-current .lg-image")&&(i+=e.core.s.scale,r())})),utils.on(document.getElementById("lg-actual-size"),"click.lg",(function(t){n(t,e.core.___slide[e.core.index].querySelector(".lg-image"),e.core.index,!0)})),utils.on(e.core.el,"onBeforeSlide.lgtm",(function(){i=1,e.resetZoom()})),e.core.isTouch||e.zoomDrag(),e.core.isTouch&&e.zoomSwipe()},i.prototype.resetZoom=function(){utils.removeClass(this.core.outer,"lg-zoomed");for(var e=0;e<this.core.___slide.length;e++)this.core.___slide[e].querySelector(".lg-img-wrap")&&(this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("style"),this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("data-x"),this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("data-y"));for(var t=0;t<this.core.___slide.length;t++)this.core.___slide[t].querySelector(".lg-image")&&(this.core.___slide[t].querySelector(".lg-image").removeAttribute("style"),this.core.___slide[t].querySelector(".lg-image").removeAttribute("data-scale"));this.pageX=window.innerWidth/2,this.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)},i.prototype.zoomSwipe=function(){for(var e=this,t={},i={},o=!1,r=!1,n=!1,a=0;a<e.core.___slide.length;a++)utils.on(e.core.___slide[a],"touchstart.lg",(function(i){if(utils.hasClass(e.core.outer,"lg-zoomed")){var o=e.core.___slide[e.core.index].querySelector(".lg-object");n=o.offsetHeight*o.getAttribute("data-scale")>e.core.outer.querySelector(".lg").clientHeight,((r=o.offsetWidth*o.getAttribute("data-scale")>e.core.outer.querySelector(".lg").clientWidth)||n)&&(i.preventDefault(),t={x:i.targetTouches[0].pageX,y:i.targetTouches[0].pageY})}}));for(var s=0;s<e.core.___slide.length;s++)utils.on(e.core.___slide[s],"touchmove.lg",(function(a){if(utils.hasClass(e.core.outer,"lg-zoomed")){var s,l,u=e.core.___slide[e.core.index].querySelector(".lg-img-wrap");a.preventDefault(),o=!0,i={x:a.targetTouches[0].pageX,y:a.targetTouches[0].pageY},utils.addClass(e.core.outer,"lg-zoom-dragging"),l=n?-Math.abs(u.getAttribute("data-y"))+(i.y-t.y):-Math.abs(u.getAttribute("data-y")),s=r?-Math.abs(u.getAttribute("data-x"))+(i.x-t.x):-Math.abs(u.getAttribute("data-x")),(15<Math.abs(i.x-t.x)||15<Math.abs(i.y-t.y))&&(e.core.s.useLeftForZoom?(u.style.left=s+"px",u.style.top=l+"px"):utils.setVendor(u,"Transform","translate3d("+s+"px, "+l+"px, 0)"))}}));for(var l=0;l<e.core.___slide.length;l++)utils.on(e.core.___slide[l],"touchend.lg",(function(){utils.hasClass(e.core.outer,"lg-zoomed")&&o&&(o=!1,utils.removeClass(e.core.outer,"lg-zoom-dragging"),e.touchendZoom(t,i,r,n))}))},i.prototype.zoomDrag=function(){for(var e=this,t={},i={},o=!1,r=!1,n=!1,a=!1,s=0;s<e.core.___slide.length;s++)utils.on(e.core.___slide[s],"mousedown.lgzoom",(function(i){var r=e.core.___slide[e.core.index].querySelector(".lg-object");a=r.offsetHeight*r.getAttribute("data-scale")>e.core.outer.querySelector(".lg").clientHeight,n=r.offsetWidth*r.getAttribute("data-scale")>e.core.outer.querySelector(".lg").clientWidth,utils.hasClass(e.core.outer,"lg-zoomed")&&utils.hasClass(i.target,"lg-object")&&(n||a)&&(i.preventDefault(),t={x:i.pageX,y:i.pageY},o=!0,e.core.outer.scrollLeft+=1,--e.core.outer.scrollLeft,utils.removeClass(e.core.outer,"lg-grab"),utils.addClass(e.core.outer,"lg-grabbing"))}));utils.on(window,"mousemove.lgzoom",(function(s){if(o){var l,u,c=e.core.___slide[e.core.index].querySelector(".lg-img-wrap");r=!0,i={x:s.pageX,y:s.pageY},utils.addClass(e.core.outer,"lg-zoom-dragging"),u=a?-Math.abs(c.getAttribute("data-y"))+(i.y-t.y):-Math.abs(c.getAttribute("data-y")),l=n?-Math.abs(c.getAttribute("data-x"))+(i.x-t.x):-Math.abs(c.getAttribute("data-x")),e.core.s.useLeftForZoom?(c.style.left=l+"px",c.style.top=u+"px"):utils.setVendor(c,"Transform","translate3d("+l+"px, "+u+"px, 0)")}})),utils.on(window,"mouseup.lgzoom",(function(s){o&&(o=!1,utils.removeClass(e.core.outer,"lg-zoom-dragging"),!r||t.x===i.x&&t.y===i.y||(i={x:s.pageX,y:s.pageY},e.touchendZoom(t,i,n,a)),r=!1),utils.removeClass(e.core.outer,"lg-grabbing"),utils.addClass(e.core.outer,"lg-grab")}))},i.prototype.touchendZoom=function(e,t,i,o){var r=this,n=r.core.___slide[r.core.index].querySelector(".lg-img-wrap"),a=r.core.___slide[r.core.index].querySelector(".lg-object"),s=-Math.abs(n.getAttribute("data-x"))+(t.x-e.x),l=-Math.abs(n.getAttribute("data-y"))+(t.y-e.y),u=(r.core.outer.querySelector(".lg").clientHeight-a.offsetHeight)/2,c=Math.abs(a.offsetHeight*Math.abs(a.getAttribute("data-scale"))-r.core.outer.querySelector(".lg").clientHeight+u),d=(r.core.outer.querySelector(".lg").clientWidth-a.offsetWidth)/2,T=Math.abs(a.offsetWidth*Math.abs(a.getAttribute("data-scale"))-r.core.outer.querySelector(".lg").clientWidth+d);(15<Math.abs(t.x-e.x)||15<Math.abs(t.y-e.y))&&(o&&(l<=-c?l=-c:-u<=l&&(l=-u)),i&&(s<=-T?s=-T:-d<=s&&(s=-d)),o?n.setAttribute("data-y",Math.abs(l)):l=-Math.abs(n.getAttribute("data-y")),i?n.setAttribute("data-x",Math.abs(s)):s=-Math.abs(n.getAttribute("data-x")),r.core.s.useLeftForZoom?(n.style.left=s+"px",n.style.top=l+"px"):utils.setVendor(n,"Transform","translate3d("+s+"px, "+l+"px, 0)"))},i.prototype.destroy=function(){var e=this;utils.off(e.core.el,".lgzoom"),utils.off(window,".lgzoom");for(var t=0;t<e.core.___slide.length;t++)utils.off(e.core.___slide[t],".lgzoom");utils.off(e.core.el,".lgtmzoom"),e.resetZoom(),clearTimeout(e.zoomabletimeout),e.zoomabletimeout=!1},window.lgModules.zoom=i}))},{}]},{},[1])(1)},"14Xm":function(e,t,i){e.exports=i("u938")},"1AmZ":function(e,t,i){"use strict";i.r(t);var o=i("14Xm"),r=i.n(o),n=i("D3Ub"),a=i.n(n),s=i("4d7F"),l=i.n(s),u=i("QbLZ"),c=i.n(u),d=i("iCc5"),T=i.n(d),h=i("V7oC"),f=i.n(h),b=(i("c39r"),i("xsZ3")),S=i.n(b),g=(i("RolN"),i("yu08"),i("+KpT"),i("5vGx"),i("Wdqn"),i("8SHQ")),m=i.n(g);function p(){T()(this,p)}var A=new(f()(p,[{key:"updateQueryStringParameter",value:function(e,t,i){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+r+t+"="+i}},{key:"getUrlVars",value:function(e){var t={};return e.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(e,i,o){t[i]=o})),t}},{key:"getUrlParam",value:function(e,t,i){var o=1<arguments.length&&void 0!==t?t:"",r=2<arguments.length&&void 0!==i?i:window.location.href,n=o;return-1<r.indexOf(e)&&(n=this.getUrlVars(r)[e]),n||o}},{key:"createContainer",value:function(){if(!this.parentContainer)return null;if(this.webChatContainer)return!0;var e=this.parentContainer===document.body?"yelda_container":"yelda_container inner";this.webChatContainer=document.createElement("div"),this.webChatContainer.setAttribute("id","yelda_container"),this.webChatContainer.setAttribute("class",e),this.parentContainer.appendChild(this.webChatContainer)}},{key:"addAssistantBubbleText",value:function(e,t){var i=0<arguments.length&&void 0!==e?e:null,o=1<arguments.length&&void 0!==t?t:"";i=i||this.webchatSettings&&this.webchatSettings.bubbleText,this.webChatContainer&&i&&(this.removeElement("yelda_assistant_bubble_text"),this.assistantBubbleText=document.createElement("span"),this.assistantBubbleText.setAttribute("id","yelda_assistant_bubble_text"),this.assistantBubbleText.setAttribute("class",o),this.assistantBubbleText.innerText=i,this.addCloseButtonForBubbleText(),this.assistantBubbleText.addEventListener("click",this.openChat.bind(this)),this.webChatContainer.appendChild(this.assistantBubbleText))}},{key:"addCloseButtonForBubbleText",value:function(){var e=document.createElement("a");e.setAttribute("class","bubbleCloseButton"),e.setAttribute("id","yelda_assistant_bubble_text_close"),e.setAttribute("href","#"),e.innerHTML="&times;",e.onclick=this.closeBubbleText.bind(this),this.assistantBubbleText.prepend(e)}},{key:"closeBubbleText",value:function(e){e.preventDefault(),e.stopPropagation(),this.removeElement("yelda_assistant_bubble_text"),this.assistantBubbleText=null}},{key:"addAssistantImage",value:function(){if(this.webChatContainer||(this.webChatContainer=document.getElementById("yelda_container")),null!==document.getElementById("yelda_assistant_img")){if(!this.bubbleContainer)return;document.getElementById("yelda_assistant_img").remove()}this.assistantImage=document.createElement("div"),this.bubbleContainer&&(this.assistantImage=this.bubbleContainer),this.assistantImage.setAttribute("id","yelda_assistant_img"),this.assistantImage.setAttribute("class","yelda_assistant_img default"),this.assistantImage.innerHTML='<i class="fas fa-comment"></i>',this.assistantImage.addEventListener("click",this.openChat.bind(this)),this.updateAssistantImageWithAssistantSettings()}},{key:"addAssistantImageToWebChatContainer",value:function(){this.bubbleContainer?this.webChatContainer=this.assistantImage.parentElement:this.webChatContainer.appendChild(this.assistantImage)}},{key:"updateAssistantImageWithAssistantSettings",value:function(){if(this.webChatContainer)if(this.webchatSettings){var e=!!this.webchatSettings.hasOwnProperty("isVoiceFirstUI")&&this.webchatSettings.isVoiceFirstUI,t=this.webchatSettings.image&&this.webchatSettings.image.url,i=this.webchatSettings.hasOwnProperty("isDefaultStyle")&&!this.webchatSettings.isDefaultStyle;if(e)return this.iframeContainer.classList.add("voiceFirstUI"),this.openChat(),void(this.assistantImage=null);if(i&&t){var o=null!==new S.a(navigator.userAgent).mobile()&&this.webchatSettings.mobileImage&&this.webchatSettings.mobileImage.url?this.webchatSettings.mobileImage.url:t;this.assistantImage.classList.remove("default","custom"),this.assistantImage.innerHTML='<img src="'+o+'" alt="assistant">',this.assistantImage.classList.add("custom"),this.addAssistantImageToWebChatContainer()}else this.addAssistantImageToWebChatContainer()}else this.addAssistantImageToWebChatContainer()}},{key:"createWebChatURL",value:function(e){var t=e.chatUrl;return t=this.updateQueryStringParameter(t,"assistantId",e.assistantId),t=this.updateQueryStringParameter(t,"assistantSlug",e.assistantSlug),t=this.updateQueryStringParameter(t,"locale",e.locale),t=this.updateQueryStringParameter(t,"location",e.location),e.platformSimulated&&(t=this.updateQueryStringParameter(t,"platformSimulated",e.platformSimulated)),e.hasOwnProperty("canBeClosed")&&(t=this.updateQueryStringParameter(t,"canBeClosed",e.canBeClosed)),e.hasOwnProperty("shouldBeOpened")&&(t=this.updateQueryStringParameter(t,"shouldBeOpened",e.shouldBeOpened)),e.isAdmin&&(t=this.updateQueryStringParameter(t,"isAdmin",e.isAdmin)),e.isStartBtn&&(t=this.updateQueryStringParameter(t,"isStartBtn",e.isAdmin&&e.isStartBtn)),e.isDemo&&(t=this.updateQueryStringParameter(t,"isDemo",e.isDemo)),e.hasOwnProperty(m.a.YELDA_PARAMETER)&&(t=this.updateQueryStringParameter(t,m.a.YELDA_PARAMETER,e[m.a.YELDA_PARAMETER])),t}},{key:"initWebChatContainerYActiveClass",value:function(e){var t=e.shouldBeOpened||e.isStartBtn,i=e.hasOwnProperty("canBeClosed")&&!e.canBeClosed;t&&i&&this.webChatContainer.classList.add("y_active")}},{key:"createWebChatFrame",value:function(e,t){if(this.webChatContainer||(this.webChatContainer=document.getElementsByClassName("yelda_container")[0]),!this.iframeContainer){var i="yelda_iframe_container";this.iframeContainer=document.createElement("div"),this.iframeContainer.setAttribute("id","yelda_iframe_container"),this.parentContainer!==document.body&&(i+=" inner"),this.initWebChatContainerYActiveClass(t),this.iframeContainer.setAttribute("class",i),this.webChatContainer.appendChild(this.iframeContainer)}var o=void 0;return this.webChatIframe?o=document.getElementById("web_chat_frame"):((o=document.createElement("iframe")).src=e,o.id="web_chat_frame",o.name="frame",o.style.border="0",o.setAttribute("allow","microphone;"),o.setAttribute("allowfullscreen","true"),o.setAttribute("webkitallowfullscreen","true"),o.setAttribute("mozallowfullscreen","true"),this.iframeContainer.appendChild(o)),o}},{key:"getSharedUrlProperties",value:function(e){return{facebookShareUrl:e,twitterShareUrl:e,pinterestShareUrl:e}}},{key:"getImageProperties",value:function(e){return c()({src:e,href:e},this.getSharedUrlProperties(e))}},{key:"getVideoProperties",value:function(e){var t=e.urls.reduce((function(e,t){return e+'<source src="'+t+'"></source>'}),"");return c()({html:'<video class="lg-video-object lg-html5" controls="true" preload="none">'+t+"</video>",href:e.urls[0]},e.cover&&{poster:e.cover},this.getSharedUrlProperties(e.urls[0]))}},{key:"messageListener",value:function(e){var t=e.data||e.message;if(t)if(t.event)switch(t.event){case m.a.FRAME_EVENT_TYPES.RECEIVED.OPEN_LIGHT_GALLERY:if(!t.mediaSources||!t.mediaSources.length)return;this.handleLightGallery(t);break;case m.a.FRAME_EVENT_TYPES.RECEIVED.IS_SENDING_MESSAGE:t.hasOwnProperty("data")&&window.dispatchEvent(new CustomEvent("isSendingMessage",{detail:t.data}));break;case m.a.FRAME_EVENT_TYPES.RECEIVED.ADD_MINIMAL_NOTIFICATION_TEXT:this.configurationData.hasOwnProperty("canBeClosed")&&!this.configurationData.canBeClosed||this.addAssistantBubbleText(t.text,"y_notification")}else switch(t){case m.a.FRAME_EVENT_TYPES.RECEIVED.OPEN_CHAT:this.openChat();break;case m.a.FRAME_EVENT_TYPES.RECEIVED.CLOSE_CHAT:this.closeChat();break;case m.a.FRAME_EVENT_TYPES.RECEIVED.ABSTAIN_LEAVE_VIEWPORT:this.listenLeaveViewport(!0);break;case m.a.FRAME_EVENT_TYPES.RECEIVED.LISTEN_LEAVE_VIEWPORT:this.listenLeaveViewport();break;case m.a.FRAME_EVENT_TYPES.RECEIVED.LISTEN_URL_UPDATE:this.listenUrlUpdate();break;case m.a.FRAME_EVENT_TYPES.RECEIVED.ABSTAIN_URL_UPDATE:this.listenUrlUpdate(!0);break;case m.a.FRAME_EVENT_TYPES.RECEIVED.ADD_BUBBLE_TEXT:this.configurationData.hasOwnProperty("canBeClosed")&&!this.configurationData.canBeClosed||this.addAssistantBubbleText()}}},{key:"handleLightGallery",value:function(e){var t=this,i=document.getElementById("lightgallery");i||((i=document.createElement("div")).id="lightgallery",document.getElementById("yelda_iframe_container").appendChild(i));var o=e.mediaSources.map((function(e){var i={};return("string"==typeof e||e.urls&&e.urls.length)&&(i=t.getImageProperties(e)),c()({tweetText:"",pinterestText:""},i)}));window.lightGallery(i,{googlePlus:!1,dynamic:!0,dynamicEl:o,index:e.index||0}),i.addEventListener("onCloseAfter",(function(){i.remove()}))}},{key:"closeChat",value:function(){var e=document.getElementById("yelda_container");null!==e&&e.classList.remove("y_active")}},{key:"openChat",value:function(){var e=document.getElementById("yelda_assistant_img");null!==e&&e.classList.add("activated");var t=document.getElementById("yelda_container");null!==t&&t.classList.add("y_active"),this.assistantBubbleText&&(this.assistantBubbleText=null),this.removeElement("yelda_assistant_bubble_text"),document.getElementById("web_chat_frame").contentWindow.postMessage(m.a.FRAME_EVENT_TYPES.SENT.OPEN_CHAT,"*")}},{key:"toggleFrameListener",value:function(e){var t=0<arguments.length&&void 0!==e&&e,i=!window.addEventListener,o=i?"onmessage":"message",r=window[t?i?"detachEvent":"removeEventListener":i?"attachEvent":"addEventListener"];this.messageListenerBind||(this.messageListenerBind=this.messageListener.bind(this)),r(o,this.messageListenerBind)}},{key:"loadCssAsync",value:function(){var e=document.getElementsByTagName("head")[0],t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.crossorigin="anonymous",t.href="https://yelda-webchat.s3.eu-west-3.amazonaws.com/css/yeldaWebchatInjector.min.css",t.media="all",e.appendChild(t)}},{key:"setUpChatIFrame",value:function(e){var t=this.createWebChatURL(e);this.webChatIframe=this.createWebChatFrame(t,e)}},{key:"resetChat",value:function(e){var t,i=this;return new l.a((t=a()(r.a.mark((function t(o){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i.unLoadChat(),e)return t.next=4,i.setupChat(e);t.next=4;break;case 4:o();case 5:case"end":return t.stop()}}),t,i)}))),function(e){return t.apply(this,arguments)}))}},{key:"updateAssistantData",value:function(e,t){return e.settingId&&t&&t.assistantSlug&&(e.assistantId=t.assistantId,e.assistantSlug=t.assistantSlug,e.locale=t.locale),e}},{key:"setAssistantUrl",value:function(e,t){return e?e.replace(/\/$/,""):("https://"+(m.a.REGEX_HOST.STAGING.test(t)?m.a.HOST.STAGING:m.a.HOST.PRODUCTION)).replace(/\/$/,"")}},{key:"formatData",value:function(e){var t=e.chatPath||"/chat";e.assistantUrl=this.setAssistantUrl(e.assistantUrl,window.location.href),e.chatPath=t.replace(/^\//,""),e.chatUrl=e.assistantUrl+"/"+e.chatPath,e.locale=e.locale||"fr_FR",e.isAdmin=!!e.isAdmin,e.isStartBtn=!!e.isStartBtn,e.isDemo=!!e.isDemo,e.location=encodeURIComponent(window.location.href),e.hasOwnProperty("shouldBeOpened")&&(e.shouldBeOpened=!!e.shouldBeOpened);var i=this.getUrlParam(m.a.YELDA_PARAMETER,null);return i&&""!==i&&(e[m.a.YELDA_PARAMETER]=i),e.hasOwnProperty("canBeClosed")&&(e.canBeClosed=!!e.canBeClosed),this.parentContainer=document.body,this.bubbleContainer=null,this.bubbleContainerClone=null,e.bubbleContainerChildId&&document.getElementById(e.bubbleContainerChildId)&&(this.bubbleContainer=document.getElementById(e.bubbleContainerChildId).parentElement,this.bubbleContainer&&(this.bubbleContainerClone=document.getElementById(e.bubbleContainerChildId).parentElement.cloneNode(!0))),e.parentContainerId&&document.getElementById(e.parentContainerId)&&(this.parentContainer=document.getElementById(e.parentContainerId),e.canBeClosed=e.hasOwnProperty("canBeClosed")?e.canBeClosed:m.a.CAN_BE_CLOSED_WITH_PARENT_ID),e}},{key:"isYeldaCssInjector",value:function(e){return new RegExp("\\yeldaWebchatInjector(.min)?.css").test(e)}},{key:"isStyleSheetLoaded",value:function(){var e=document.styleSheets,t=!1;if(void 0!==e&&e.length)e:for(var i=0;i<e.length;i++){var o=document.styleSheets[i];try{var r=o.cssRules;if(void 0!==r)for(var n=0;n<r.length;n++)if(void 0!==r[n].selectorText&&".yelda_assistant_img"===r[n].selectorText){t=!0;break e}}catch(e){if(this.isYeldaCssInjector(o.href)){t=!0;break e}continue}}return t}},{key:"getAppEnv",value:function(e){return m.a.REGEX_HOST.STAGING.test(e)?m.a.APP_ENV_VALUES.STAGING:m.a.APP_ENV_VALUES.PRODUCTION}},{key:"getChatBubbleUrlBase",value:function(e,t){return t?e.assistantUrl+"/assistants":m.a.CHAT_BUBBLE_EXTERNAL_ENDPOINT}},{key:"getAssistantSettingsUrl",value:function(e,t){var i=this.getChatBubbleUrlBase(e,t),o="env="+(e.env||this.getAppEnv(e.assistantUrl));return e.settingId?i+"/settings/"+e.settingId+"/chatBubble?"+o:i+"/"+e.assistantId+"/chatBubble/"+e.locale+"?"+o}},{key:"getAssistantSettings",value:function(e,t){var i=this,o=1<arguments.length&&void 0!==t?t:{},r=o.isFallback,n=void 0!==r&&r,a=o.customTimeout,s=void 0===a?null:a;return new l.a((function(t,o){try{var r=new XMLHttpRequest,a=i.getAssistantSettingsUrl(e,n);r.open("GET",a),s&&(r.timeout=s),r.send(),r.onreadystatechange=function(){if(4===r.readyState){var o=r.responseText?JSON.parse(r.responseText):null,a=o&&(o.data||o);return t(a||(n?null:i.getAssistantSettings(e,{isFallback:!0})))}},r.ontimeout=function(){if(!n)return t(i.getAssistantSettings(e,{isFallback:!0}))}}catch(a){o()}}))}},{key:"setupChat",value:function(e){var t,i=this;return new l.a((t=a()(r.a.mark((function t(o){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(document.getElementById("yelda_container")||document.getElementById("yelda_iframe_container"))return t.abrupt("return",o());t.next=2;break;case 2:if(i.webChatContainer=null,i.iframeContainer=null,i.webChatIframe=null,i.webchatSettings=null,void 0!==(e=i.formatData(e)).settingId||void 0!==e.assistantId&&void 0!==e.assistantSlug){t.next=9;break}return t.abrupt("return",o());case 9:return i.assistantId=e.assistantId,i.locale=e.locale,i.settingId=e.settingId,t.prev=12,t.next=15,i.getAssistantSettings(e,{customTimeout:m.a.CHAT_BUBBLE_REQUEST_TIMEOUT});case 15:i.webchatSettings=t.sent,e=i.updateAssistantData(e,i.webchatSettings),t.next=22;break;case 19:t.prev=19,t.t0=t.catch(12),i.webchatSettings=null;case 22:return i.listenLeaveViewport(!0),i.listenUrlUpdate(!0),i.loadChat(e),i.configurationData=e,t.abrupt("return",o());case 27:case"end":return t.stop()}}),t,i,[[12,19]])}))),function(e){return t.apply(this,arguments)}))}},{key:"shouldChatBeLoaded",value:function(e,t){if(t&&t.bubbleContainerChildId&&(!document.getElementById(t.bubbleContainerChildId)||!document.getElementById(t.bubbleContainerChildId).parentElement))return!1;if(!e)return!0;var i=window.location.hostname;return!!m.a.ALWAYS_ALLOWED_SITES_REGEX.test(i)||!(e.hasOwnProperty("isActivated")&&!e.isActivated)}},{key:"isDataOutdated",value:function(e,t){var i=t.settingId,o=t.assistantId,r=t.locale;return!(!e.settingId||e.settingId===i)||!(e.settingId||e.assistantId===o&&e.locale===r)}},{key:"loadChat",value:function(e){if(!this.isDataOutdated(e,this))if(this.shouldChatBeLoaded(this.webchatSettings,e)){if(this.isStyleSheetLoaded()||this.loadCssAsync(),!document.body||!this.parentContainer)return console.warn("document.body is not ready, please use yelda.init instead of yelda.setupChat or move the code in the page body"),null;this.createContainer(),this.setUpChatIFrame(e),e.hasOwnProperty("canBeClosed")&&!e.canBeClosed||this.addAssistantImage(),this.toggleFrameListener()}else this.unLoadChat()}},{key:"unLoadChat",value:function(){this.toggleFrameListener(!0),this.assistantImage&&(this.bubbleContainer?(this.assistantImage.removeAttribute("id","yelda_assistant_img"),this.assistantImage.removeAttribute("class","yelda_assistant_img default"),this.assistantImage.removeEventListener("click",this.openChat.bind(this)),this.assistantImage.replaceWith(this.bubbleContainerClone)):this.removeElement("yelda_assistant_img")),this.assistantBubbleText&&this.removeElement("yelda_assistant_bubble_text"),this.iframeContainer&&this.removeElement("yelda_iframe_container"),this.webChatContainer&&this.removeElement("yelda_container"),this.assistantBubbleText=null,this.bubbleContainerClone=null,this.bubbleContainer=null,this.assistantImage=null,this.iframeContainer=null,this.webChatIframe=null,this.webChatContainer=null,this.parentContainer=null,this.webchatSettings=null}},{key:"removeElement",value:function(e){document.getElementById(e)&&document.getElementById(e).remove()}},{key:"init",value:function(e){var t,i=this;return new l.a((t=a()(r.a.mark((function t(o){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==e.settingId||void 0!==e.assistantId&&void 0!==e.assistantSlug){t.next=2;break}return t.abrupt("return",o());case 2:if("complete"===document.readyState)return t.next=5,i.setupChat(e);t.next=6;break;case 5:return t.abrupt("return",o());case 6:window.onload=a()(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.setupChat(e);case 2:return t.abrupt("return",o());case 3:case"end":return t.stop()}}),t,i)})));case 7:case"end":return t.stop()}}),t,i)}))),function(e){return t.apply(this,arguments)}))}},{key:"sendMessageToChat",value:function(e){var t=document.getElementById("web_chat_frame");t&&(this.openChat(),t.contentWindow.postMessage({event:m.a.FRAME_EVENT_TYPES.SENT.SEND_USER_MESSAGE,data:e}))}},{key:"listenUrlUpdate",value:function(e){var t=this;if(0<arguments.length&&void 0!==e&&e&&this.urlObserver)return this.urlObserver.disconnect(),void(this.urlObserver=null);try{this.previousUrl="",this.urlObserver=new MutationObserver((function(){location.href!==t.previousUrl&&(t.previousUrl=location.href,t.urlUpdateListener())})),this.urlObserver.observe(document,{childList:!0,subtree:!0})}catch(e){console.warn("listenUrlUpdate error",e)}}},{key:"urlUpdateListener",value:function(){var e=document.getElementById("web_chat_frame");e&&e.contentWindow.postMessage({event:m.a.FRAME_EVENT_TYPES.SENT.URL_UPDATE,data:window.location.href},"*")}},{key:"listenLeaveViewport",value:function(e){var t=0<arguments.length&&void 0!==e&&e;if(null===new S.a(navigator.userAgent).mobile()){var i=window[t?"removeEventListener":"addEventListener"];this.viewportListenerBind||(this.viewportListenerBind=this.viewportListener.bind(this)),i("mouseout",this.viewportListenerBind)}}},{key:"viewportListener",value:function(e){e.toElement||e.relatedTarget||document.getElementById("web_chat_frame").contentWindow.postMessage({event:m.a.FRAME_EVENT_TYPES.SENT.LEAVE_VIEWPORT},"*")}}]),p);"undefined"!=typeof window&&(window.yeldaChat=A),t.default=A},"29s/":function(e,t,i){var o=i("WEpk"),r=i("5T2Y"),n="__core-js_shared__",a=r[n]||(r[n]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:o.version,mode:i("uOPS")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"2GTP":function(e,t,i){var o=i("eaoh");e.exports=function(e,t,i){if(o(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,o){return e.call(t,i,o)};case 3:return function(i,o,r){return e.call(t,i,o,r)}}return function(){return e.apply(t,arguments)}}},"2faE":function(e,t,i){var o=i("5K7Z"),r=i("eUtF"),n=i("G8Mo"),a=Object.defineProperty;t.f=i("jmDH")?Object.defineProperty:function(e,t,i){if(o(e),t=n(t,!0),o(i),r)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},"4d7F":function(e,t,i){e.exports={default:i("aW7e"),__esModule:!0}},"5K7Z":function(e,t,i){var o=i("93I4");e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},"5T2Y":function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"5vGx":function(e,t,i){e.exports=function e(t,i,o){function r(a,s){if(!i[a]){if(!t[a]){if(n)return n(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,i,o)}return i[a].exports}for(var n=!1,a=0;a<o.length;a++)r(o[a]);return r}({1:[function(e,t,i){!function(e,t){void 0!==i?t():(t(),e.lgVideo={})}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},t={videoMaxWidth:"855px",youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},i=function(i){return this.el=i,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=e({},t,this.core.s),this.videoLoaded=!1,this.init(),this};i.prototype.init=function(){var e=this;utils.on(e.core.el,"hasVideo.lgtm",(function(t){if(e.core.___slide[t.detail.index].querySelector(".lg-video").insertAdjacentHTML("beforeend",e.loadVideo(t.detail.src,"lg-object",!0,t.detail.index,t.detail.html)),t.detail.html)if(e.core.s.videojs)try{videojs(e.core.___slide[t.detail.index].querySelector(".lg-html5"),e.core.s.videojsOptions,(function(){e.videoLoaded||this.play()}))}catch(t){console.error("Make sure you have included videojs")}else e.core.___slide[t.detail.index].querySelector(".lg-html5").play()})),utils.on(e.core.el,"onAferAppendSlide.lgtm",(function(t){e.core.___slide[t.detail.index].querySelector(".lg-video-cont")&&(e.core.___slide[t.detail.index].querySelector(".lg-video-cont").style.maxWidth=e.core.s.videoMaxWidth,e.videoLoaded=!0)}));var t=function(t){if(utils.hasClass(t.querySelector(".lg-object"),"lg-has-poster")&&"none"!==t.querySelector(".lg-object").style.display)if(utils.hasClass(t,"lg-has-video")){var i=t.querySelector(".lg-youtube"),o=t.querySelector(".lg-vimeo"),r=t.querySelector(".lg-dailymotion"),n=t.querySelector(".lg-html5");if(i)i.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(o)try{$f(o).api("play")}catch(i){console.error("Make sure you have included froogaloop2 js")}else if(r)r.contentWindow.postMessage("play","*");else if(n)if(e.core.s.videojs)try{videojs(n).play()}catch(i){console.error("Make sure you have included videojs")}else n.play();utils.addClass(t,"lg-video-playing")}else{var a,s;utils.addClass(t,"lg-video-playing"),utils.addClass(t,"lg-has-video");s=e.core.s.dynamic?(a=e.core.s.dynamicEl[e.core.index].src,e.core.s.dynamicEl[e.core.index].html):(a=e.core.items[e.core.index].getAttribute("href")||e.core.items[e.core.index].getAttribute("data-src"),e.core.items[e.core.index].getAttribute("data-html")),function(i,o){if(t.querySelector(".lg-video").insertAdjacentHTML("beforeend",e.loadVideo(i,"",!1,e.core.index,o)),o)if(e.core.s.videojs)try{videojs(e.core.___slide[e.core.index].querySelector(".lg-html5"),e.core.s.videojsOptions,(function(){this.play()}))}catch(i){console.error("Make sure you have included videojs")}else e.core.___slide[e.core.index].querySelector(".lg-html5").play()}(a,s);var l=t.querySelector(".lg-object");t.querySelector(".lg-video").appendChild(l),utils.hasClass(t.querySelector(".lg-video-object"),"lg-html5")||(utils.removeClass(t,"lg-complete"),utils.on(t.querySelector(".lg-video-object"),"load.lg error.lg",(function(){utils.addClass(t,"lg-complete")})))}};if(e.core.doCss()&&1<e.core.items.length&&(e.core.s.enableSwipe&&e.core.isTouch||e.core.s.enableDrag&&!e.core.isTouch))utils.on(e.core.el,"onSlideClick.lgtm",(function(){var i=e.core.___slide[e.core.index];t(i)}));else for(var i=0;i<e.core.___slide.length;i++)!function(i){utils.on(e.core.___slide[i],"click.lg",(function(){t(e.core.___slide[i])}))}(i);utils.on(e.core.el,"onBeforeSlide.lgtm",(function(t){var i,o=e.core.___slide[t.detail.prevIndex],r=o.querySelector(".lg-youtube"),n=o.querySelector(".lg-vimeo"),a=o.querySelector(".lg-dailymotion"),s=o.querySelector(".lg-vk"),l=o.querySelector(".lg-html5");if(r)r.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(n)try{$f(n).api("pause")}catch(t){console.error("Make sure you have included froogaloop2 js")}else if(a)a.contentWindow.postMessage("pause","*");else if(l)if(e.core.s.videojs)try{videojs(l).pause()}catch(t){console.error("Make sure you have included videojs")}else l.pause();s&&s.setAttribute("src",s.getAttribute("src").replace("&autoplay","&noplay")),i=e.core.s.dynamic?e.core.s.dynamicEl[t.detail.index].src:e.core.items[t.detail.index].getAttribute("href")||e.core.items[t.detail.index].getAttribute("data-src");var u=e.core.isVideo(i,t.detail.index)||{};(u.youtube||u.vimeo||u.dailymotion||u.vk)&&utils.addClass(e.core.outer,"lg-hide-download")})),utils.on(e.core.el,"onAfterSlide.lgtm",(function(t){utils.removeClass(e.core.___slide[t.detail.prevIndex],"lg-video-playing")}))},i.prototype.loadVideo=function(e,t,i,o,r){var n,a="",s=1,l="",u=this.core.isVideo(e,o)||{};i&&(s=this.videoLoaded?0:1),n=this.core.s.dynamic?this.core.s.dynamicEl[o].title:this.core.items[o].getAttribute("title");var c=this.core.items[o].querySelector("img");if(c&&(n=n||c.getAttribute("alt")),n=n?'title="'+n+'"':"",u.youtube)l="?wmode=opaque&autoplay="+s+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(l=l+"&"+utils.param(this.core.s.youtubePlayerParams)),a='<iframe class="lg-video-object lg-youtube '+t+'" '+n+' width="560" height="315" src="//www.youtube.com/embed/'+u.youtube[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(u.vimeo)l="?autoplay="+s+"&api=1",this.core.s.vimeoPlayerParams&&(l=l+"&"+utils.param(this.core.s.vimeoPlayerParams)),a='<iframe class="lg-video-object lg-vimeo '+t+'" '+n+' width="560" height="315" src="//player.vimeo.com/video/'+u.vimeo[1]+l+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(u.dailymotion)l="?wmode=opaque&autoplay="+s+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(l=l+"&"+utils.param(this.core.s.dailymotionPlayerParams)),a='<iframe class="lg-video-object lg-dailymotion '+t+'" '+n+' width="560" height="315" src="//www.dailymotion.com/embed/video/'+u.dailymotion[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(u.html5){var d=r.substring(0,1);"."!==d&&"#"!==d||(r=document.querySelector(r).innerHTML),a=r}else u.vk&&(l="&autoplay="+s,this.core.s.vkPlayerParams&&(l=l+"&"+utils.param(this.core.s.vkPlayerParams)),a='<iframe class="lg-video-object lg-vk '+t+'" '+n+' width="560" height="315" src="http://vk.com/video_ext.php?'+u.vk[1]+l+'" frameborder="0" allowfullscreen></iframe>');return a},i.prototype.destroy=function(){this.videoLoaded=!1},window.lgModules.video=i}))},{}]},{},[1])(1)},"5vMV":function(e,t,i){var o=i("B+OT"),r=i("NsO/"),n=i("W070")(!1),a=i("VVlx")("IE_PROTO");e.exports=function(e,t){var i,s=r(e),l=0,u=[];for(i in s)i!=a&&o(s,i)&&u.push(i);for(;t.length>l;)o(s,i=t[l++])&&(~n(u,i)||u.push(i));return u}},"8SHQ":function(e,t){e.exports={CAN_BE_CLOSED_WITH_PARENT_ID:!1,YELDA_PARAMETER:"yparam",DEFAULT_PUBLICATION_STATUS:!0,ALWAYS_ALLOWED_SITES_REGEX:/^([a-z-]*.yelda.ai|localhost|0.0.0.0|127.0.0.1)$/,REGEX_HOST:{STAGING:/staging.yelda.ai/},HOST:{PRODUCTION:"app.yelda.ai",STAGING:"staging.yelda.ai"},FRAME_EVENT_TYPES:{SENT:{OPEN_CHAT:"openChat",LEAVE_VIEWPORT:"leaveViewPort",SEND_USER_MESSAGE:"sendUserMessage",URL_UPDATE:"urlUpdate"},RECEIVED:{OPEN_CHAT:"openChat",CLOSE_CHAT:"closeChat",ABSTAIN_LEAVE_VIEWPORT:"abstainLeaveViewport",OPEN_LIGHT_GALLERY:"openLightGallery",IS_SENDING_MESSAGE:"isSendingMessage",LISTEN_LEAVE_VIEWPORT:"listenLeaveViewport",LISTEN_URL_UPDATE:"listenUrlUpdate",ABSTAIN_URL_UPDATE:"abstainUrlUpdate",ADD_BUBBLE_TEXT:"addBubbleText",ADD_MINIMAL_NOTIFICATION_TEXT:"addMinimalNotificationText"}},CHAT_BUBBLE_EXTERNAL_ENDPOINT:"https://webchat.yelda.ai/webchat",CHAT_BUBBLE_REQUEST_TIMEOUT:5e3,APP_ENV_VALUES:{STAGING:"staging",PRODUCTION:"production"}}},"8gHz":function(e,t,i){var o=i("5K7Z"),r=i("eaoh"),n=i("UWiX")("species");e.exports=function(e,t){var i,a=o(e).constructor;return void 0===a||null==(i=o(a)[n])?t:r(i)}},"93I4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"B+OT":function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},B9Yq:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},D3Ub:function(e,t,i){"use strict";t.__esModule=!0;var o,r=(o=i("4d7F"))&&o.__esModule?o:{default:o};t.default=function(e){return function(){var t=e.apply(this,arguments);return new r.default((function(e,i){return function o(n,a){try{var s=t[n](a),l=s.value}catch(n){return void i(n)}if(!s.done)return r.default.resolve(l).then((function(e){o("next",e)}),(function(e){o("throw",e)}));e(l)}("next")}))}}},D8kY:function(e,t,i){var o=i("Ojgd"),r=Math.max,n=Math.min;e.exports=function(e,t){return(e=o(e))<0?r(e+t,0):n(e,t)}},EXMj:function(e,t){e.exports=function(e,t,i,o){if(!(e instanceof t)||void 0!==o&&o in e)throw TypeError(i+": incorrect invocation!");return e}},FlQf:function(e,t,i){"use strict";var o=i("ccE7")(!0);i("MPFp")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(e=o(t,i),this._i+=e.length,{value:e,done:!1})}))},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G8Mo:function(e,t,i){var o=i("93I4");e.exports=function(e,t){if(!o(e))return e;var i,r;if(t&&"function"==typeof(i=e.toString)&&!o(r=i.call(e)))return r;if("function"==typeof(i=e.valueOf)&&!o(r=i.call(e)))return r;if(!t&&"function"==typeof(i=e.toString)&&!o(r=i.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},Hsns:function(e,t,i){var o=i("93I4"),r=i("5T2Y").document,n=o(r)&&o(r.createElement);e.exports=function(e){return n?r.createElement(e):{}}},JB68:function(e,t,i){var o=i("Jes0");e.exports=function(e){return Object(o(e))}},"JMW+":function(e,t,i){"use strict";function o(){}function r(e){var t;return!(!S(e)||"function"!=typeof(t=e.then))&&t}function n(e,t){if(!e._n){e._n=!0;var i=e._c;P((function(){for(var o=e._v,n=1==e._s,a=0,s=function(t){var i,a,s,l=n?t.ok:t.fail,u=t.resolve,c=t.reject,d=t.domain;try{l?(n||(2==e._h&&V(e),e._h=1),!0===l?i=o:(d&&d.enter(),i=l(o),d&&(d.exit(),s=!0)),i===t.promise?c(B("Promise-chain cycle")):(a=r(i))?a.call(i,u,c):u(i)):c(o)}catch(t){d&&!s&&d.exit(),c(t)}};i.length>a;)s(i[a++]);e._c=[],e._n=!1,t&&!e._h&&O(e)}))}}function a(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),n(t,!0))}var s,l,u,c,d=i("uOPS"),T=i("5T2Y"),h=i("2GTP"),f=i("QMMT"),b=i("Y7ZC"),S=i("93I4"),g=i("eaoh"),m=i("EXMj"),p=i("oioR"),A=i("8gHz"),v=i("QXhf").set,P=i("q6LJ")(),y=i("ZW5q"),M=i("RDmV"),C=i("vBP9"),E=i("zXhZ"),G="Promise",B=T.TypeError,w=T.process,_=w&&w.versions,H=_&&_.v8||"",I=T[G],x="process"==f(w),D=l=y.f,L=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[i("UWiX")("species")]=function(e){e(o,o)};return(x||"function"==typeof PromiseRejectionEvent)&&e.then(o)instanceof t&&0!==H.indexOf("6.6")&&-1===C.indexOf("Chrome/66")}catch(e){}}(),O=function(e){v.call(T,(function(){var t,i,o,r=e._v,n=N(e);if(n&&(t=M((function(){x?w.emit("unhandledRejection",r,e):(i=T.onunhandledrejection)?i({promise:e,reason:r}):(o=T.console)&&o.error&&o.error("Unhandled promise rejection",r)})),e._h=x||N(e)?2:1),e._a=void 0,n&&t.e)throw t.v}))},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},V=function(e){v.call(T,(function(){var t;x?w.emit("rejectionHandled",e):(t=T.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw B("Promise can't be resolved itself");(t=r(e))?P((function(){var o={_w:i,_d:!1};try{t.call(e,h(R,o,1),h(a,o,1))}catch(e){a.call(o,e)}})):(i._v=e,i._s=1,n(i,!1))}catch(e){a.call({_w:i,_d:!1},e)}}};L||(I=function(e){m(this,I,G,"_h"),g(e),s.call(this);try{e(h(R,this,1),h(a,this,1))}catch(e){a.call(this,e)}},(s=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i("XJU/")(I.prototype,{then:function(e,t){var i=D(A(this,I));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=x?w.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&n(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),u=function(){var e=new s;this.promise=e,this.resolve=h(R,e,1),this.reject=h(a,e,1)},y.f=D=function(e){return e===I||e===c?new u(e):l(e)}),b(b.G+b.W+b.F*!L,{Promise:I}),i("RfKB")(I,G),i("TJWN")(G),c=i("WEpk")[G],b(b.S+b.F*!L,G,{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),b(b.S+b.F*(d||!L),G,{resolve:function(e){return E(d&&this===c?I:this,e)}}),b(b.S+b.F*!(L&&i("TuGD")((function(e){I.all(e).catch(o)}))),G,{all:function(e){var t=this,i=D(t),o=i.resolve,r=i.reject,n=M((function(){var i=[],n=0,a=1;p(e,!1,(function(e){var s=n++,l=!1;i.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,i[s]=e,--a||o(i))}),r)})),--a||o(i)}));return n.e&&r(n.v),i.promise},race:function(e){var t=this,i=D(t),o=i.reject,r=M((function(){p(e,!1,(function(e){t.resolve(e).then(i.resolve,o)}))}));return r.e&&o(r.v),i.promise}})},Jes0:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},KUxP:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},M1xp:function(e,t,i){var o=i("a0xu");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},MCSJ:function(e,t){e.exports=function(e,t,i){var o=void 0===i;switch(t.length){case 0:return o?e():e.call(i);case 1:return o?e(t[0]):e.call(i,t[0]);case 2:return o?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return o?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return o?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},MPFp:function(e,t,i){"use strict";function o(){return this}var r=i("uOPS"),n=i("Y7ZC"),a=i("kTiW"),s=i("NegM"),l=i("SBuE"),u=i("j2DC"),c=i("RfKB"),d=i("U+KD"),T=i("UWiX")("iterator"),h=!([].keys&&"next"in[].keys()),f="values";e.exports=function(e,t,i,b,S,g,m){function p(e){if(!h&&e in E)return E[e];switch(e){case"keys":case f:return function(){return new i(this,e)}}return function(){return new i(this,e)}}u(i,t,b);var A,v,P,y=t+" Iterator",M=S==f,C=!1,E=e.prototype,G=E[T]||E["@@iterator"]||S&&E[S],B=G||p(S),w=S?M?p("entries"):B:void 0,_="Array"==t&&E.entries||G;if(_&&(P=d(_.call(new e)))!==Object.prototype&&P.next&&(c(P,y,!0),r||"function"==typeof P[T]||s(P,T,o)),M&&G&&G.name!==f&&(C=!0,B=function(){return G.call(this)}),r&&!m||!h&&!C&&E[T]||s(E,T,B),l[t]=B,l[y]=o,S)if(A={values:M?B:p(f),keys:g?B:p("keys"),entries:w},m)for(v in A)v in E||a(E,v,A[v]);else n(n.P+n.F*(h||C),t,A);return A}},MvwC:function(e,t,i){var o=i("5T2Y").document;e.exports=o&&o.documentElement},NV0k:function(e,t){t.f={}.propertyIsEnumerable},NegM:function(e,t,i){var o=i("2faE"),r=i("rr1i");e.exports=i("jmDH")?function(e,t,i){return o.f(e,t,r(1,i))}:function(e,t,i){return e[t]=i,e}},"NsO/":function(e,t,i){var o=i("M1xp"),r=i("Jes0");e.exports=function(e){return o(r(e))}},NwJ3:function(e,t,i){var o=i("SBuE"),r=i("UWiX")("iterator"),n=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||n[r]===e)}},Ojgd:function(e,t){var i=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?o:i)(e)}},P2sY:function(e,t,i){e.exports={default:i("UbbE"),__esModule:!0}},PBE1:function(e,t,i){"use strict";var o=i("Y7ZC"),r=i("WEpk"),n=i("5T2Y"),a=i("8gHz"),s=i("zXhZ");o(o.P+o.R,"Promise",{finally:function(e){var t=a(this,r.Promise||n.Promise),i="function"==typeof e;return this.then(i?function(i){return s(t,e()).then((function(){return i}))}:e,i?function(i){return s(t,e()).then((function(){throw i}))}:e)}})},"Q/yX":function(e,t,i){"use strict";var o=i("Y7ZC"),r=i("ZW5q"),n=i("RDmV");o(o.S,"Promise",{try:function(e){var t=r.f(this),i=n(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},QMMT:function(e,t,i){var o=i("a0xu"),r=i("UWiX")("toStringTag"),n="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,i,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?i:n?o(t):"Object"==(a=o(t))&&"function"==typeof t.callee?"Arguments":a}},QXhf:function(e,t,i){function o(){var e=+this;if(p.hasOwnProperty(e)){var t=p[e];delete p[e],t()}}function r(e){o.call(e.data)}var n,a,s,l=i("2GTP"),u=i("MCSJ"),c=i("MvwC"),d=i("Hsns"),T=i("5T2Y"),h=T.process,f=T.setImmediate,b=T.clearImmediate,S=T.MessageChannel,g=T.Dispatch,m=0,p={},A="onreadystatechange";f&&b||(f=function(e){for(var t=[],i=1;i<arguments.length;)t.push(arguments[i++]);return p[++m]=function(){u("function"==typeof e?e:Function(e),t)},n(m),m},b=function(e){delete p[e]},"process"==i("a0xu")(h)?n=function(e){h.nextTick(l(o,e,1))}:g&&g.now?n=function(e){g.now(l(o,e,1))}:S?(s=(a=new S).port2,a.port1.onmessage=r,n=l(s.postMessage,s,1)):T.addEventListener&&"function"==typeof postMessage&&!T.importScripts?(n=function(e){T.postMessage(e+"","*")},T.addEventListener("message",r,!1)):n=A in d("script")?function(e){c.appendChild(d("script"))[A]=function(){c.removeChild(this),o.call(e)}}:function(e){setTimeout(l(o,e,1),0)}),e.exports={set:f,clear:b}},QbLZ:function(e,t,i){"use strict";t.__esModule=!0;var o,r=(o=i("P2sY"))&&o.__esModule?o:{default:o};t.default=r.default||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}},RDmV:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},"RU/L":function(e,t,i){i("Rqdy");var o=i("WEpk").Object;e.exports=function(e,t,i){return o.defineProperty(e,t,i)}},RfKB:function(e,t,i){var o=i("2faE").f,r=i("B+OT"),n=i("UWiX")("toStringTag");e.exports=function(e,t,i){e&&!r(e=i?e:e.prototype,n)&&o(e,n,{configurable:!0,value:t})}},RolN:function(e,t,i){var o,r,n;r=[i("x8jq")],void 0===(n="function"==typeof(o=function(e){"use strict";var t=function(e){return e&&e.__esModule?e:{default:e}}(e);var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e};(function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}e.prototype=window.Event.prototype,window.CustomEvent=e})(),window.utils=t.default,window.lgData={uid:0},window.lgModules={};var o={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,ariaLabelledby:"",ariaDescribedby:"",closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};function r(e,t){if(this.el=e,this.s=i({},o,t),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.items=[],this.s.dynamic?this.items=this.s.dynamicEl:"this"===this.s.selector?this.items.push(this.el):""!==this.s.selector?this.s.selectWithin?this.items=document.querySelector(this.s.selectWithin).querySelectorAll(this.s.selector):this.items=this.el.querySelectorAll(this.s.selector):this.items=this.el.children,this.___slide="",this.outer="",this.init(),this}r.prototype.init=function(){var e=this;e.s.preload>e.items.length&&(e.s.preload=e.items.length);var i=window.location.hash;if(i.indexOf("lg="+this.s.galleryId)>0&&(e.index=parseInt(i.split("&slide=")[1],10),t.default.addClass(document.body,"lg-from-hash"),t.default.hasClass(document.body,"lg-on")||(t.default.addClass(document.body,"lg-on"),setTimeout((function(){e.build(e.index)})))),e.s.dynamic)t.default.trigger(this.el,"onBeforeOpen"),e.index=e.s.index||0,t.default.hasClass(document.body,"lg-on")||(t.default.addClass(document.body,"lg-on"),setTimeout((function(){e.build(e.index)})));else for(var o=0;o<e.items.length;o++)!function(i){t.default.on(e.items[i],"click.lgcustom",(function(o){o.preventDefault(),t.default.trigger(e.el,"onBeforeOpen"),e.index=e.s.index||i,t.default.hasClass(document.body,"lg-on")||(e.build(e.index),t.default.addClass(document.body,"lg-on"))}))}(o)},r.prototype.build=function(e){var i=this;for(var o in i.structure(),window.lgModules)i.modules[o]=new window.lgModules[o](i.el);i.slide(e,!1,!1),i.s.keyPress&&i.keyPress(),i.items.length>1&&(i.arrow(),setTimeout((function(){i.enableDrag(),i.enableSwipe()}),50),i.s.mousewheel&&i.mousewheel()),i.counter(),i.closeGallery(),t.default.trigger(i.el,"onAfterOpen"),t.default.on(i.outer,"mousemove.lg click.lg touchstart.lg",(function(){t.default.removeClass(i.outer,"lg-hide-items"),clearTimeout(i.hideBartimeout),i.hideBartimeout=setTimeout((function(){t.default.addClass(i.outer,"lg-hide-items")}),i.s.hideBarsDelay)}))},r.prototype.structure=function(){var e,i="",o="",r=0,n="",a=this;for(document.body.insertAdjacentHTML("beforeend",'<div class="lg-backdrop"></div>'),t.default.setVendor(document.querySelector(".lg-backdrop"),"TransitionDuration",this.s.backdropDuration+"ms"),r=0;r<this.items.length;r++)i+='<div class="lg-item"></div>';if(this.s.controls&&this.items.length>1&&(o='<div class="lg-actions"><button aria-label="Previous slide" class="lg-prev lg-icon">'+this.s.prevHtml+'</button><button aria-label="Next slide" class="lg-next lg-icon">'+this.s.nextHtml+"</button></div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(n='<div role="status" aria-live="polite" class="lg-sub-html"></div>'),e='<div tabindex="-1" aria-modal="true" '+(this.s.ariaLabelledby?'aria-labelledby="'+this.s.ariaLabelledby+'"':"")+" "+(this.s.ariaDescribedby?'aria-describedby="'+this.s.ariaDescribedby+'"':"")+' role="dialog" class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+i+'</div><div class="lg-toolbar group"><button aria-label="Close gallery" class="lg-close lg-icon"></button></div>'+o+n+"</div></div>",document.body.insertAdjacentHTML("beforeend",e),this.outer=document.querySelector(".lg-outer"),this.outer.focus(),this.___slide=this.outer.querySelectorAll(".lg-item"),this.s.useLeft?(t.default.addClass(this.outer,"lg-use-left"),this.s.mode="lg-slide"):t.default.addClass(this.outer,"lg-use-css3"),a.setTop(),t.default.on(window,"resize.lg orientationchange.lg",(function(){setTimeout((function(){a.setTop()}),100)})),t.default.addClass(this.___slide[this.index],"lg-current"),this.doCss()?t.default.addClass(this.outer,"lg-css3"):(t.default.addClass(this.outer,"lg-css"),this.s.speed=0),t.default.addClass(this.outer,this.s.mode),this.s.enableDrag&&this.items.length>1&&t.default.addClass(this.outer,"lg-grab"),this.s.showAfterLoad&&t.default.addClass(this.outer,"lg-show-after-load"),this.doCss()){var s=this.outer.querySelector(".lg-inner");t.default.setVendor(s,"TransitionTimingFunction",this.s.cssEasing),t.default.setVendor(s,"TransitionDuration",this.s.speed+"ms")}setTimeout((function(){t.default.addClass(document.querySelector(".lg-backdrop"),"in")})),setTimeout((function(){t.default.addClass(a.outer,"lg-visible")}),this.s.backdropDuration),this.s.download&&this.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",'<a id="lg-download" aria-label="Download" target="_blank" download class="lg-download lg-icon"></a>'),this.prevScrollTop=document.documentElement.scrollTop||document.body.scrollTop},r.prototype.setTop=function(){if("100%"!==this.s.height){var e=window.innerHeight,t=(e-parseInt(this.s.height,10))/2,i=this.outer.querySelector(".lg");e>=parseInt(this.s.height,10)?i.style.top=t+"px":i.style.top="0px"}},r.prototype.doCss=function(){return!!function(){var e=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],t=document.documentElement,i=0;for(i=0;i<e.length;i++)if(e[i]in t.style)return!0}()},r.prototype.isVideo=function(e,t){var i;if(i=this.s.dynamic?this.s.dynamicEl[t].html:this.items[t].getAttribute("data-html"),!e&&i)return{html5:!0};var o=e.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),r=e.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),n=e.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),a=e.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return o?{youtube:o}:r?{vimeo:r}:n?{dailymotion:n}:a?{vk:a}:void 0},r.prototype.counter=function(){this.s.counter&&this.outer.querySelector(this.s.appendCounterTo).insertAdjacentHTML("beforeend",'<div id="lg-counter" role="status" aria-live="polite"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.items.length+"</span></div>")},r.prototype.addHtml=function(e){var i,o=null;if(this.s.dynamic?o=this.s.dynamicEl[e].subHtml:(o=(i=this.items[e]).getAttribute("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!o&&(o=i.getAttribute("title"))&&i.querySelector("img")&&(o=i.querySelector("img").getAttribute("alt"))),null!=o){var r=o.substring(0,1);"."!==r&&"#"!==r||(o=this.s.subHtmlSelectorRelative&&!this.s.dynamic?i.querySelector(o).innerHTML:document.querySelector(o).innerHTML)}else o="";".lg-sub-html"===this.s.appendSubHtmlTo?this.outer.querySelector(this.s.appendSubHtmlTo).innerHTML=o:this.___slide[e].insertAdjacentHTML("beforeend",o),null!=o&&(""===o?t.default.addClass(this.outer.querySelector(this.s.appendSubHtmlTo),"lg-empty-html"):t.default.removeClass(this.outer.querySelector(this.s.appendSubHtmlTo),"lg-empty-html")),t.default.trigger(this.el,"onAfterAppendSubHtml",{index:e})},r.prototype.preload=function(e){var t=1,i=1;for(t=1;t<=this.s.preload&&!(t>=this.items.length-e);t++)this.loadContent(e+t,!1,0);for(i=1;i<=this.s.preload&&!(e-i<0);i++)this.loadContent(e-i,!1,0)},r.prototype.loadContent=function(e,i,o){var r,n,a,s,l,u,c,d=this,T=!1,h=function(e){for(var t=[],i=[],o=0;o<e.length;o++){var r=e[o].split(" ");""===r[0]&&r.splice(0,1),i.push(r[0]),t.push(r[1])}for(var a=window.innerWidth,s=0;s<t.length;s++)if(parseInt(t[s],10)>a){n=i[s];break}};if(d.s.dynamic){if(d.s.dynamicEl[e].poster&&(T=!0,a=d.s.dynamicEl[e].poster),u=d.s.dynamicEl[e].html,n=d.s.dynamicEl[e].src,c=d.s.dynamicEl[e].alt,d.s.dynamicEl[e].responsive)h(d.s.dynamicEl[e].responsive.split(","));s=d.s.dynamicEl[e].srcset,l=d.s.dynamicEl[e].sizes}else{if(d.items[e].getAttribute("data-poster")&&(T=!0,a=d.items[e].getAttribute("data-poster")),u=d.items[e].getAttribute("data-html"),n=d.items[e].getAttribute("href")||d.items[e].getAttribute("data-src"),c=d.items[e].getAttribute("title"),d.items[e].querySelector("img")&&(c=c||d.items[e].querySelector("img").getAttribute("alt")),d.items[e].getAttribute("data-responsive"))h(d.items[e].getAttribute("data-responsive").split(","));s=d.items[e].getAttribute("data-srcset"),l=d.items[e].getAttribute("data-sizes")}var f=!1;d.s.dynamic?d.s.dynamicEl[e].iframe&&(f=!0):"true"===d.items[e].getAttribute("data-iframe")&&(f=!0);var b=d.isVideo(n,e);if(!t.default.hasClass(d.___slide[e],"lg-loaded")){if(f)d.___slide[e].insertAdjacentHTML("afterbegin",'<div class="lg-video-cont" style="max-width:'+d.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+n+'" allowfullscreen="true"></iframe></div></div>');else if(T){var S="";S=b&&b.youtube?"lg-has-youtube":b&&b.vimeo?"lg-has-vimeo":"lg-has-html5",d.___slide[e].insertAdjacentHTML("beforeend",'<div class="lg-video-cont '+S+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+a+'" /></div></div>')}else b?(d.___slide[e].insertAdjacentHTML("beforeend",'<div class="lg-video-cont "><div class="lg-video"></div></div>'),t.default.trigger(d.el,"hasVideo",{index:e,src:n,html:u})):(c=c?'alt="'+c+'"':"",d.___slide[e].insertAdjacentHTML("beforeend",'<div class="lg-img-wrap"><img class="lg-object lg-image" '+c+' src="'+n+'" /></div>'));if(t.default.trigger(d.el,"onAferAppendSlide",{index:e}),r=d.___slide[e].querySelector(".lg-object"),l&&r.setAttribute("sizes",l),s){r.setAttribute("srcset",s);try{picturefill({elements:[r[0]]})}catch(i){console.error("Make sure you have included Picturefill version 2")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&d.addHtml(e),t.default.addClass(d.___slide[e],"lg-loaded")}t.default.on(d.___slide[e].querySelector(".lg-object"),"load.lg error.lg",(function(){var i=0;o&&!t.default.hasClass(document.body,"lg-from-hash")&&(i=o),setTimeout((function(){t.default.addClass(d.___slide[e],"lg-complete"),t.default.trigger(d.el,"onSlideItemLoad",{index:e,delay:o||0})}),i)})),b&&b.html5&&!T&&t.default.addClass(d.___slide[e],"lg-complete"),!0===i&&(t.default.hasClass(d.___slide[e],"lg-complete")?d.preload(e):t.default.on(d.___slide[e].querySelector(".lg-object"),"load.lg error.lg",(function(){d.preload(e)})))},r.prototype.slide=function(e,i,o){for(var r=0,n=0;n<this.___slide.length;n++)if(t.default.hasClass(this.___slide[n],"lg-current")){r=n;break}var a=this;if(!a.lGalleryOn||r!==e){var s=this.___slide.length,l=a.lGalleryOn?this.s.speed:0,u=!1,c=!1;if(!a.lgBusy){var d;if(this.s.download)(d=a.s.dynamic?!1!==a.s.dynamicEl[e].downloadUrl&&(a.s.dynamicEl[e].downloadUrl||a.s.dynamicEl[e].src):"false"!==a.items[e].getAttribute("data-download-url")&&(a.items[e].getAttribute("data-download-url")||a.items[e].getAttribute("href")||a.items[e].getAttribute("data-src")))?(document.getElementById("lg-download").setAttribute("href",d),t.default.removeClass(a.outer,"lg-hide-download")):t.default.addClass(a.outer,"lg-hide-download");if(t.default.trigger(a.el,"onBeforeSlide",{prevIndex:r,index:e,fromTouch:i,fromThumb:o}),a.lgBusy=!0,clearTimeout(a.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout((function(){a.addHtml(e)}),l),this.arrowDisable(e),i){var T=e-1,h=e+1;(0===e&&r===s-1||e===s-1&&0===r)&&(h=0,T=s-1),t.default.removeClass(a.outer.querySelector(".lg-prev-slide"),"lg-prev-slide"),t.default.removeClass(a.outer.querySelector(".lg-current"),"lg-current"),t.default.removeClass(a.outer.querySelector(".lg-next-slide"),"lg-next-slide"),t.default.addClass(a.___slide[T],"lg-prev-slide"),t.default.addClass(a.___slide[h],"lg-next-slide"),t.default.addClass(a.___slide[e],"lg-current")}else{t.default.addClass(a.outer,"lg-no-trans");for(var f=0;f<this.___slide.length;f++)t.default.removeClass(this.___slide[f],"lg-prev-slide"),t.default.removeClass(this.___slide[f],"lg-next-slide");e<r?(c=!0,0!==e||r!==s-1||o||(c=!1,u=!0)):e>r&&(u=!0,e!==s-1||0!==r||o||(c=!0,u=!1)),c?(t.default.addClass(this.___slide[e],"lg-prev-slide"),t.default.addClass(this.___slide[r],"lg-next-slide")):u&&(t.default.addClass(this.___slide[e],"lg-next-slide"),t.default.addClass(this.___slide[r],"lg-prev-slide")),setTimeout((function(){t.default.removeClass(a.outer.querySelector(".lg-current"),"lg-current"),t.default.addClass(a.___slide[e],"lg-current"),t.default.removeClass(a.outer,"lg-no-trans")}),50)}a.lGalleryOn?(setTimeout((function(){a.loadContent(e,!0,0)}),this.s.speed+50),setTimeout((function(){a.lgBusy=!1,t.default.trigger(a.el,"onAfterSlide",{prevIndex:r,index:e,fromTouch:i,fromThumb:o})}),this.s.speed)):(a.loadContent(e,!0,a.s.backdropDuration),a.lgBusy=!1,t.default.trigger(a.el,"onAfterSlide",{prevIndex:r,index:e,fromTouch:i,fromThumb:o})),a.lGalleryOn=!0,this.s.counter&&document.getElementById("lg-counter-current")&&(document.getElementById("lg-counter-current").innerHTML=e+1)}}},r.prototype.goToNextSlide=function(e){var i=this;i.lgBusy||(i.index+1<i.___slide.length?(i.index++,t.default.trigger(i.el,"onBeforeNextSlide",{index:i.index}),i.slide(i.index,e,!1)):i.s.loop?(i.index=0,t.default.trigger(i.el,"onBeforeNextSlide",{index:i.index}),i.slide(i.index,e,!1)):i.s.slideEndAnimatoin&&(t.default.addClass(i.outer,"lg-right-end"),setTimeout((function(){t.default.removeClass(i.outer,"lg-right-end")}),400)))},r.prototype.goToPrevSlide=function(e){var i=this;i.lgBusy||(i.index>0?(i.index--,t.default.trigger(i.el,"onBeforePrevSlide",{index:i.index,fromTouch:e}),i.slide(i.index,e,!1)):i.s.loop?(i.index=i.items.length-1,t.default.trigger(i.el,"onBeforePrevSlide",{index:i.index,fromTouch:e}),i.slide(i.index,e,!1)):i.s.slideEndAnimatoin&&(t.default.addClass(i.outer,"lg-left-end"),setTimeout((function(){t.default.removeClass(i.outer,"lg-left-end")}),400)))},r.prototype.keyPress=function(){var e=this;this.items.length>1&&t.default.on(window,"keyup.lg",(function(t){e.items.length>1&&(37===t.keyCode&&(t.preventDefault(),e.goToPrevSlide()),39===t.keyCode&&(t.preventDefault(),e.goToNextSlide()))})),t.default.on(window,"keydown.lg",(function(i){!0===e.s.escKey&&27===i.keyCode&&(i.preventDefault(),t.default.hasClass(e.outer,"lg-thumb-open")?t.default.removeClass(e.outer,"lg-thumb-open"):e.destroy())}))},r.prototype.arrow=function(){var e=this;t.default.on(this.outer.querySelector(".lg-prev"),"click.lg",(function(){e.goToPrevSlide()})),t.default.on(this.outer.querySelector(".lg-next"),"click.lg",(function(){e.goToNextSlide()}))},r.prototype.arrowDisable=function(e){if(!this.s.loop&&this.s.hideControlOnEnd){var i=this.outer.querySelector(".lg-next"),o=this.outer.querySelector(".lg-prev");e+1<this.___slide.length?(i.removeAttribute("disabled"),t.default.removeClass(i,"disabled")):(i.setAttribute("disabled","disabled"),t.default.addClass(i,"disabled")),e>0?(o.removeAttribute("disabled"),t.default.removeClass(o,"disabled")):(o.setAttribute("disabled","disabled"),t.default.addClass(o,"disabled"))}},r.prototype.setTranslate=function(e,i,o){this.s.useLeft?e.style.left=i:t.default.setVendor(e,"Transform","translate3d("+i+"px, "+o+"px, 0px)")},r.prototype.touchMove=function(e,i){var o=i-e;Math.abs(o)>15&&(t.default.addClass(this.outer,"lg-dragging"),this.setTranslate(this.___slide[this.index],o,0),this.setTranslate(document.querySelector(".lg-prev-slide"),-this.___slide[this.index].clientWidth+o,0),this.setTranslate(document.querySelector(".lg-next-slide"),this.___slide[this.index].clientWidth+o,0))},r.prototype.touchEnd=function(e){var i=this;"lg-slide"!==i.s.mode&&t.default.addClass(i.outer,"lg-slide");for(var o=0;o<this.___slide.length;o++)t.default.hasClass(this.___slide[o],"lg-current")||t.default.hasClass(this.___slide[o],"lg-prev-slide")||t.default.hasClass(this.___slide[o],"lg-next-slide")||(this.___slide[o].style.opacity="0");setTimeout((function(){t.default.removeClass(i.outer,"lg-dragging"),e<0&&Math.abs(e)>i.s.swipeThreshold?i.goToNextSlide(!0):e>0&&Math.abs(e)>i.s.swipeThreshold?i.goToPrevSlide(!0):Math.abs(e)<5&&t.default.trigger(i.el,"onSlideClick");for(var o=0;o<i.___slide.length;o++)i.___slide[o].removeAttribute("style")})),setTimeout((function(){t.default.hasClass(i.outer,"lg-dragging")||"lg-slide"===i.s.mode||t.default.removeClass(i.outer,"lg-slide")}),i.s.speed+100)},r.prototype.enableSwipe=function(){var e=this,i=0,o=0,r=!1;if(e.s.enableSwipe&&e.isTouch&&e.doCss()){for(var n=0;n<e.___slide.length;n++)t.default.on(e.___slide[n],"touchstart.lg",(function(o){t.default.hasClass(e.outer,"lg-zoomed")||e.lgBusy||(o.preventDefault(),e.manageSwipeClass(),i=o.targetTouches[0].pageX)}));for(var a=0;a<e.___slide.length;a++)t.default.on(e.___slide[a],"touchmove.lg",(function(n){t.default.hasClass(e.outer,"lg-zoomed")||(n.preventDefault(),o=n.targetTouches[0].pageX,e.touchMove(i,o),r=!0)}));for(var s=0;s<e.___slide.length;s++)t.default.on(e.___slide[s],"touchend.lg",(function(){t.default.hasClass(e.outer,"lg-zoomed")||(r?(r=!1,e.touchEnd(o-i)):t.default.trigger(e.el,"onSlideClick"))}))}},r.prototype.enableDrag=function(){var e=this,i=0,o=0,r=!1,n=!1;if(e.s.enableDrag&&!e.isTouch&&e.doCss()){for(var a=0;a<e.___slide.length;a++)t.default.on(e.___slide[a],"mousedown.lg",(function(o){t.default.hasClass(e.outer,"lg-zoomed")||(t.default.hasClass(o.target,"lg-object")||t.default.hasClass(o.target,"lg-video-play"))&&(o.preventDefault(),e.lgBusy||(e.manageSwipeClass(),i=o.pageX,r=!0,e.outer.scrollLeft+=1,e.outer.scrollLeft-=1,t.default.removeClass(e.outer,"lg-grab"),t.default.addClass(e.outer,"lg-grabbing"),t.default.trigger(e.el,"onDragstart")))}));t.default.on(window,"mousemove.lg",(function(a){r&&(n=!0,o=a.pageX,e.touchMove(i,o),t.default.trigger(e.el,"onDragmove"))})),t.default.on(window,"mouseup.lg",(function(a){n?(n=!1,e.touchEnd(o-i),t.default.trigger(e.el,"onDragend")):(t.default.hasClass(a.target,"lg-object")||t.default.hasClass(a.target,"lg-video-play"))&&t.default.trigger(e.el,"onSlideClick"),r&&(r=!1,t.default.removeClass(e.outer,"lg-grabbing"),t.default.addClass(e.outer,"lg-grab"))}))}},r.prototype.manageSwipeClass=function(){var e=this.index+1,i=this.index-1,o=this.___slide.length;this.s.loop&&(0===this.index?i=o-1:this.index===o-1&&(e=0));for(var r=0;r<this.___slide.length;r++)t.default.removeClass(this.___slide[r],"lg-next-slide"),t.default.removeClass(this.___slide[r],"lg-prev-slide");i>-1&&t.default.addClass(this.___slide[i],"lg-prev-slide"),t.default.addClass(this.___slide[e],"lg-next-slide")},r.prototype.mousewheel=function(){var e=this;t.default.on(e.outer,"mousewheel.lg",(function(t){t.deltaY&&(t.deltaY>0?e.goToPrevSlide():e.goToNextSlide(),t.preventDefault())}))},r.prototype.closeGallery=function(){var e=this,i=!1;t.default.on(this.outer.querySelector(".lg-close"),"click.lg",(function(){e.destroy()})),e.s.closable&&(t.default.on(e.outer,"mousedown.lg",(function(e){i=!!(t.default.hasClass(e.target,"lg-outer")||t.default.hasClass(e.target,"lg-item")||t.default.hasClass(e.target,"lg-img-wrap"))})),t.default.on(e.outer,"mouseup.lg",(function(o){(t.default.hasClass(o.target,"lg-outer")||t.default.hasClass(o.target,"lg-item")||t.default.hasClass(o.target,"lg-img-wrap")&&i)&&(t.default.hasClass(e.outer,"lg-dragging")||e.destroy())})))},r.prototype.destroy=function(e){var i=this;if(e||t.default.trigger(i.el,"onBeforeClose"),document.body.scrollTop=i.prevScrollTop,document.documentElement.scrollTop=i.prevScrollTop,e){if(!i.s.dynamic)for(var o=0;o<this.items.length;o++)t.default.off(this.items[o],".lg"),t.default.off(this.items[o],".lgcustom");var r=i.el.getAttribute("lg-uid");delete window.lgData[r],i.el.removeAttribute("lg-uid")}for(var n in t.default.off(this.el,".lgtm"),window.lgModules)i.modules[n]&&i.modules[n].destroy(e);this.lGalleryOn=!1,clearTimeout(i.hideBartimeout),this.hideBartimeout=!1,t.default.off(window,".lg"),t.default.removeClass(document.body,"lg-on"),t.default.removeClass(document.body,"lg-from-hash"),i.outer&&t.default.removeClass(i.outer,"lg-visible"),t.default.removeClass(document.querySelector(".lg-backdrop"),"in"),setTimeout((function(){try{i.outer&&i.outer.parentNode.removeChild(i.outer),document.querySelector(".lg-backdrop")&&document.querySelector(".lg-backdrop").parentNode.removeChild(document.querySelector(".lg-backdrop")),e||t.default.trigger(i.el,"onCloseAfter"),i.el.focus()}catch(e){}}),i.s.backdropDuration+50)},window.lightGallery=function(e,t){if(e)try{if(e.getAttribute("lg-uid"))try{window.lgData[e.getAttribute("lg-uid")].init()}catch(e){console.error("lightGallery has not initiated properly")}else{var i="lg"+window.lgData.uid++;window.lgData[i]=new r(e,t),e.setAttribute("lg-uid",i)}}catch(e){console.error("lightGallery has not initiated properly")}}})?o.apply(t,r):o)||(e.exports=n)},Rqdy:function(e,t,i){var o=i("Y7ZC");o(o.S+o.F*!i("jmDH"),"Object",{defineProperty:i("2faE").f})},SBuE:function(e,t){e.exports={}},SEkw:function(e,t,i){e.exports={default:i("RU/L"),__esModule:!0}},TJWN:function(e,t,i){"use strict";var o=i("5T2Y"),r=i("WEpk"),n=i("2faE"),a=i("jmDH"),s=i("UWiX")("species");e.exports=function(e){var t="function"==typeof r[e]?r[e]:o[e];a&&t&&!t[s]&&n.f(t,s,{configurable:!0,get:function(){return this}})}},TuGD:function(e,t,i){var o=i("UWiX")("iterator"),r=!1;try{var n=[7][o]();n.return=function(){r=!0},Array.from(n,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var i=!1;try{var n=[7],a=n[o]();a.next=function(){return{done:i=!0}},n[o]=function(){return a},e(n)}catch(e){}return i}},"U+KD":function(e,t,i){var o=i("B+OT"),r=i("JB68"),n=i("VVlx")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,n)?e[n]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},UO39:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},UWiX:function(e,t,i){var o=i("29s/")("wks"),r=i("YqAc"),n=i("5T2Y").Symbol,a="function"==typeof n;(e.exports=function(e){return o[e]||(o[e]=a&&n[e]||(a?n:r)("Symbol."+e))}).store=o},UbbE:function(e,t,i){i("o8NH"),e.exports=i("WEpk").Object.assign},V7oC:function(e,t,i){"use strict";t.__esModule=!0;var o,r=(o=i("SEkw"))&&o.__esModule?o:{default:o};function n(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),(0,r.default)(e,o.key,o)}}t.default=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}},VVlx:function(e,t,i){var o=i("29s/")("keys"),r=i("YqAc");e.exports=function(e){return o[e]||(o[e]=r(e))}},W070:function(e,t,i){var o=i("NsO/"),r=i("tEej"),n=i("D8kY");e.exports=function(e){return function(t,i,a){var s,l=o(t),u=r(l.length),c=n(a,u);if(e&&i!=i){for(;c<u;)if((s=l[c++])!=s)return!0}else for(;c<u;c++)if((e||c in l)&&l[c]===i)return e||c||0;return!e&&-1}}},WEpk:function(e,t){var i=e.exports={version:"2.6.1"};"number"==typeof __e&&(__e=i)},Wdqn:function(e,t,i){e.exports=function e(t,i,o){function r(a,s){if(!i[a]){if(!t[a]){if(n)return n(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,i,o)}return i[a].exports}for(var n=!1,a=0;a<o.length;a++)r(o[a]);return r}({1:[function(e,t,i){!function(e,t){void 0!==i?t():(t(),e.lgShare={})}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},t={share:!0,facebook:!0,facebookDropdownText:"Facebook",twitter:!0,twitterDropdownText:"Twitter",googlePlus:!0,googlePlusDropdownText:"GooglePlus",pinterest:!0,pinterestDropdownText:"Pinterest"},i=function(i){return this.el=i,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=e({},t,this.core.s),this.core.s.share&&this.init(),this};i.prototype.init=function(){var e=this,t='<button aria-label="Share" aria-haspopup="true" aria-expanded="false" id="lg-share" class="lg-icon"><ul class="lg-dropdown" style="position: absolute;">';t+=e.core.s.facebook?'<li><a id="lg-share-facebook" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.facebookDropdownText+"</span></a></li>":"",t+=e.core.s.twitter?'<li><a id="lg-share-twitter" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.twitterDropdownText+"</span></a></li>":"",t+=e.core.s.googlePlus?'<li><a id="lg-share-googleplus" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.googlePlusDropdownText+"</span></a></li>":"",t+=e.core.s.pinterest?'<li><a id="lg-share-pinterest" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.pinterestDropdownText+"</span></a></li>":"",t+="</ul></button>",this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",t),this.core.outer.querySelector(".lg").insertAdjacentHTML("beforeend",'<div id="lg-dropdown-overlay"></div>');var i=document.getElementById("lg-share");utils.on(i,"click.lg",(function(){utils.hasClass(e.core.outer,"lg-dropdown-active")?(utils.removeClass(e.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!1)):(utils.addClass(e.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!0))})),utils.on(document.getElementById("lg-dropdown-overlay"),"click.lg",(function(){utils.removeClass(e.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!1)})),utils.on(e.core.el,"onAfterSlide.lgtm",(function(t){setTimeout((function(){e.core.s.facebook&&document.getElementById("lg-share-facebook").setAttribute("href","https://www.facebook.com/sharer/sharer.php?u="+e.getSharePropsUrl(t.detail.index,"data-facebook-share-url")),e.core.s.twitter&&document.getElementById("lg-share-twitter").setAttribute("href","https://twitter.com/intent/tweet?text="+e.getShareProps(t.detail.index,"data-tweet-text")+"&url="+e.getSharePropsUrl(t.detail.index,"data-twitter-share-url")),e.core.s.googlePlus&&document.getElementById("lg-share-googleplus").setAttribute("href","https://plus.google.com/share?url="+e.getSharePropsUrl(t.detail.index,"data-googleplus-share-url")),e.core.s.pinterest&&document.getElementById("lg-share-pinterest").setAttribute("href","http://www.pinterest.com/pin/create/button/?url="+e.getSharePropsUrl(t.detail.index,"data-pinterest-share-url")+"&media="+encodeURIComponent(e.getShareProps(t.detail.index,"href")||e.getShareProps(t.detail.index,"data-src"))+"&description="+e.getShareProps(t.detail.index,"data-pinterest-text"))}),100)}))},i.prototype.getSharePropsUrl=function(e,t){var i=this.getShareProps(e,t);return i=i||window.location.href,encodeURIComponent(i)},i.prototype.getShareProps=function(e,t){var i="";return this.core.s.dynamic?i=this.core.items[e][function(e){return e.toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}(t.replace("data-",""))]:this.core.items[e].getAttribute(t)&&(i=this.core.items[e].getAttribute(t)),i},i.prototype.destroy=function(){},window.lgModules.share=i}))},{}]},{},[1])(1)},"XJU/":function(e,t,i){var o=i("NegM");e.exports=function(e,t,i){for(var r in t)i&&e[r]?e[r]=t[r]:o(e,r,t[r]);return e}},Y7ZC:function(e,t,i){var o=i("5T2Y"),r=i("WEpk"),n=i("2GTP"),a=i("NegM"),s=i("B+OT"),l="prototype",u=function(e,t,i){var c,d,T,h=e&u.F,f=e&u.G,b=e&u.S,S=e&u.P,g=e&u.B,m=e&u.W,p=f?r:r[t]||(r[t]={}),A=p[l],v=f?o:b?o[t]:(o[t]||{})[l];for(c in f&&(i=t),i)(d=!h&&v&&void 0!==v[c])&&s(p,c)||(T=d?v[c]:i[c],p[c]=f&&"function"!=typeof v[c]?i[c]:g&&d?n(T,o):m&&v[c]==T?function(e){function t(t,i,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,i)}return new e(t,i,o)}return e.apply(this,arguments)}return t[l]=e[l],t}(T):S&&"function"==typeof T?n(Function.call,T):T,S&&((p.virtual||(p.virtual={}))[c]=T,e&u.R&&A&&!A[c]&&a(A,c,T)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},YqAc:function(e,t){var i=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+o).toString(36))}},ZW5q:function(e,t,i){"use strict";var o=i("eaoh");function r(e){var t,i;this.promise=new e((function(e,o){if(void 0!==t||void 0!==i)throw TypeError("Bad Promise constructor");t=e,i=o})),this.resolve=o(t),this.reject=o(i)}e.exports.f=function(e){return new r(e)}},a0xu:function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},aW7e:function(e,t,i){i("wgeU"),i("FlQf"),i("bBy9"),i("JMW+"),i("PBE1"),i("Q/yX"),e.exports=i("WEpk").Promise},bBy9:function(e,t,i){i("w2d+");for(var o=i("5T2Y"),r=i("NegM"),n=i("SBuE"),a=i("UWiX")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=o[u],d=c&&c.prototype;d&&!d[a]&&r(d,a,u),n[u]=n.Array}},c39r:function(e,t,i){},ccE7:function(e,t,i){var o=i("Ojgd"),r=i("Jes0");e.exports=function(e){return function(t,i){var n,a,s=String(r(t)),l=o(i),u=s.length;return l<0||u<=l?e?"":void 0:(n=s.charCodeAt(l))<55296||56319<n||l+1===u||(a=s.charCodeAt(l+1))<56320||57343<a?e?s.charAt(l):n:e?s.slice(l,l+2):a-56320+(n-55296<<10)+65536}}},eUtF:function(e,t,i){e.exports=!i("jmDH")&&!i("KUxP")((function(){return 7!=Object.defineProperty(i("Hsns")("div"),"a",{get:function(){return 7}}).a}))},eaoh:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},fNZA:function(e,t,i){var o=i("QMMT"),r=i("UWiX")("iterator"),n=i("SBuE");e.exports=i("WEpk").getIteratorMethod=function(e){if(null!=e)return e[r]||e["@@iterator"]||n[o(e)]}},fpC5:function(e,t,i){var o=i("2faE"),r=i("5K7Z"),n=i("w6GO");e.exports=i("jmDH")?Object.defineProperties:function(e,t){r(e);for(var i,a=n(t),s=a.length,l=0;l<s;)o.f(e,i=a[l++],t[i]);return e}},hDam:function(e,t){e.exports=function(){}},iCc5:function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},j2DC:function(e,t,i){"use strict";var o=i("oVml"),r=i("rr1i"),n=i("RfKB"),a={};i("NegM")(a,i("UWiX")("iterator"),(function(){return this})),e.exports=function(e,t,i){e.prototype=o(a,{next:r(1,i)}),n(e,t+" Iterator")}},jmDH:function(e,t,i){e.exports=!i("KUxP")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},kTiW:function(e,t,i){e.exports=i("NegM")},kwZ1:function(e,t,i){"use strict";var o=i("w6GO"),r=i("mqlF"),n=i("NV0k"),a=i("JB68"),s=i("M1xp"),l=Object.assign;e.exports=!l||i("KUxP")((function(){var e={},t={},i=Symbol(),o="abcdefghijklmnopqrst";return e[i]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[i]||Object.keys(l({},t)).join("")!=o}))?function(e,t){for(var i=a(e),l=arguments.length,u=1,c=r.f,d=n.f;u<l;)for(var T,h=s(arguments[u++]),f=c?o(h).concat(c(h)):o(h),b=f.length,S=0;S<b;)d.call(h,T=f[S++])&&(i[T]=h[T]);return i}:l},ls82:function(e,t){!function(t){"use strict";var i,o=Object.prototype,r=o.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag",u="object"==typeof e,c=t.regeneratorRuntime;if(c)u&&(e.exports=c);else{(c=t.regeneratorRuntime=u?e.exports:{}).wrap=A;var d="suspendedStart",T="suspendedYield",h="executing",f="completed",b={},S={};S[a]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(H([])));m&&m!==o&&r.call(m,a)&&(S=m);var p=M.prototype=P.prototype=Object.create(S);y.prototype=p.constructor=M,M.constructor=y,M[l]=y.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(p),e},c.awrap=function(e){return{__await:e}},C(E.prototype),E.prototype[s]=function(){return this},c.AsyncIterator=E,c.async=function(e,t,i,o){var r=new E(A(e,t,i,o));return c.isGeneratorFunction(t)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},C(p),p[l]="Generator",p[a]=function(){return this},p.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var i in e)t.push(i);return t.reverse(),function i(){for(;t.length;){var o=t.pop();if(o in e)return i.value=o,i.done=!1,i}return i.done=!0,i}},c.values=H,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=i)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(o,r){return s.type="throw",s.arg=e,t.next=o,r&&(t.method="next",t.arg=i),!!r}for(var n=this.tryEntries.length-1;0<=n;--n){var a=this.tryEntries[n],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;0<=i;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var a=n?n.completion:{};return a.type=e,a.arg=t,n?(this.method="next",this.next=n.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),w(i),b}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var o=i.completion;if("throw"===o.type){var r=o.arg;w(i)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:H(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=i),b}}}function A(e,t,i,o){var r,n,a,s,l=t&&t.prototype instanceof P?t:P,u=Object.create(l.prototype),c=new _(o||[]);return u._invoke=(r=e,n=i,a=c,s=d,function(e,t){if(s===h)throw new Error("Generator is already running");if(s===f){if("throw"===e)throw t;return I()}for(a.method=e,a.arg=t;;){var i=a.delegate;if(i){var o=G(i,a);if(o){if(o===b)continue;return o}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===d)throw s=f,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=h;var l=v(r,n,a);if("normal"===l.type){if(s=a.done?f:T,l.arg===b)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(s=f,a.method="throw",a.arg=l.arg)}}),u}function v(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}function P(){}function y(){}function M(){}function C(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function E(e){var t;this._invoke=function(i,o){function n(){return new Promise((function(t,n){!function t(i,o,n,a){var s=v(e[i],e,o);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,n,a)}),(function(e){t("throw",e,n,a)})):Promise.resolve(u).then((function(e){l.value=e,n(l)}),a)}a(s.arg)}(i,o,t,n)}))}return t=t?t.then(n,n):n()}}function G(e,t){var o=e.iterator[t.method];if(o===i){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=i,G(e,t),"throw"===t.method))return b;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var r=v(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,b;var n=r.arg;return n?n.done?(t[e.resultName]=n.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=i),t.delegate=null,b):n:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function H(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,n=function t(){for(;++o<e.length;)if(r.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=i,t.done=!0,t};return n.next=n}}return{next:I}}function I(){return{value:i,done:!0}}}(function(){return this}()||Function("return this")())},mqlF:function(e,t){t.f=Object.getOwnPropertySymbols},o8NH:function(e,t,i){var o=i("Y7ZC");o(o.S+o.F,"Object",{assign:i("kwZ1")})},oVml:function(e,t,i){function o(){}var r=i("5K7Z"),n=i("fpC5"),a=i("FpHa"),s=i("VVlx")("IE_PROTO"),l="prototype",u=function(){var e,t=i("Hsns")("iframe"),o=a.length;for(t.style.display="none",i("MvwC").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;o--;)delete u[l][a[o]];return u()};e.exports=Object.create||function(e,t){var i;return null!==e?(o[l]=r(e),i=new o,o[l]=null,i[s]=e):i=u(),void 0===t?i:n(i,t)}},oioR:function(e,t,i){var o=i("2GTP"),r=i("sNwI"),n=i("NwJ3"),a=i("5K7Z"),s=i("tEej"),l=i("fNZA"),u={},c={};(t=e.exports=function(e,t,i,d,T){var h,f,b,S,g=T?function(){return e}:l(e),m=o(i,d,t?2:1),p=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(n(g)){for(h=s(e.length);p<h;p++)if((S=t?m(a(f=e[p])[0],f[1]):m(e[p]))===u||S===c)return S}else for(b=g.call(e);!(f=b.next()).done;)if((S=r(b,m,f.value,t))===u||S===c)return S}).BREAK=u,t.RETURN=c},q6LJ:function(e,t,i){var o=i("5T2Y"),r=i("QXhf").set,n=o.MutationObserver||o.WebKitMutationObserver,a=o.process,s=o.Promise,l="process"==i("a0xu")(a);e.exports=function(){function e(){var e,o;for(l&&(e=a.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?u():i=void 0,e}}i=void 0,e&&e.enter()}var t,i,u;if(l)u=function(){a.nextTick(e)};else if(!n||o.navigator&&o.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);u=function(){c.then(e)}}else u=function(){r.call(o,e)};else{var d=!0,T=document.createTextNode("");new n(e).observe(T,{characterData:!0}),u=function(){T.data=d=!d}}return function(e){var o={fn:e,next:void 0};i&&(i.next=o),t||(t=o,u()),i=o}}},rr1i:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},sNwI:function(e,t,i){var o=i("5K7Z");e.exports=function(e,t,i,r){try{return r?t(o(i)[0],i[1]):t(i)}catch(t){var n=e.return;throw void 0!==n&&o(n.call(e)),t}}},tEej:function(e,t,i){var o=i("Ojgd"),r=Math.min;e.exports=function(e){return 0<e?r(o(e),9007199254740991):0}},u938:function(e,t,i){var o=function(){return this}()||Function("return this")(),r=o.regeneratorRuntime&&0<=Object.getOwnPropertyNames(o).indexOf("regeneratorRuntime"),n=r&&o.regeneratorRuntime;if(o.regeneratorRuntime=void 0,e.exports=i("ls82"),r)o.regeneratorRuntime=n;else try{delete o.regeneratorRuntime}catch(e){o.regeneratorRuntime=void 0}},uOPS:function(e,t){e.exports=!0},vBP9:function(e,t,i){var o=i("5T2Y").navigator;e.exports=o&&o.userAgent||""},"w2d+":function(e,t,i){"use strict";var o=i("hDam"),r=i("UO39"),n=i("SBuE"),a=i("NsO/");e.exports=i("MPFp")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,i=this._i++;return!e||i>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])}),"values"),n.Arguments=n.Array,o("keys"),o("values"),o("entries")},w6GO:function(e,t,i){var o=i("5vMV"),r=i("FpHa");e.exports=Object.keys||function(e){return o(e,r)}},wgeU:function(e,t){},x8jq:function(e,t,i){var o,r;void 0===(r="function"==typeof(o=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t={getAttribute:function(e,t){return e[t]},setAttribute:function(e,t,i){e[t]=i},wrap:function(e,t){if(e){var i=document.createElement("div");i.className=t,e.parentNode.insertBefore(i,e),e.parentNode.removeChild(e),i.appendChild(e)}},addClass:function(e,t){e&&(e.classList?e.classList.add(t):e.className+=" "+t)},removeClass:function(e,t){e&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},hasClass:function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)},setVendor:function(e,t,i){e&&(e.style[t.charAt(0).toLowerCase()+t.slice(1)]=i,e.style["webkit"+t]=i,e.style["moz"+t]=i,e.style["ms"+t]=i,e.style["o"+t]=i)},trigger:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(e){var o=new CustomEvent(t,{detail:i});e.dispatchEvent(o)}},Listener:{uid:0},on:function(e,i,o){var r=this;e&&i.split(" ").forEach((function(i){var n=r.getAttribute(e,"lg-event-uid")||"";t.Listener.uid++,n+="&"+t.Listener.uid,r.setAttribute(e,"lg-event-uid",n),t.Listener[i+t.Listener.uid]=o,e.addEventListener(i.split(".")[0],o,!1)}))},off:function(e,i){if(e){var o=this.getAttribute(e,"lg-event-uid");if(o){o=o.split("&");for(var r=0;r<o.length;r++)if(o[r]){var n=i+o[r];if("."===n.substring(0,1))for(var a in t.Listener)t.Listener.hasOwnProperty(a)&&a.split(".").indexOf(n.split(".")[1])>-1&&(e.removeEventListener(a.split(".")[0],t.Listener[a]),this.setAttribute(e,"lg-event-uid",this.getAttribute(e,"lg-event-uid").replace("&"+o[r],"")),delete t.Listener[a]);else e.removeEventListener(n.split(".")[0],t.Listener[n]),this.setAttribute(e,"lg-event-uid",this.getAttribute(e,"lg-event-uid").replace("&"+o[r],"")),delete t.Listener[n]}}}},param:function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}};e.default=t})?o.apply(t,[t]):o)||(e.exports=r)},xsZ3:function(e,t,i){
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("YeldaChat",[],t):"object"==typeof exports?exports.YeldaChat=t():e.YeldaChat=t()}(window,(function(){return(i={},e.m=t={"+KpT":function(e,t,i){e.exports=function e(t,i,o){function r(a,s){if(!i[a]){if(!t[a]){if(n)return n(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,i,o)}return i[a].exports}for(var n=!1,a=0;a<o.length;a++)r(o[a]);return r}({1:[function(e,t,i){!function(e,t){void 0!==i?t():(t(),e.lgZoom={})}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},t={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:function(){var e=!1,t=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return t&&parseInt(t[2],10)<54&&(e=!0),e}()},i=function(i){return this.el=i,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=e({},t,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=window.innerWidth/2,this.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)),this};i.prototype.init=function(){var e=this,t='<button aria-label="Zoom in" id="lg-zoom-in" class="lg-icon"></button><button aria-label="Zoom out" id="lg-zoom-out" class="lg-icon"></button>';e.core.s.actualSize&&(t+='<button aria-label="Actual size" id="lg-actual-size" class="lg-icon"></button>'),e.core.s.useLeftForZoom?utils.addClass(e.core.outer,"lg-use-left-for-zoom"):utils.addClass(e.core.outer,"lg-use-transition-for-zoom"),this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",t),utils.on(e.core.el,"onSlideItemLoad.lgtmzoom",(function(t){var i=e.core.s.enableZoomAfter+t.detail.delay;utils.hasClass(document.body,"lg-from-hash")&&t.detail.delay?i=0:utils.removeClass(document.body,"lg-from-hash"),e.zoomabletimeout=setTimeout((function(){utils.addClass(e.core.___slide[t.detail.index],"lg-zoomable")}),i+30)}));var i=1,o=function(t){var i=e.core.outer.querySelector(".lg-current .lg-image"),o=(window.innerWidth-i.clientWidth)/2,r=(window.innerHeight-i.clientHeight)/2+(document.documentElement.scrollTop||document.body.scrollTop),n=(t-1)*(e.pageX-o),a=(t-1)*(e.pageY-r);utils.setVendor(i,"Transform","scale3d("+t+", "+t+", 1)"),i.setAttribute("data-scale",t),e.core.s.useLeftForZoom?(i.parentElement.style.left=-n+"px",i.parentElement.style.top=-a+"px"):utils.setVendor(i.parentElement,"Transform","translate3d(-"+n+"px, -"+a+"px, 0)"),i.parentElement.setAttribute("data-x",n),i.parentElement.setAttribute("data-y",a)},r=function(){1<i?utils.addClass(e.core.outer,"lg-zoomed"):e.resetZoom(),i<1&&(i=1),o(i)},n=function(t,o,n,a){var s,l=o.clientWidth;s=e.core.s.dynamic?e.core.s.dynamicEl[n].width||o.naturalWidth||l:e.core.items[n].getAttribute("data-width")||o.naturalWidth||l,utils.hasClass(e.core.outer,"lg-zoomed")?i=1:l<s&&(i=s/l||2),a?(e.pageX=window.innerWidth/2,e.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)):(e.pageX=t.pageX||t.targetTouches[0].pageX,e.pageY=t.pageY||t.targetTouches[0].pageY),r(),setTimeout((function(){utils.removeClass(e.core.outer,"lg-grabbing"),utils.addClass(e.core.outer,"lg-grab")}),10)},a=!1;utils.on(e.core.el,"onAferAppendSlide.lgtmzoom",(function(t){var i=t.detail.index,o=e.core.___slide[i].querySelector(".lg-image");e.core.isTouch||utils.on(o,"dblclick",(function(e){n(e,o,i)})),e.core.isTouch&&utils.on(o,"touchstart",(function(e){a?(clearTimeout(a),a=null,n(e,o,i)):a=setTimeout((function(){a=null}),300),e.preventDefault()}))})),utils.on(window,"resize.lgzoom scroll.lgzoom orientationchange.lgzoom",(function(){e.pageX=window.innerWidth/2,e.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop),o(i)})),utils.on(document.getElementById("lg-zoom-out"),"click.lg",(function(){e.core.outer.querySelector(".lg-current .lg-image")&&(i-=e.core.s.scale,r())})),utils.on(document.getElementById("lg-zoom-in"),"click.lg",(function(){e.core.outer.querySelector(".lg-current .lg-image")&&(i+=e.core.s.scale,r())})),utils.on(document.getElementById("lg-actual-size"),"click.lg",(function(t){n(t,e.core.___slide[e.core.index].querySelector(".lg-image"),e.core.index,!0)})),utils.on(e.core.el,"onBeforeSlide.lgtm",(function(){i=1,e.resetZoom()})),e.core.isTouch||e.zoomDrag(),e.core.isTouch&&e.zoomSwipe()},i.prototype.resetZoom=function(){utils.removeClass(this.core.outer,"lg-zoomed");for(var e=0;e<this.core.___slide.length;e++)this.core.___slide[e].querySelector(".lg-img-wrap")&&(this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("style"),this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("data-x"),this.core.___slide[e].querySelector(".lg-img-wrap").removeAttribute("data-y"));for(var t=0;t<this.core.___slide.length;t++)this.core.___slide[t].querySelector(".lg-image")&&(this.core.___slide[t].querySelector(".lg-image").removeAttribute("style"),this.core.___slide[t].querySelector(".lg-image").removeAttribute("data-scale"));this.pageX=window.innerWidth/2,this.pageY=window.innerHeight/2+(document.documentElement.scrollTop||document.body.scrollTop)},i.prototype.zoomSwipe=function(){for(var e=this,t={},i={},o=!1,r=!1,n=!1,a=0;a<e.core.___slide.length;a++)utils.on(e.core.___slide[a],"touchstart.lg",(function(i){if(utils.hasClass(e.core.outer,"lg-zoomed")){var o=e.core.___slide[e.core.index].querySelector(".lg-object");n=o.offsetHeight*o.getAttribute("data-scale")>e.core.outer.querySelector(".lg").clientHeight,((r=o.offsetWidth*o.getAttribute("data-scale")>e.core.outer.querySelector(".lg").clientWidth)||n)&&(i.preventDefault(),t={x:i.targetTouches[0].pageX,y:i.targetTouches[0].pageY})}}));for(var s=0;s<e.core.___slide.length;s++)utils.on(e.core.___slide[s],"touchmove.lg",(function(a){if(utils.hasClass(e.core.outer,"lg-zoomed")){var s,l,u=e.core.___slide[e.core.index].querySelector(".lg-img-wrap");a.preventDefault(),o=!0,i={x:a.targetTouches[0].pageX,y:a.targetTouches[0].pageY},utils.addClass(e.core.outer,"lg-zoom-dragging"),l=n?-Math.abs(u.getAttribute("data-y"))+(i.y-t.y):-Math.abs(u.getAttribute("data-y")),s=r?-Math.abs(u.getAttribute("data-x"))+(i.x-t.x):-Math.abs(u.getAttribute("data-x")),(15<Math.abs(i.x-t.x)||15<Math.abs(i.y-t.y))&&(e.core.s.useLeftForZoom?(u.style.left=s+"px",u.style.top=l+"px"):utils.setVendor(u,"Transform","translate3d("+s+"px, "+l+"px, 0)"))}}));for(var l=0;l<e.core.___slide.length;l++)utils.on(e.core.___slide[l],"touchend.lg",(function(){utils.hasClass(e.core.outer,"lg-zoomed")&&o&&(o=!1,utils.removeClass(e.core.outer,"lg-zoom-dragging"),e.touchendZoom(t,i,r,n))}))},i.prototype.zoomDrag=function(){for(var e=this,t={},i={},o=!1,r=!1,n=!1,a=!1,s=0;s<e.core.___slide.length;s++)utils.on(e.core.___slide[s],"mousedown.lgzoom",(function(i){var r=e.core.___slide[e.core.index].querySelector(".lg-object");a=r.offsetHeight*r.getAttribute("data-scale")>e.core.outer.querySelector(".lg").clientHeight,n=r.offsetWidth*r.getAttribute("data-scale")>e.core.outer.querySelector(".lg").clientWidth,utils.hasClass(e.core.outer,"lg-zoomed")&&utils.hasClass(i.target,"lg-object")&&(n||a)&&(i.preventDefault(),t={x:i.pageX,y:i.pageY},o=!0,e.core.outer.scrollLeft+=1,--e.core.outer.scrollLeft,utils.removeClass(e.core.outer,"lg-grab"),utils.addClass(e.core.outer,"lg-grabbing"))}));utils.on(window,"mousemove.lgzoom",(function(s){if(o){var l,u,c=e.core.___slide[e.core.index].querySelector(".lg-img-wrap");r=!0,i={x:s.pageX,y:s.pageY},utils.addClass(e.core.outer,"lg-zoom-dragging"),u=a?-Math.abs(c.getAttribute("data-y"))+(i.y-t.y):-Math.abs(c.getAttribute("data-y")),l=n?-Math.abs(c.getAttribute("data-x"))+(i.x-t.x):-Math.abs(c.getAttribute("data-x")),e.core.s.useLeftForZoom?(c.style.left=l+"px",c.style.top=u+"px"):utils.setVendor(c,"Transform","translate3d("+l+"px, "+u+"px, 0)")}})),utils.on(window,"mouseup.lgzoom",(function(s){o&&(o=!1,utils.removeClass(e.core.outer,"lg-zoom-dragging"),!r||t.x===i.x&&t.y===i.y||(i={x:s.pageX,y:s.pageY},e.touchendZoom(t,i,n,a)),r=!1),utils.removeClass(e.core.outer,"lg-grabbing"),utils.addClass(e.core.outer,"lg-grab")}))},i.prototype.touchendZoom=function(e,t,i,o){var r=this,n=r.core.___slide[r.core.index].querySelector(".lg-img-wrap"),a=r.core.___slide[r.core.index].querySelector(".lg-object"),s=-Math.abs(n.getAttribute("data-x"))+(t.x-e.x),l=-Math.abs(n.getAttribute("data-y"))+(t.y-e.y),u=(r.core.outer.querySelector(".lg").clientHeight-a.offsetHeight)/2,c=Math.abs(a.offsetHeight*Math.abs(a.getAttribute("data-scale"))-r.core.outer.querySelector(".lg").clientHeight+u),d=(r.core.outer.querySelector(".lg").clientWidth-a.offsetWidth)/2,T=Math.abs(a.offsetWidth*Math.abs(a.getAttribute("data-scale"))-r.core.outer.querySelector(".lg").clientWidth+d);(15<Math.abs(t.x-e.x)||15<Math.abs(t.y-e.y))&&(o&&(l<=-c?l=-c:-u<=l&&(l=-u)),i&&(s<=-T?s=-T:-d<=s&&(s=-d)),o?n.setAttribute("data-y",Math.abs(l)):l=-Math.abs(n.getAttribute("data-y")),i?n.setAttribute("data-x",Math.abs(s)):s=-Math.abs(n.getAttribute("data-x")),r.core.s.useLeftForZoom?(n.style.left=s+"px",n.style.top=l+"px"):utils.setVendor(n,"Transform","translate3d("+s+"px, "+l+"px, 0)"))},i.prototype.destroy=function(){var e=this;utils.off(e.core.el,".lgzoom"),utils.off(window,".lgzoom");for(var t=0;t<e.core.___slide.length;t++)utils.off(e.core.___slide[t],".lgzoom");utils.off(e.core.el,".lgtmzoom"),e.resetZoom(),clearTimeout(e.zoomabletimeout),e.zoomabletimeout=!1},window.lgModules.zoom=i}))},{}]},{},[1])(1)},"14Xm":function(e,t,i){e.exports=i("u938")},"1AmZ":function(e,t,i){"use strict";i.r(t);var o=i("14Xm"),r=i.n(o),n=i("D3Ub"),a=i.n(n),s=i("4d7F"),l=i.n(s),u=i("QbLZ"),c=i.n(u),d=i("iCc5"),T=i.n(d),h=i("V7oC"),f=i.n(h),b=(i("c39r"),i("xsZ3")),S=i.n(b),m=(i("RolN"),i("yu08"),i("+KpT"),i("5vGx"),i("Wdqn"),i("8SHQ")),g=i.n(m);function p(){T()(this,p)}var A=new(f()(p,[{key:"updateQueryStringParameter",value:function(e,t,i){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+r+t+"="+i}},{key:"getUrlVars",value:function(e){var t={};return e.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(e,i,o){t[i]=o})),t}},{key:"getUrlParam",value:function(e,t,i){var o=1<arguments.length&&void 0!==t?t:"",r=2<arguments.length&&void 0!==i?i:window.location.href,n=o;return-1<r.indexOf(e)&&(n=this.getUrlVars(r)[e]),n||o}},{key:"createContainer",value:function(){if(!this.parentContainer)return null;if(this.webChatContainer)return!0;var e=this.parentContainer===document.body?"yelda_container":"yelda_container inner";this.webChatContainer=document.createElement("div"),this.webChatContainer.setAttribute("id","yelda_container"),this.webChatContainer.setAttribute("class",e),this.parentContainer.appendChild(this.webChatContainer)}},{key:"addAssistantBubbleText",value:function(e,t){var i=0<arguments.length&&void 0!==e?e:null,o=1<arguments.length&&void 0!==t?t:"";i=i||this.webchatSettings&&this.webchatSettings.bubbleText,this.webChatContainer&&i&&(this.removeElement("yelda_assistant_bubble_text"),this.assistantBubbleText=document.createElement("span"),this.assistantBubbleText.setAttribute("id","yelda_assistant_bubble_text"),this.assistantBubbleText.setAttribute("class",o),this.assistantBubbleText.innerText=i,this.addCloseButtonForBubbleText(),this.assistantBubbleText.addEventListener("click",this.openChat.bind(this)),this.webChatContainer.appendChild(this.assistantBubbleText))}},{key:"addCloseButtonForBubbleText",value:function(){var e=document.createElement("a");e.setAttribute("class","bubbleCloseButton"),e.setAttribute("id","yelda_assistant_bubble_text_close"),e.setAttribute("href","#"),e.innerHTML="&times;",e.onclick=this.closeBubbleText.bind(this),this.assistantBubbleText.prepend(e)}},{key:"closeBubbleText",value:function(e){e.preventDefault(),e.stopPropagation(),this.removeElement("yelda_assistant_bubble_text"),this.assistantBubbleText=null}},{key:"addAssistantImage",value:function(){if(this.webChatContainer||(this.webChatContainer=document.getElementById("yelda_container")),null!==document.getElementById("yelda_assistant_img")){if(!this.bubbleContainer)return;document.getElementById("yelda_assistant_img").remove()}this.assistantImage=document.createElement("div"),this.bubbleContainer&&(this.assistantImage=this.bubbleContainer),this.assistantImage.setAttribute("id","yelda_assistant_img"),this.assistantImage.setAttribute("class","yelda_assistant_img default"),this.assistantImage.innerHTML='<i class="fas fa-comment"></i>',this.assistantImage.addEventListener("click",this.openChat.bind(this)),this.updateAssistantImageWithAssistantSettings()}},{key:"addAssistantImageToWebChatContainer",value:function(){this.bubbleContainer?this.webChatContainer=this.assistantImage.parentElement:this.webChatContainer.appendChild(this.assistantImage)}},{key:"updateAssistantImageWithAssistantSettings",value:function(){if(this.webChatContainer)if(this.webchatSettings){var e=!!this.webchatSettings.hasOwnProperty("isVoiceFirstUI")&&this.webchatSettings.isVoiceFirstUI,t=this.webchatSettings.image&&this.webchatSettings.image.url,i=this.webchatSettings.hasOwnProperty("isDefaultStyle")&&!this.webchatSettings.isDefaultStyle;if(e)return this.iframeContainer.classList.add("voiceFirstUI"),this.openChat(),void(this.assistantImage=null);if(i&&t){var o=null!==new S.a(navigator.userAgent).mobile()&&this.webchatSettings.mobileImage&&this.webchatSettings.mobileImage.url?this.webchatSettings.mobileImage.url:t;this.assistantImage.classList.remove("default","custom"),this.assistantImage.innerHTML='<img src="'+o+'" alt="assistant">',this.assistantImage.classList.add("custom"),this.addAssistantImageToWebChatContainer()}else this.addAssistantImageToWebChatContainer()}else this.addAssistantImageToWebChatContainer()}},{key:"createWebChatURL",value:function(e){var t=e.iframeURL;return t=this.updateQueryStringParameter(t,"assistantId",e.assistantId),t=this.updateQueryStringParameter(t,"assistantSlug",e.assistantSlug),t=this.updateQueryStringParameter(t,"locale",e.locale),t=this.updateQueryStringParameter(t,"location",e.location),e.platformSimulated&&(t=this.updateQueryStringParameter(t,"platformSimulated",e.platformSimulated)),e.hasOwnProperty("canBeClosed")&&(t=this.updateQueryStringParameter(t,"canBeClosed",e.canBeClosed)),e.hasOwnProperty("shouldBeOpened")&&(t=this.updateQueryStringParameter(t,"shouldBeOpened",e.shouldBeOpened)),e.isAdmin&&(t=this.updateQueryStringParameter(t,"isAdmin",e.isAdmin)),e.isStartBtn&&(t=this.updateQueryStringParameter(t,"isStartBtn",e.isAdmin&&e.isStartBtn)),e.isDemo&&(t=this.updateQueryStringParameter(t,"isDemo",e.isDemo)),e.hasOwnProperty(g.a.YELDA_PARAMETER)&&(t=this.updateQueryStringParameter(t,g.a.YELDA_PARAMETER,e[g.a.YELDA_PARAMETER])),t}},{key:"initWebChatContainerYActiveClass",value:function(e){var t=e.shouldBeOpened||e.isStartBtn,i=e.hasOwnProperty("canBeClosed")&&!e.canBeClosed;t&&i&&this.webChatContainer.classList.add("y_active")}},{key:"createWebChatFrame",value:function(e,t){if(this.webChatContainer||(this.webChatContainer=document.getElementsByClassName("yelda_container")[0]),!this.iframeContainer){var i="yelda_iframe_container";this.iframeContainer=document.createElement("div"),this.iframeContainer.setAttribute("id","yelda_iframe_container"),this.parentContainer!==document.body&&(i+=" inner"),this.initWebChatContainerYActiveClass(t),this.iframeContainer.setAttribute("class",i),this.webChatContainer.appendChild(this.iframeContainer)}var o=void 0;return this.webChatIframe?o=document.getElementById("web_chat_frame"):((o=document.createElement("iframe")).src=e,o.id="web_chat_frame",o.name="frame",o.style.border="0",o.setAttribute("allow","microphone;"),o.setAttribute("allowfullscreen","true"),o.setAttribute("webkitallowfullscreen","true"),o.setAttribute("mozallowfullscreen","true"),this.iframeContainer.appendChild(o)),o}},{key:"getSharedUrlProperties",value:function(e){return{facebookShareUrl:e,twitterShareUrl:e,pinterestShareUrl:e}}},{key:"getImageProperties",value:function(e){return c()({src:e,href:e},this.getSharedUrlProperties(e))}},{key:"getVideoProperties",value:function(e){var t=e.urls.reduce((function(e,t){return e+'<source src="'+t+'"></source>'}),"");return c()({html:'<video class="lg-video-object lg-html5" controls="true" preload="none">'+t+"</video>",href:e.urls[0]},e.cover&&{poster:e.cover},this.getSharedUrlProperties(e.urls[0]))}},{key:"messageListener",value:function(e){var t=e.data||e.message;if(t)if(t.event)switch(t.event){case g.a.FRAME_EVENT_TYPES.RECEIVED.OPEN_LIGHT_GALLERY:if(!t.mediaSources||!t.mediaSources.length)return;this.handleLightGallery(t);break;case g.a.FRAME_EVENT_TYPES.RECEIVED.IS_SENDING_MESSAGE:t.hasOwnProperty("data")&&window.dispatchEvent(new CustomEvent("isSendingMessage",{detail:t.data}));break;case g.a.FRAME_EVENT_TYPES.RECEIVED.ADD_MINIMAL_NOTIFICATION_TEXT:this.configurationData.hasOwnProperty("canBeClosed")&&!this.configurationData.canBeClosed||this.addAssistantBubbleText(t.text,"y_notification")}else switch(t){case g.a.FRAME_EVENT_TYPES.RECEIVED.OPEN_CHAT:this.openChat();break;case g.a.FRAME_EVENT_TYPES.RECEIVED.CLOSE_CHAT:this.closeChat();break;case g.a.FRAME_EVENT_TYPES.RECEIVED.ABSTAIN_LEAVE_VIEWPORT:this.listenLeaveViewport(!0);break;case g.a.FRAME_EVENT_TYPES.RECEIVED.LISTEN_LEAVE_VIEWPORT:this.listenLeaveViewport();break;case g.a.FRAME_EVENT_TYPES.RECEIVED.LISTEN_URL_UPDATE:this.listenUrlUpdate();break;case g.a.FRAME_EVENT_TYPES.RECEIVED.ABSTAIN_URL_UPDATE:this.listenUrlUpdate(!0);break;case g.a.FRAME_EVENT_TYPES.RECEIVED.ADD_BUBBLE_TEXT:this.configurationData.hasOwnProperty("canBeClosed")&&!this.configurationData.canBeClosed||this.addAssistantBubbleText()}}},{key:"handleLightGallery",value:function(e){var t=this,i=document.getElementById("lightgallery");i||((i=document.createElement("div")).id="lightgallery",document.getElementById("yelda_iframe_container").appendChild(i));var o=e.mediaSources.map((function(e){var i={};return("string"==typeof e||e.urls&&e.urls.length)&&(i=t.getImageProperties(e)),c()({tweetText:"",pinterestText:""},i)}));window.lightGallery(i,{googlePlus:!1,dynamic:!0,dynamicEl:o,index:e.index||0}),i.addEventListener("onCloseAfter",(function(){i.remove()}))}},{key:"closeChat",value:function(){var e=document.getElementById("yelda_container");null!==e&&e.classList.remove("y_active")}},{key:"openChat",value:function(){var e=document.getElementById("yelda_assistant_img");null!==e&&e.classList.add("activated");var t=document.getElementById("yelda_container");null!==t&&t.classList.add("y_active"),this.assistantBubbleText&&(this.assistantBubbleText=null),this.removeElement("yelda_assistant_bubble_text"),document.getElementById("web_chat_frame").contentWindow.postMessage(g.a.FRAME_EVENT_TYPES.SENT.OPEN_CHAT,"*")}},{key:"toggleFrameListener",value:function(e){var t=0<arguments.length&&void 0!==e&&e,i=!window.addEventListener,o=i?"onmessage":"message",r=window[t?i?"detachEvent":"removeEventListener":i?"attachEvent":"addEventListener"];this.messageListenerBind||(this.messageListenerBind=this.messageListener.bind(this)),r(o,this.messageListenerBind)}},{key:"loadCssAsync",value:function(){var e=document.getElementsByTagName("head")[0],t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.crossorigin="anonymous",t.href="https://yelda-webchat.s3.eu-west-3.amazonaws.com/css/yeldaWebchatInjector.min.css",t.media="all",e.appendChild(t)}},{key:"setUpChatIFrame",value:function(e){var t=this.createWebChatURL(e);this.webChatIframe=this.createWebChatFrame(t,e)}},{key:"resetChat",value:function(e){var t,i=this;return new l.a((t=a()(r.a.mark((function t(o){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i.unLoadChat(),e)return t.next=4,i.setupChat(e);t.next=4;break;case 4:o();case 5:case"end":return t.stop()}}),t,i)}))),function(e){return t.apply(this,arguments)}))}},{key:"updateAssistantData",value:function(e,t,i){return t&&(e.iframeURL=!g.a.REGEX_HOST.YELDA.test(i)&&t.iframeURL||e.iframeURL,e.settingId&&t.assistantSlug&&(e.assistantId=t.assistantId,e.assistantSlug=t.assistantSlug,e.locale=t.locale)),e}},{key:"setAssistantUrl",value:function(e,t){return e?e.replace(/\/$/,""):("https://"+(g.a.REGEX_HOST.STAGING.test(t)?g.a.HOST.STAGING:g.a.HOST.PRODUCTION)).replace(/\/$/,"")}},{key:"formatData",value:function(e){var t=e.chatPath||"/chat";e.assistantUrl=this.setAssistantUrl(e.assistantUrl,window.location.href),e.chatPath=t.replace(/^\//,""),e.iframeURL=e.assistantUrl+"/"+e.chatPath,e.locale=e.locale||"fr_FR",e.isAdmin=!!e.isAdmin,e.isStartBtn=!!e.isStartBtn,e.isDemo=!!e.isDemo,e.location=encodeURIComponent(window.location.href),e.hasOwnProperty("shouldBeOpened")&&(e.shouldBeOpened=!!e.shouldBeOpened);var i=this.getUrlParam(g.a.YELDA_PARAMETER,null);return i&&""!==i&&(e[g.a.YELDA_PARAMETER]=i),e.hasOwnProperty("canBeClosed")&&(e.canBeClosed=!!e.canBeClosed),this.parentContainer=document.body,this.bubbleContainer=null,this.bubbleContainerClone=null,e.bubbleContainerChildId&&document.getElementById(e.bubbleContainerChildId)&&(this.bubbleContainer=document.getElementById(e.bubbleContainerChildId).parentElement,this.bubbleContainer&&(this.bubbleContainerClone=document.getElementById(e.bubbleContainerChildId).parentElement.cloneNode(!0))),e.parentContainerId&&document.getElementById(e.parentContainerId)&&(this.parentContainer=document.getElementById(e.parentContainerId),e.canBeClosed=e.hasOwnProperty("canBeClosed")?e.canBeClosed:g.a.CAN_BE_CLOSED_WITH_PARENT_ID),e}},{key:"isYeldaCssInjector",value:function(e){return new RegExp("\\yeldaWebchatInjector(.min)?.css").test(e)}},{key:"isStyleSheetLoaded",value:function(){var e=document.styleSheets,t=!1;if(void 0!==e&&e.length)e:for(var i=0;i<e.length;i++){var o=document.styleSheets[i];try{var r=o.cssRules;if(void 0!==r)for(var n=0;n<r.length;n++)if(void 0!==r[n].selectorText&&".yelda_assistant_img"===r[n].selectorText){t=!0;break e}}catch(e){if(this.isYeldaCssInjector(o.href)){t=!0;break e}continue}}return t}},{key:"getAppEnv",value:function(e){return g.a.REGEX_HOST.STAGING.test(e)?g.a.APP_ENV_VALUES.STAGING:g.a.APP_ENV_VALUES.PRODUCTION}},{key:"getChatBubbleUrlBase",value:function(e,t){return t?e.assistantUrl+"/assistants":g.a.CHAT_BUBBLE_EXTERNAL_ENDPOINT}},{key:"getAssistantSettingsUrl",value:function(e,t){var i=this.getChatBubbleUrlBase(e,t),o="env="+(e.env||this.getAppEnv(e.assistantUrl));return e.settingId?i+"/settings/"+e.settingId+"/chatBubble?"+o:i+"/"+e.assistantId+"/chatBubble/"+e.locale+"?"+o}},{key:"getAssistantSettings",value:function(e,t){var i=this,o=1<arguments.length&&void 0!==t?t:{},r=o.isFallback,n=void 0!==r&&r,a=o.customTimeout,s=void 0===a?null:a;return new l.a((function(t,o){try{var r=new XMLHttpRequest,a=i.getAssistantSettingsUrl(e,n);r.open("GET",a),s&&(r.timeout=s),r.send(),r.onreadystatechange=function(){if(4===r.readyState){var o=r.responseText?JSON.parse(r.responseText):null,a=o&&(o.data||o);return t(a||(n?null:i.getAssistantSettings(e,{isFallback:!0})))}},r.ontimeout=function(){if(!n)return t(i.getAssistantSettings(e,{isFallback:!0}))}}catch(a){o()}}))}},{key:"setupChat",value:function(e){var t,i=this;return new l.a((t=a()(r.a.mark((function t(o){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(document.getElementById("yelda_container")||document.getElementById("yelda_iframe_container"))return t.abrupt("return",o());t.next=2;break;case 2:if(i.webChatContainer=null,i.iframeContainer=null,i.webChatIframe=null,i.webchatSettings=null,void 0!==(e=i.formatData(e)).settingId||void 0!==e.assistantId&&void 0!==e.assistantSlug){t.next=9;break}return t.abrupt("return",o());case 9:return i.assistantId=e.assistantId,i.locale=e.locale,i.settingId=e.settingId,t.prev=12,t.next=15,i.getAssistantSettings(e,{customTimeout:g.a.CHAT_BUBBLE_REQUEST_TIMEOUT});case 15:i.webchatSettings=t.sent,e=i.updateAssistantData(e,i.webchatSettings,window.location.href),t.next=22;break;case 19:t.prev=19,t.t0=t.catch(12),i.webchatSettings=null;case 22:return i.listenLeaveViewport(!0),i.listenUrlUpdate(!0),i.loadChat(e),i.configurationData=e,t.abrupt("return",o());case 27:case"end":return t.stop()}}),t,i,[[12,19]])}))),function(e){return t.apply(this,arguments)}))}},{key:"shouldChatBeLoaded",value:function(e,t){if(t&&t.bubbleContainerChildId&&(!document.getElementById(t.bubbleContainerChildId)||!document.getElementById(t.bubbleContainerChildId).parentElement))return!1;if(!e)return!0;var i=window.location.hostname;return!!g.a.ALWAYS_ALLOWED_SITES_REGEX.test(i)||!(e.hasOwnProperty("isActivated")&&!e.isActivated)}},{key:"isDataOutdated",value:function(e,t){var i=t.settingId,o=t.assistantId,r=t.locale;return!(!e.settingId||e.settingId===i)||!(e.settingId||e.assistantId===o&&e.locale===r)}},{key:"loadChat",value:function(e){if(!this.isDataOutdated(e,this))if(this.shouldChatBeLoaded(this.webchatSettings,e)){if(this.isStyleSheetLoaded()||this.loadCssAsync(),!document.body||!this.parentContainer)return console.warn("document.body is not ready, please use yelda.init instead of yelda.setupChat or move the code in the page body"),null;this.createContainer(),this.setUpChatIFrame(e),e.hasOwnProperty("canBeClosed")&&!e.canBeClosed||this.addAssistantImage(),this.toggleFrameListener()}else this.unLoadChat()}},{key:"unLoadChat",value:function(){this.toggleFrameListener(!0),this.assistantImage&&(this.bubbleContainer?(this.assistantImage.removeAttribute("id","yelda_assistant_img"),this.assistantImage.removeAttribute("class","yelda_assistant_img default"),this.assistantImage.removeEventListener("click",this.openChat.bind(this)),this.assistantImage.replaceWith(this.bubbleContainerClone)):this.removeElement("yelda_assistant_img")),this.assistantBubbleText&&this.removeElement("yelda_assistant_bubble_text"),this.iframeContainer&&this.removeElement("yelda_iframe_container"),this.webChatContainer&&this.removeElement("yelda_container"),this.assistantBubbleText=null,this.bubbleContainerClone=null,this.bubbleContainer=null,this.assistantImage=null,this.iframeContainer=null,this.webChatIframe=null,this.webChatContainer=null,this.parentContainer=null,this.webchatSettings=null}},{key:"removeElement",value:function(e){document.getElementById(e)&&document.getElementById(e).remove()}},{key:"init",value:function(e){var t,i=this;return new l.a((t=a()(r.a.mark((function t(o){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==e.settingId||void 0!==e.assistantId&&void 0!==e.assistantSlug){t.next=2;break}return t.abrupt("return",o());case 2:if("complete"===document.readyState)return t.next=5,i.setupChat(e);t.next=6;break;case 5:return t.abrupt("return",o());case 6:window.onload=a()(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.setupChat(e);case 2:return t.abrupt("return",o());case 3:case"end":return t.stop()}}),t,i)})));case 7:case"end":return t.stop()}}),t,i)}))),function(e){return t.apply(this,arguments)}))}},{key:"sendMessageToChat",value:function(e){var t=document.getElementById("web_chat_frame");t&&(this.openChat(),t.contentWindow.postMessage({event:g.a.FRAME_EVENT_TYPES.SENT.SEND_USER_MESSAGE,data:e}))}},{key:"listenUrlUpdate",value:function(e){var t=this;if(0<arguments.length&&void 0!==e&&e&&this.urlObserver)return this.urlObserver.disconnect(),void(this.urlObserver=null);try{this.previousUrl="",this.urlObserver=new MutationObserver((function(){location.href!==t.previousUrl&&(t.previousUrl=location.href,t.urlUpdateListener())})),this.urlObserver.observe(document,{childList:!0,subtree:!0})}catch(e){console.warn("listenUrlUpdate error",e)}}},{key:"urlUpdateListener",value:function(){var e=document.getElementById("web_chat_frame");e&&e.contentWindow.postMessage({event:g.a.FRAME_EVENT_TYPES.SENT.URL_UPDATE,data:window.location.href},"*")}},{key:"listenLeaveViewport",value:function(e){var t=0<arguments.length&&void 0!==e&&e;if(null===new S.a(navigator.userAgent).mobile()){var i=window[t?"removeEventListener":"addEventListener"];this.viewportListenerBind||(this.viewportListenerBind=this.viewportListener.bind(this)),i("mouseout",this.viewportListenerBind)}}},{key:"viewportListener",value:function(e){e.toElement||e.relatedTarget||document.getElementById("web_chat_frame").contentWindow.postMessage({event:g.a.FRAME_EVENT_TYPES.SENT.LEAVE_VIEWPORT},"*")}}]),p);"undefined"!=typeof window&&(window.yeldaChat=A),t.default=A},"29s/":function(e,t,i){var o=i("WEpk"),r=i("5T2Y"),n="__core-js_shared__",a=r[n]||(r[n]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:o.version,mode:i("uOPS")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"2GTP":function(e,t,i){var o=i("eaoh");e.exports=function(e,t,i){if(o(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,o){return e.call(t,i,o)};case 3:return function(i,o,r){return e.call(t,i,o,r)}}return function(){return e.apply(t,arguments)}}},"2faE":function(e,t,i){var o=i("5K7Z"),r=i("eUtF"),n=i("G8Mo"),a=Object.defineProperty;t.f=i("jmDH")?Object.defineProperty:function(e,t,i){if(o(e),t=n(t,!0),o(i),r)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},"4d7F":function(e,t,i){e.exports={default:i("aW7e"),__esModule:!0}},"5K7Z":function(e,t,i){var o=i("93I4");e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},"5T2Y":function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"5vGx":function(e,t,i){e.exports=function e(t,i,o){function r(a,s){if(!i[a]){if(!t[a]){if(n)return n(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,i,o)}return i[a].exports}for(var n=!1,a=0;a<o.length;a++)r(o[a]);return r}({1:[function(e,t,i){!function(e,t){void 0!==i?t():(t(),e.lgVideo={})}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},t={videoMaxWidth:"855px",youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},i=function(i){return this.el=i,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=e({},t,this.core.s),this.videoLoaded=!1,this.init(),this};i.prototype.init=function(){var e=this;utils.on(e.core.el,"hasVideo.lgtm",(function(t){if(e.core.___slide[t.detail.index].querySelector(".lg-video").insertAdjacentHTML("beforeend",e.loadVideo(t.detail.src,"lg-object",!0,t.detail.index,t.detail.html)),t.detail.html)if(e.core.s.videojs)try{videojs(e.core.___slide[t.detail.index].querySelector(".lg-html5"),e.core.s.videojsOptions,(function(){e.videoLoaded||this.play()}))}catch(t){console.error("Make sure you have included videojs")}else e.core.___slide[t.detail.index].querySelector(".lg-html5").play()})),utils.on(e.core.el,"onAferAppendSlide.lgtm",(function(t){e.core.___slide[t.detail.index].querySelector(".lg-video-cont")&&(e.core.___slide[t.detail.index].querySelector(".lg-video-cont").style.maxWidth=e.core.s.videoMaxWidth,e.videoLoaded=!0)}));var t=function(t){if(utils.hasClass(t.querySelector(".lg-object"),"lg-has-poster")&&"none"!==t.querySelector(".lg-object").style.display)if(utils.hasClass(t,"lg-has-video")){var i=t.querySelector(".lg-youtube"),o=t.querySelector(".lg-vimeo"),r=t.querySelector(".lg-dailymotion"),n=t.querySelector(".lg-html5");if(i)i.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(o)try{$f(o).api("play")}catch(i){console.error("Make sure you have included froogaloop2 js")}else if(r)r.contentWindow.postMessage("play","*");else if(n)if(e.core.s.videojs)try{videojs(n).play()}catch(i){console.error("Make sure you have included videojs")}else n.play();utils.addClass(t,"lg-video-playing")}else{var a,s;utils.addClass(t,"lg-video-playing"),utils.addClass(t,"lg-has-video");s=e.core.s.dynamic?(a=e.core.s.dynamicEl[e.core.index].src,e.core.s.dynamicEl[e.core.index].html):(a=e.core.items[e.core.index].getAttribute("href")||e.core.items[e.core.index].getAttribute("data-src"),e.core.items[e.core.index].getAttribute("data-html")),function(i,o){if(t.querySelector(".lg-video").insertAdjacentHTML("beforeend",e.loadVideo(i,"",!1,e.core.index,o)),o)if(e.core.s.videojs)try{videojs(e.core.___slide[e.core.index].querySelector(".lg-html5"),e.core.s.videojsOptions,(function(){this.play()}))}catch(i){console.error("Make sure you have included videojs")}else e.core.___slide[e.core.index].querySelector(".lg-html5").play()}(a,s);var l=t.querySelector(".lg-object");t.querySelector(".lg-video").appendChild(l),utils.hasClass(t.querySelector(".lg-video-object"),"lg-html5")||(utils.removeClass(t,"lg-complete"),utils.on(t.querySelector(".lg-video-object"),"load.lg error.lg",(function(){utils.addClass(t,"lg-complete")})))}};if(e.core.doCss()&&1<e.core.items.length&&(e.core.s.enableSwipe&&e.core.isTouch||e.core.s.enableDrag&&!e.core.isTouch))utils.on(e.core.el,"onSlideClick.lgtm",(function(){var i=e.core.___slide[e.core.index];t(i)}));else for(var i=0;i<e.core.___slide.length;i++)!function(i){utils.on(e.core.___slide[i],"click.lg",(function(){t(e.core.___slide[i])}))}(i);utils.on(e.core.el,"onBeforeSlide.lgtm",(function(t){var i,o=e.core.___slide[t.detail.prevIndex],r=o.querySelector(".lg-youtube"),n=o.querySelector(".lg-vimeo"),a=o.querySelector(".lg-dailymotion"),s=o.querySelector(".lg-vk"),l=o.querySelector(".lg-html5");if(r)r.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(n)try{$f(n).api("pause")}catch(t){console.error("Make sure you have included froogaloop2 js")}else if(a)a.contentWindow.postMessage("pause","*");else if(l)if(e.core.s.videojs)try{videojs(l).pause()}catch(t){console.error("Make sure you have included videojs")}else l.pause();s&&s.setAttribute("src",s.getAttribute("src").replace("&autoplay","&noplay")),i=e.core.s.dynamic?e.core.s.dynamicEl[t.detail.index].src:e.core.items[t.detail.index].getAttribute("href")||e.core.items[t.detail.index].getAttribute("data-src");var u=e.core.isVideo(i,t.detail.index)||{};(u.youtube||u.vimeo||u.dailymotion||u.vk)&&utils.addClass(e.core.outer,"lg-hide-download")})),utils.on(e.core.el,"onAfterSlide.lgtm",(function(t){utils.removeClass(e.core.___slide[t.detail.prevIndex],"lg-video-playing")}))},i.prototype.loadVideo=function(e,t,i,o,r){var n,a="",s=1,l="",u=this.core.isVideo(e,o)||{};i&&(s=this.videoLoaded?0:1),n=this.core.s.dynamic?this.core.s.dynamicEl[o].title:this.core.items[o].getAttribute("title");var c=this.core.items[o].querySelector("img");if(c&&(n=n||c.getAttribute("alt")),n=n?'title="'+n+'"':"",u.youtube)l="?wmode=opaque&autoplay="+s+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(l=l+"&"+utils.param(this.core.s.youtubePlayerParams)),a='<iframe class="lg-video-object lg-youtube '+t+'" '+n+' width="560" height="315" src="//www.youtube.com/embed/'+u.youtube[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(u.vimeo)l="?autoplay="+s+"&api=1",this.core.s.vimeoPlayerParams&&(l=l+"&"+utils.param(this.core.s.vimeoPlayerParams)),a='<iframe class="lg-video-object lg-vimeo '+t+'" '+n+' width="560" height="315" src="//player.vimeo.com/video/'+u.vimeo[1]+l+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(u.dailymotion)l="?wmode=opaque&autoplay="+s+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(l=l+"&"+utils.param(this.core.s.dailymotionPlayerParams)),a='<iframe class="lg-video-object lg-dailymotion '+t+'" '+n+' width="560" height="315" src="//www.dailymotion.com/embed/video/'+u.dailymotion[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(u.html5){var d=r.substring(0,1);"."!==d&&"#"!==d||(r=document.querySelector(r).innerHTML),a=r}else u.vk&&(l="&autoplay="+s,this.core.s.vkPlayerParams&&(l=l+"&"+utils.param(this.core.s.vkPlayerParams)),a='<iframe class="lg-video-object lg-vk '+t+'" '+n+' width="560" height="315" src="http://vk.com/video_ext.php?'+u.vk[1]+l+'" frameborder="0" allowfullscreen></iframe>');return a},i.prototype.destroy=function(){this.videoLoaded=!1},window.lgModules.video=i}))},{}]},{},[1])(1)},"5vMV":function(e,t,i){var o=i("B+OT"),r=i("NsO/"),n=i("W070")(!1),a=i("VVlx")("IE_PROTO");e.exports=function(e,t){var i,s=r(e),l=0,u=[];for(i in s)i!=a&&o(s,i)&&u.push(i);for(;t.length>l;)o(s,i=t[l++])&&(~n(u,i)||u.push(i));return u}},"8SHQ":function(e,t){e.exports={CAN_BE_CLOSED_WITH_PARENT_ID:!1,YELDA_PARAMETER:"yparam",DEFAULT_PUBLICATION_STATUS:!0,ALWAYS_ALLOWED_SITES_REGEX:/^([a-z-]*.yelda.ai|localhost|0.0.0.0|127.0.0.1)$/,REGEX_HOST:{STAGING:/staging.yelda.ai/,YELDA:/.yelda.ai/},HOST:{PRODUCTION:"app.yelda.ai",STAGING:"staging.yelda.ai"},FRAME_EVENT_TYPES:{SENT:{OPEN_CHAT:"openChat",LEAVE_VIEWPORT:"leaveViewPort",SEND_USER_MESSAGE:"sendUserMessage",URL_UPDATE:"urlUpdate"},RECEIVED:{OPEN_CHAT:"openChat",CLOSE_CHAT:"closeChat",ABSTAIN_LEAVE_VIEWPORT:"abstainLeaveViewport",OPEN_LIGHT_GALLERY:"openLightGallery",IS_SENDING_MESSAGE:"isSendingMessage",LISTEN_LEAVE_VIEWPORT:"listenLeaveViewport",LISTEN_URL_UPDATE:"listenUrlUpdate",ABSTAIN_URL_UPDATE:"abstainUrlUpdate",ADD_BUBBLE_TEXT:"addBubbleText",ADD_MINIMAL_NOTIFICATION_TEXT:"addMinimalNotificationText"}},CHAT_BUBBLE_EXTERNAL_ENDPOINT:"https://webchat.yelda.ai/webchat",CHAT_BUBBLE_REQUEST_TIMEOUT:5e3,APP_ENV_VALUES:{STAGING:"staging",PRODUCTION:"production"}}},"8gHz":function(e,t,i){var o=i("5K7Z"),r=i("eaoh"),n=i("UWiX")("species");e.exports=function(e,t){var i,a=o(e).constructor;return void 0===a||null==(i=o(a)[n])?t:r(i)}},"93I4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"B+OT":function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},B9Yq:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},D3Ub:function(e,t,i){"use strict";t.__esModule=!0;var o,r=(o=i("4d7F"))&&o.__esModule?o:{default:o};t.default=function(e){return function(){var t=e.apply(this,arguments);return new r.default((function(e,i){return function o(n,a){try{var s=t[n](a),l=s.value}catch(n){return void i(n)}if(!s.done)return r.default.resolve(l).then((function(e){o("next",e)}),(function(e){o("throw",e)}));e(l)}("next")}))}}},D8kY:function(e,t,i){var o=i("Ojgd"),r=Math.max,n=Math.min;e.exports=function(e,t){return(e=o(e))<0?r(e+t,0):n(e,t)}},EXMj:function(e,t){e.exports=function(e,t,i,o){if(!(e instanceof t)||void 0!==o&&o in e)throw TypeError(i+": incorrect invocation!");return e}},FlQf:function(e,t,i){"use strict";var o=i("ccE7")(!0);i("MPFp")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(e=o(t,i),this._i+=e.length,{value:e,done:!1})}))},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G8Mo:function(e,t,i){var o=i("93I4");e.exports=function(e,t){if(!o(e))return e;var i,r;if(t&&"function"==typeof(i=e.toString)&&!o(r=i.call(e)))return r;if("function"==typeof(i=e.valueOf)&&!o(r=i.call(e)))return r;if(!t&&"function"==typeof(i=e.toString)&&!o(r=i.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},Hsns:function(e,t,i){var o=i("93I4"),r=i("5T2Y").document,n=o(r)&&o(r.createElement);e.exports=function(e){return n?r.createElement(e):{}}},JB68:function(e,t,i){var o=i("Jes0");e.exports=function(e){return Object(o(e))}},"JMW+":function(e,t,i){"use strict";function o(){}function r(e){var t;return!(!S(e)||"function"!=typeof(t=e.then))&&t}function n(e,t){if(!e._n){e._n=!0;var i=e._c;P((function(){for(var o=e._v,n=1==e._s,a=0,s=function(t){var i,a,s,l=n?t.ok:t.fail,u=t.resolve,c=t.reject,d=t.domain;try{l?(n||(2==e._h&&V(e),e._h=1),!0===l?i=o:(d&&d.enter(),i=l(o),d&&(d.exit(),s=!0)),i===t.promise?c(B("Promise-chain cycle")):(a=r(i))?a.call(i,u,c):u(i)):c(o)}catch(t){d&&!s&&d.exit(),c(t)}};i.length>a;)s(i[a++]);e._c=[],e._n=!1,t&&!e._h&&O(e)}))}}function a(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),n(t,!0))}var s,l,u,c,d=i("uOPS"),T=i("5T2Y"),h=i("2GTP"),f=i("QMMT"),b=i("Y7ZC"),S=i("93I4"),m=i("eaoh"),g=i("EXMj"),p=i("oioR"),A=i("8gHz"),v=i("QXhf").set,P=i("q6LJ")(),y=i("ZW5q"),M=i("RDmV"),C=i("vBP9"),E=i("zXhZ"),G="Promise",B=T.TypeError,w=T.process,_=w&&w.versions,H=_&&_.v8||"",I=T[G],x="process"==f(w),D=l=y.f,L=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[i("UWiX")("species")]=function(e){e(o,o)};return(x||"function"==typeof PromiseRejectionEvent)&&e.then(o)instanceof t&&0!==H.indexOf("6.6")&&-1===C.indexOf("Chrome/66")}catch(e){}}(),O=function(e){v.call(T,(function(){var t,i,o,r=e._v,n=N(e);if(n&&(t=M((function(){x?w.emit("unhandledRejection",r,e):(i=T.onunhandledrejection)?i({promise:e,reason:r}):(o=T.console)&&o.error&&o.error("Unhandled promise rejection",r)})),e._h=x||N(e)?2:1),e._a=void 0,n&&t.e)throw t.v}))},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},V=function(e){v.call(T,(function(){var t;x?w.emit("rejectionHandled",e):(t=T.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw B("Promise can't be resolved itself");(t=r(e))?P((function(){var o={_w:i,_d:!1};try{t.call(e,h(R,o,1),h(a,o,1))}catch(e){a.call(o,e)}})):(i._v=e,i._s=1,n(i,!1))}catch(e){a.call({_w:i,_d:!1},e)}}};L||(I=function(e){g(this,I,G,"_h"),m(e),s.call(this);try{e(h(R,this,1),h(a,this,1))}catch(e){a.call(this,e)}},(s=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i("XJU/")(I.prototype,{then:function(e,t){var i=D(A(this,I));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=x?w.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&n(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),u=function(){var e=new s;this.promise=e,this.resolve=h(R,e,1),this.reject=h(a,e,1)},y.f=D=function(e){return e===I||e===c?new u(e):l(e)}),b(b.G+b.W+b.F*!L,{Promise:I}),i("RfKB")(I,G),i("TJWN")(G),c=i("WEpk")[G],b(b.S+b.F*!L,G,{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),b(b.S+b.F*(d||!L),G,{resolve:function(e){return E(d&&this===c?I:this,e)}}),b(b.S+b.F*!(L&&i("TuGD")((function(e){I.all(e).catch(o)}))),G,{all:function(e){var t=this,i=D(t),o=i.resolve,r=i.reject,n=M((function(){var i=[],n=0,a=1;p(e,!1,(function(e){var s=n++,l=!1;i.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,i[s]=e,--a||o(i))}),r)})),--a||o(i)}));return n.e&&r(n.v),i.promise},race:function(e){var t=this,i=D(t),o=i.reject,r=M((function(){p(e,!1,(function(e){t.resolve(e).then(i.resolve,o)}))}));return r.e&&o(r.v),i.promise}})},Jes0:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},KUxP:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},M1xp:function(e,t,i){var o=i("a0xu");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},MCSJ:function(e,t){e.exports=function(e,t,i){var o=void 0===i;switch(t.length){case 0:return o?e():e.call(i);case 1:return o?e(t[0]):e.call(i,t[0]);case 2:return o?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return o?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return o?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},MPFp:function(e,t,i){"use strict";function o(){return this}var r=i("uOPS"),n=i("Y7ZC"),a=i("kTiW"),s=i("NegM"),l=i("SBuE"),u=i("j2DC"),c=i("RfKB"),d=i("U+KD"),T=i("UWiX")("iterator"),h=!([].keys&&"next"in[].keys()),f="values";e.exports=function(e,t,i,b,S,m,g){function p(e){if(!h&&e in E)return E[e];switch(e){case"keys":case f:return function(){return new i(this,e)}}return function(){return new i(this,e)}}u(i,t,b);var A,v,P,y=t+" Iterator",M=S==f,C=!1,E=e.prototype,G=E[T]||E["@@iterator"]||S&&E[S],B=G||p(S),w=S?M?p("entries"):B:void 0,_="Array"==t&&E.entries||G;if(_&&(P=d(_.call(new e)))!==Object.prototype&&P.next&&(c(P,y,!0),r||"function"==typeof P[T]||s(P,T,o)),M&&G&&G.name!==f&&(C=!0,B=function(){return G.call(this)}),r&&!g||!h&&!C&&E[T]||s(E,T,B),l[t]=B,l[y]=o,S)if(A={values:M?B:p(f),keys:m?B:p("keys"),entries:w},g)for(v in A)v in E||a(E,v,A[v]);else n(n.P+n.F*(h||C),t,A);return A}},MvwC:function(e,t,i){var o=i("5T2Y").document;e.exports=o&&o.documentElement},NV0k:function(e,t){t.f={}.propertyIsEnumerable},NegM:function(e,t,i){var o=i("2faE"),r=i("rr1i");e.exports=i("jmDH")?function(e,t,i){return o.f(e,t,r(1,i))}:function(e,t,i){return e[t]=i,e}},"NsO/":function(e,t,i){var o=i("M1xp"),r=i("Jes0");e.exports=function(e){return o(r(e))}},NwJ3:function(e,t,i){var o=i("SBuE"),r=i("UWiX")("iterator"),n=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||n[r]===e)}},Ojgd:function(e,t){var i=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?o:i)(e)}},P2sY:function(e,t,i){e.exports={default:i("UbbE"),__esModule:!0}},PBE1:function(e,t,i){"use strict";var o=i("Y7ZC"),r=i("WEpk"),n=i("5T2Y"),a=i("8gHz"),s=i("zXhZ");o(o.P+o.R,"Promise",{finally:function(e){var t=a(this,r.Promise||n.Promise),i="function"==typeof e;return this.then(i?function(i){return s(t,e()).then((function(){return i}))}:e,i?function(i){return s(t,e()).then((function(){throw i}))}:e)}})},"Q/yX":function(e,t,i){"use strict";var o=i("Y7ZC"),r=i("ZW5q"),n=i("RDmV");o(o.S,"Promise",{try:function(e){var t=r.f(this),i=n(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},QMMT:function(e,t,i){var o=i("a0xu"),r=i("UWiX")("toStringTag"),n="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,i,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?i:n?o(t):"Object"==(a=o(t))&&"function"==typeof t.callee?"Arguments":a}},QXhf:function(e,t,i){function o(){var e=+this;if(p.hasOwnProperty(e)){var t=p[e];delete p[e],t()}}function r(e){o.call(e.data)}var n,a,s,l=i("2GTP"),u=i("MCSJ"),c=i("MvwC"),d=i("Hsns"),T=i("5T2Y"),h=T.process,f=T.setImmediate,b=T.clearImmediate,S=T.MessageChannel,m=T.Dispatch,g=0,p={},A="onreadystatechange";f&&b||(f=function(e){for(var t=[],i=1;i<arguments.length;)t.push(arguments[i++]);return p[++g]=function(){u("function"==typeof e?e:Function(e),t)},n(g),g},b=function(e){delete p[e]},"process"==i("a0xu")(h)?n=function(e){h.nextTick(l(o,e,1))}:m&&m.now?n=function(e){m.now(l(o,e,1))}:S?(s=(a=new S).port2,a.port1.onmessage=r,n=l(s.postMessage,s,1)):T.addEventListener&&"function"==typeof postMessage&&!T.importScripts?(n=function(e){T.postMessage(e+"","*")},T.addEventListener("message",r,!1)):n=A in d("script")?function(e){c.appendChild(d("script"))[A]=function(){c.removeChild(this),o.call(e)}}:function(e){setTimeout(l(o,e,1),0)}),e.exports={set:f,clear:b}},QbLZ:function(e,t,i){"use strict";t.__esModule=!0;var o,r=(o=i("P2sY"))&&o.__esModule?o:{default:o};t.default=r.default||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}},RDmV:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},"RU/L":function(e,t,i){i("Rqdy");var o=i("WEpk").Object;e.exports=function(e,t,i){return o.defineProperty(e,t,i)}},RfKB:function(e,t,i){var o=i("2faE").f,r=i("B+OT"),n=i("UWiX")("toStringTag");e.exports=function(e,t,i){e&&!r(e=i?e:e.prototype,n)&&o(e,n,{configurable:!0,value:t})}},RolN:function(e,t,i){var o,r,n;r=[i("x8jq")],void 0===(n="function"==typeof(o=function(e){"use strict";var t=function(e){return e&&e.__esModule?e:{default:e}}(e);var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e};(function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}e.prototype=window.Event.prototype,window.CustomEvent=e})(),window.utils=t.default,window.lgData={uid:0},window.lgModules={};var o={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,ariaLabelledby:"",ariaDescribedby:"",closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};function r(e,t){if(this.el=e,this.s=i({},o,t),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.items=[],this.s.dynamic?this.items=this.s.dynamicEl:"this"===this.s.selector?this.items.push(this.el):""!==this.s.selector?this.s.selectWithin?this.items=document.querySelector(this.s.selectWithin).querySelectorAll(this.s.selector):this.items=this.el.querySelectorAll(this.s.selector):this.items=this.el.children,this.___slide="",this.outer="",this.init(),this}r.prototype.init=function(){var e=this;e.s.preload>e.items.length&&(e.s.preload=e.items.length);var i=window.location.hash;if(i.indexOf("lg="+this.s.galleryId)>0&&(e.index=parseInt(i.split("&slide=")[1],10),t.default.addClass(document.body,"lg-from-hash"),t.default.hasClass(document.body,"lg-on")||(t.default.addClass(document.body,"lg-on"),setTimeout((function(){e.build(e.index)})))),e.s.dynamic)t.default.trigger(this.el,"onBeforeOpen"),e.index=e.s.index||0,t.default.hasClass(document.body,"lg-on")||(t.default.addClass(document.body,"lg-on"),setTimeout((function(){e.build(e.index)})));else for(var o=0;o<e.items.length;o++)!function(i){t.default.on(e.items[i],"click.lgcustom",(function(o){o.preventDefault(),t.default.trigger(e.el,"onBeforeOpen"),e.index=e.s.index||i,t.default.hasClass(document.body,"lg-on")||(e.build(e.index),t.default.addClass(document.body,"lg-on"))}))}(o)},r.prototype.build=function(e){var i=this;for(var o in i.structure(),window.lgModules)i.modules[o]=new window.lgModules[o](i.el);i.slide(e,!1,!1),i.s.keyPress&&i.keyPress(),i.items.length>1&&(i.arrow(),setTimeout((function(){i.enableDrag(),i.enableSwipe()}),50),i.s.mousewheel&&i.mousewheel()),i.counter(),i.closeGallery(),t.default.trigger(i.el,"onAfterOpen"),t.default.on(i.outer,"mousemove.lg click.lg touchstart.lg",(function(){t.default.removeClass(i.outer,"lg-hide-items"),clearTimeout(i.hideBartimeout),i.hideBartimeout=setTimeout((function(){t.default.addClass(i.outer,"lg-hide-items")}),i.s.hideBarsDelay)}))},r.prototype.structure=function(){var e,i="",o="",r=0,n="",a=this;for(document.body.insertAdjacentHTML("beforeend",'<div class="lg-backdrop"></div>'),t.default.setVendor(document.querySelector(".lg-backdrop"),"TransitionDuration",this.s.backdropDuration+"ms"),r=0;r<this.items.length;r++)i+='<div class="lg-item"></div>';if(this.s.controls&&this.items.length>1&&(o='<div class="lg-actions"><button aria-label="Previous slide" class="lg-prev lg-icon">'+this.s.prevHtml+'</button><button aria-label="Next slide" class="lg-next lg-icon">'+this.s.nextHtml+"</button></div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(n='<div role="status" aria-live="polite" class="lg-sub-html"></div>'),e='<div tabindex="-1" aria-modal="true" '+(this.s.ariaLabelledby?'aria-labelledby="'+this.s.ariaLabelledby+'"':"")+" "+(this.s.ariaDescribedby?'aria-describedby="'+this.s.ariaDescribedby+'"':"")+' role="dialog" class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+i+'</div><div class="lg-toolbar group"><button aria-label="Close gallery" class="lg-close lg-icon"></button></div>'+o+n+"</div></div>",document.body.insertAdjacentHTML("beforeend",e),this.outer=document.querySelector(".lg-outer"),this.outer.focus(),this.___slide=this.outer.querySelectorAll(".lg-item"),this.s.useLeft?(t.default.addClass(this.outer,"lg-use-left"),this.s.mode="lg-slide"):t.default.addClass(this.outer,"lg-use-css3"),a.setTop(),t.default.on(window,"resize.lg orientationchange.lg",(function(){setTimeout((function(){a.setTop()}),100)})),t.default.addClass(this.___slide[this.index],"lg-current"),this.doCss()?t.default.addClass(this.outer,"lg-css3"):(t.default.addClass(this.outer,"lg-css"),this.s.speed=0),t.default.addClass(this.outer,this.s.mode),this.s.enableDrag&&this.items.length>1&&t.default.addClass(this.outer,"lg-grab"),this.s.showAfterLoad&&t.default.addClass(this.outer,"lg-show-after-load"),this.doCss()){var s=this.outer.querySelector(".lg-inner");t.default.setVendor(s,"TransitionTimingFunction",this.s.cssEasing),t.default.setVendor(s,"TransitionDuration",this.s.speed+"ms")}setTimeout((function(){t.default.addClass(document.querySelector(".lg-backdrop"),"in")})),setTimeout((function(){t.default.addClass(a.outer,"lg-visible")}),this.s.backdropDuration),this.s.download&&this.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",'<a id="lg-download" aria-label="Download" target="_blank" download class="lg-download lg-icon"></a>'),this.prevScrollTop=document.documentElement.scrollTop||document.body.scrollTop},r.prototype.setTop=function(){if("100%"!==this.s.height){var e=window.innerHeight,t=(e-parseInt(this.s.height,10))/2,i=this.outer.querySelector(".lg");e>=parseInt(this.s.height,10)?i.style.top=t+"px":i.style.top="0px"}},r.prototype.doCss=function(){return!!function(){var e=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],t=document.documentElement,i=0;for(i=0;i<e.length;i++)if(e[i]in t.style)return!0}()},r.prototype.isVideo=function(e,t){var i;if(i=this.s.dynamic?this.s.dynamicEl[t].html:this.items[t].getAttribute("data-html"),!e&&i)return{html5:!0};var o=e.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),r=e.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),n=e.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),a=e.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return o?{youtube:o}:r?{vimeo:r}:n?{dailymotion:n}:a?{vk:a}:void 0},r.prototype.counter=function(){this.s.counter&&this.outer.querySelector(this.s.appendCounterTo).insertAdjacentHTML("beforeend",'<div id="lg-counter" role="status" aria-live="polite"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.items.length+"</span></div>")},r.prototype.addHtml=function(e){var i,o=null;if(this.s.dynamic?o=this.s.dynamicEl[e].subHtml:(o=(i=this.items[e]).getAttribute("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!o&&(o=i.getAttribute("title"))&&i.querySelector("img")&&(o=i.querySelector("img").getAttribute("alt"))),null!=o){var r=o.substring(0,1);"."!==r&&"#"!==r||(o=this.s.subHtmlSelectorRelative&&!this.s.dynamic?i.querySelector(o).innerHTML:document.querySelector(o).innerHTML)}else o="";".lg-sub-html"===this.s.appendSubHtmlTo?this.outer.querySelector(this.s.appendSubHtmlTo).innerHTML=o:this.___slide[e].insertAdjacentHTML("beforeend",o),null!=o&&(""===o?t.default.addClass(this.outer.querySelector(this.s.appendSubHtmlTo),"lg-empty-html"):t.default.removeClass(this.outer.querySelector(this.s.appendSubHtmlTo),"lg-empty-html")),t.default.trigger(this.el,"onAfterAppendSubHtml",{index:e})},r.prototype.preload=function(e){var t=1,i=1;for(t=1;t<=this.s.preload&&!(t>=this.items.length-e);t++)this.loadContent(e+t,!1,0);for(i=1;i<=this.s.preload&&!(e-i<0);i++)this.loadContent(e-i,!1,0)},r.prototype.loadContent=function(e,i,o){var r,n,a,s,l,u,c,d=this,T=!1,h=function(e){for(var t=[],i=[],o=0;o<e.length;o++){var r=e[o].split(" ");""===r[0]&&r.splice(0,1),i.push(r[0]),t.push(r[1])}for(var a=window.innerWidth,s=0;s<t.length;s++)if(parseInt(t[s],10)>a){n=i[s];break}};if(d.s.dynamic){if(d.s.dynamicEl[e].poster&&(T=!0,a=d.s.dynamicEl[e].poster),u=d.s.dynamicEl[e].html,n=d.s.dynamicEl[e].src,c=d.s.dynamicEl[e].alt,d.s.dynamicEl[e].responsive)h(d.s.dynamicEl[e].responsive.split(","));s=d.s.dynamicEl[e].srcset,l=d.s.dynamicEl[e].sizes}else{if(d.items[e].getAttribute("data-poster")&&(T=!0,a=d.items[e].getAttribute("data-poster")),u=d.items[e].getAttribute("data-html"),n=d.items[e].getAttribute("href")||d.items[e].getAttribute("data-src"),c=d.items[e].getAttribute("title"),d.items[e].querySelector("img")&&(c=c||d.items[e].querySelector("img").getAttribute("alt")),d.items[e].getAttribute("data-responsive"))h(d.items[e].getAttribute("data-responsive").split(","));s=d.items[e].getAttribute("data-srcset"),l=d.items[e].getAttribute("data-sizes")}var f=!1;d.s.dynamic?d.s.dynamicEl[e].iframe&&(f=!0):"true"===d.items[e].getAttribute("data-iframe")&&(f=!0);var b=d.isVideo(n,e);if(!t.default.hasClass(d.___slide[e],"lg-loaded")){if(f)d.___slide[e].insertAdjacentHTML("afterbegin",'<div class="lg-video-cont" style="max-width:'+d.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+n+'" allowfullscreen="true"></iframe></div></div>');else if(T){var S="";S=b&&b.youtube?"lg-has-youtube":b&&b.vimeo?"lg-has-vimeo":"lg-has-html5",d.___slide[e].insertAdjacentHTML("beforeend",'<div class="lg-video-cont '+S+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+a+'" /></div></div>')}else b?(d.___slide[e].insertAdjacentHTML("beforeend",'<div class="lg-video-cont "><div class="lg-video"></div></div>'),t.default.trigger(d.el,"hasVideo",{index:e,src:n,html:u})):(c=c?'alt="'+c+'"':"",d.___slide[e].insertAdjacentHTML("beforeend",'<div class="lg-img-wrap"><img class="lg-object lg-image" '+c+' src="'+n+'" /></div>'));if(t.default.trigger(d.el,"onAferAppendSlide",{index:e}),r=d.___slide[e].querySelector(".lg-object"),l&&r.setAttribute("sizes",l),s){r.setAttribute("srcset",s);try{picturefill({elements:[r[0]]})}catch(i){console.error("Make sure you have included Picturefill version 2")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&d.addHtml(e),t.default.addClass(d.___slide[e],"lg-loaded")}t.default.on(d.___slide[e].querySelector(".lg-object"),"load.lg error.lg",(function(){var i=0;o&&!t.default.hasClass(document.body,"lg-from-hash")&&(i=o),setTimeout((function(){t.default.addClass(d.___slide[e],"lg-complete"),t.default.trigger(d.el,"onSlideItemLoad",{index:e,delay:o||0})}),i)})),b&&b.html5&&!T&&t.default.addClass(d.___slide[e],"lg-complete"),!0===i&&(t.default.hasClass(d.___slide[e],"lg-complete")?d.preload(e):t.default.on(d.___slide[e].querySelector(".lg-object"),"load.lg error.lg",(function(){d.preload(e)})))},r.prototype.slide=function(e,i,o){for(var r=0,n=0;n<this.___slide.length;n++)if(t.default.hasClass(this.___slide[n],"lg-current")){r=n;break}var a=this;if(!a.lGalleryOn||r!==e){var s=this.___slide.length,l=a.lGalleryOn?this.s.speed:0,u=!1,c=!1;if(!a.lgBusy){var d;if(this.s.download)(d=a.s.dynamic?!1!==a.s.dynamicEl[e].downloadUrl&&(a.s.dynamicEl[e].downloadUrl||a.s.dynamicEl[e].src):"false"!==a.items[e].getAttribute("data-download-url")&&(a.items[e].getAttribute("data-download-url")||a.items[e].getAttribute("href")||a.items[e].getAttribute("data-src")))?(document.getElementById("lg-download").setAttribute("href",d),t.default.removeClass(a.outer,"lg-hide-download")):t.default.addClass(a.outer,"lg-hide-download");if(t.default.trigger(a.el,"onBeforeSlide",{prevIndex:r,index:e,fromTouch:i,fromThumb:o}),a.lgBusy=!0,clearTimeout(a.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout((function(){a.addHtml(e)}),l),this.arrowDisable(e),i){var T=e-1,h=e+1;(0===e&&r===s-1||e===s-1&&0===r)&&(h=0,T=s-1),t.default.removeClass(a.outer.querySelector(".lg-prev-slide"),"lg-prev-slide"),t.default.removeClass(a.outer.querySelector(".lg-current"),"lg-current"),t.default.removeClass(a.outer.querySelector(".lg-next-slide"),"lg-next-slide"),t.default.addClass(a.___slide[T],"lg-prev-slide"),t.default.addClass(a.___slide[h],"lg-next-slide"),t.default.addClass(a.___slide[e],"lg-current")}else{t.default.addClass(a.outer,"lg-no-trans");for(var f=0;f<this.___slide.length;f++)t.default.removeClass(this.___slide[f],"lg-prev-slide"),t.default.removeClass(this.___slide[f],"lg-next-slide");e<r?(c=!0,0!==e||r!==s-1||o||(c=!1,u=!0)):e>r&&(u=!0,e!==s-1||0!==r||o||(c=!0,u=!1)),c?(t.default.addClass(this.___slide[e],"lg-prev-slide"),t.default.addClass(this.___slide[r],"lg-next-slide")):u&&(t.default.addClass(this.___slide[e],"lg-next-slide"),t.default.addClass(this.___slide[r],"lg-prev-slide")),setTimeout((function(){t.default.removeClass(a.outer.querySelector(".lg-current"),"lg-current"),t.default.addClass(a.___slide[e],"lg-current"),t.default.removeClass(a.outer,"lg-no-trans")}),50)}a.lGalleryOn?(setTimeout((function(){a.loadContent(e,!0,0)}),this.s.speed+50),setTimeout((function(){a.lgBusy=!1,t.default.trigger(a.el,"onAfterSlide",{prevIndex:r,index:e,fromTouch:i,fromThumb:o})}),this.s.speed)):(a.loadContent(e,!0,a.s.backdropDuration),a.lgBusy=!1,t.default.trigger(a.el,"onAfterSlide",{prevIndex:r,index:e,fromTouch:i,fromThumb:o})),a.lGalleryOn=!0,this.s.counter&&document.getElementById("lg-counter-current")&&(document.getElementById("lg-counter-current").innerHTML=e+1)}}},r.prototype.goToNextSlide=function(e){var i=this;i.lgBusy||(i.index+1<i.___slide.length?(i.index++,t.default.trigger(i.el,"onBeforeNextSlide",{index:i.index}),i.slide(i.index,e,!1)):i.s.loop?(i.index=0,t.default.trigger(i.el,"onBeforeNextSlide",{index:i.index}),i.slide(i.index,e,!1)):i.s.slideEndAnimatoin&&(t.default.addClass(i.outer,"lg-right-end"),setTimeout((function(){t.default.removeClass(i.outer,"lg-right-end")}),400)))},r.prototype.goToPrevSlide=function(e){var i=this;i.lgBusy||(i.index>0?(i.index--,t.default.trigger(i.el,"onBeforePrevSlide",{index:i.index,fromTouch:e}),i.slide(i.index,e,!1)):i.s.loop?(i.index=i.items.length-1,t.default.trigger(i.el,"onBeforePrevSlide",{index:i.index,fromTouch:e}),i.slide(i.index,e,!1)):i.s.slideEndAnimatoin&&(t.default.addClass(i.outer,"lg-left-end"),setTimeout((function(){t.default.removeClass(i.outer,"lg-left-end")}),400)))},r.prototype.keyPress=function(){var e=this;this.items.length>1&&t.default.on(window,"keyup.lg",(function(t){e.items.length>1&&(37===t.keyCode&&(t.preventDefault(),e.goToPrevSlide()),39===t.keyCode&&(t.preventDefault(),e.goToNextSlide()))})),t.default.on(window,"keydown.lg",(function(i){!0===e.s.escKey&&27===i.keyCode&&(i.preventDefault(),t.default.hasClass(e.outer,"lg-thumb-open")?t.default.removeClass(e.outer,"lg-thumb-open"):e.destroy())}))},r.prototype.arrow=function(){var e=this;t.default.on(this.outer.querySelector(".lg-prev"),"click.lg",(function(){e.goToPrevSlide()})),t.default.on(this.outer.querySelector(".lg-next"),"click.lg",(function(){e.goToNextSlide()}))},r.prototype.arrowDisable=function(e){if(!this.s.loop&&this.s.hideControlOnEnd){var i=this.outer.querySelector(".lg-next"),o=this.outer.querySelector(".lg-prev");e+1<this.___slide.length?(i.removeAttribute("disabled"),t.default.removeClass(i,"disabled")):(i.setAttribute("disabled","disabled"),t.default.addClass(i,"disabled")),e>0?(o.removeAttribute("disabled"),t.default.removeClass(o,"disabled")):(o.setAttribute("disabled","disabled"),t.default.addClass(o,"disabled"))}},r.prototype.setTranslate=function(e,i,o){this.s.useLeft?e.style.left=i:t.default.setVendor(e,"Transform","translate3d("+i+"px, "+o+"px, 0px)")},r.prototype.touchMove=function(e,i){var o=i-e;Math.abs(o)>15&&(t.default.addClass(this.outer,"lg-dragging"),this.setTranslate(this.___slide[this.index],o,0),this.setTranslate(document.querySelector(".lg-prev-slide"),-this.___slide[this.index].clientWidth+o,0),this.setTranslate(document.querySelector(".lg-next-slide"),this.___slide[this.index].clientWidth+o,0))},r.prototype.touchEnd=function(e){var i=this;"lg-slide"!==i.s.mode&&t.default.addClass(i.outer,"lg-slide");for(var o=0;o<this.___slide.length;o++)t.default.hasClass(this.___slide[o],"lg-current")||t.default.hasClass(this.___slide[o],"lg-prev-slide")||t.default.hasClass(this.___slide[o],"lg-next-slide")||(this.___slide[o].style.opacity="0");setTimeout((function(){t.default.removeClass(i.outer,"lg-dragging"),e<0&&Math.abs(e)>i.s.swipeThreshold?i.goToNextSlide(!0):e>0&&Math.abs(e)>i.s.swipeThreshold?i.goToPrevSlide(!0):Math.abs(e)<5&&t.default.trigger(i.el,"onSlideClick");for(var o=0;o<i.___slide.length;o++)i.___slide[o].removeAttribute("style")})),setTimeout((function(){t.default.hasClass(i.outer,"lg-dragging")||"lg-slide"===i.s.mode||t.default.removeClass(i.outer,"lg-slide")}),i.s.speed+100)},r.prototype.enableSwipe=function(){var e=this,i=0,o=0,r=!1;if(e.s.enableSwipe&&e.isTouch&&e.doCss()){for(var n=0;n<e.___slide.length;n++)t.default.on(e.___slide[n],"touchstart.lg",(function(o){t.default.hasClass(e.outer,"lg-zoomed")||e.lgBusy||(o.preventDefault(),e.manageSwipeClass(),i=o.targetTouches[0].pageX)}));for(var a=0;a<e.___slide.length;a++)t.default.on(e.___slide[a],"touchmove.lg",(function(n){t.default.hasClass(e.outer,"lg-zoomed")||(n.preventDefault(),o=n.targetTouches[0].pageX,e.touchMove(i,o),r=!0)}));for(var s=0;s<e.___slide.length;s++)t.default.on(e.___slide[s],"touchend.lg",(function(){t.default.hasClass(e.outer,"lg-zoomed")||(r?(r=!1,e.touchEnd(o-i)):t.default.trigger(e.el,"onSlideClick"))}))}},r.prototype.enableDrag=function(){var e=this,i=0,o=0,r=!1,n=!1;if(e.s.enableDrag&&!e.isTouch&&e.doCss()){for(var a=0;a<e.___slide.length;a++)t.default.on(e.___slide[a],"mousedown.lg",(function(o){t.default.hasClass(e.outer,"lg-zoomed")||(t.default.hasClass(o.target,"lg-object")||t.default.hasClass(o.target,"lg-video-play"))&&(o.preventDefault(),e.lgBusy||(e.manageSwipeClass(),i=o.pageX,r=!0,e.outer.scrollLeft+=1,e.outer.scrollLeft-=1,t.default.removeClass(e.outer,"lg-grab"),t.default.addClass(e.outer,"lg-grabbing"),t.default.trigger(e.el,"onDragstart")))}));t.default.on(window,"mousemove.lg",(function(a){r&&(n=!0,o=a.pageX,e.touchMove(i,o),t.default.trigger(e.el,"onDragmove"))})),t.default.on(window,"mouseup.lg",(function(a){n?(n=!1,e.touchEnd(o-i),t.default.trigger(e.el,"onDragend")):(t.default.hasClass(a.target,"lg-object")||t.default.hasClass(a.target,"lg-video-play"))&&t.default.trigger(e.el,"onSlideClick"),r&&(r=!1,t.default.removeClass(e.outer,"lg-grabbing"),t.default.addClass(e.outer,"lg-grab"))}))}},r.prototype.manageSwipeClass=function(){var e=this.index+1,i=this.index-1,o=this.___slide.length;this.s.loop&&(0===this.index?i=o-1:this.index===o-1&&(e=0));for(var r=0;r<this.___slide.length;r++)t.default.removeClass(this.___slide[r],"lg-next-slide"),t.default.removeClass(this.___slide[r],"lg-prev-slide");i>-1&&t.default.addClass(this.___slide[i],"lg-prev-slide"),t.default.addClass(this.___slide[e],"lg-next-slide")},r.prototype.mousewheel=function(){var e=this;t.default.on(e.outer,"mousewheel.lg",(function(t){t.deltaY&&(t.deltaY>0?e.goToPrevSlide():e.goToNextSlide(),t.preventDefault())}))},r.prototype.closeGallery=function(){var e=this,i=!1;t.default.on(this.outer.querySelector(".lg-close"),"click.lg",(function(){e.destroy()})),e.s.closable&&(t.default.on(e.outer,"mousedown.lg",(function(e){i=!!(t.default.hasClass(e.target,"lg-outer")||t.default.hasClass(e.target,"lg-item")||t.default.hasClass(e.target,"lg-img-wrap"))})),t.default.on(e.outer,"mouseup.lg",(function(o){(t.default.hasClass(o.target,"lg-outer")||t.default.hasClass(o.target,"lg-item")||t.default.hasClass(o.target,"lg-img-wrap")&&i)&&(t.default.hasClass(e.outer,"lg-dragging")||e.destroy())})))},r.prototype.destroy=function(e){var i=this;if(e||t.default.trigger(i.el,"onBeforeClose"),document.body.scrollTop=i.prevScrollTop,document.documentElement.scrollTop=i.prevScrollTop,e){if(!i.s.dynamic)for(var o=0;o<this.items.length;o++)t.default.off(this.items[o],".lg"),t.default.off(this.items[o],".lgcustom");var r=i.el.getAttribute("lg-uid");delete window.lgData[r],i.el.removeAttribute("lg-uid")}for(var n in t.default.off(this.el,".lgtm"),window.lgModules)i.modules[n]&&i.modules[n].destroy(e);this.lGalleryOn=!1,clearTimeout(i.hideBartimeout),this.hideBartimeout=!1,t.default.off(window,".lg"),t.default.removeClass(document.body,"lg-on"),t.default.removeClass(document.body,"lg-from-hash"),i.outer&&t.default.removeClass(i.outer,"lg-visible"),t.default.removeClass(document.querySelector(".lg-backdrop"),"in"),setTimeout((function(){try{i.outer&&i.outer.parentNode.removeChild(i.outer),document.querySelector(".lg-backdrop")&&document.querySelector(".lg-backdrop").parentNode.removeChild(document.querySelector(".lg-backdrop")),e||t.default.trigger(i.el,"onCloseAfter"),i.el.focus()}catch(e){}}),i.s.backdropDuration+50)},window.lightGallery=function(e,t){if(e)try{if(e.getAttribute("lg-uid"))try{window.lgData[e.getAttribute("lg-uid")].init()}catch(e){console.error("lightGallery has not initiated properly")}else{var i="lg"+window.lgData.uid++;window.lgData[i]=new r(e,t),e.setAttribute("lg-uid",i)}}catch(e){console.error("lightGallery has not initiated properly")}}})?o.apply(t,r):o)||(e.exports=n)},Rqdy:function(e,t,i){var o=i("Y7ZC");o(o.S+o.F*!i("jmDH"),"Object",{defineProperty:i("2faE").f})},SBuE:function(e,t){e.exports={}},SEkw:function(e,t,i){e.exports={default:i("RU/L"),__esModule:!0}},TJWN:function(e,t,i){"use strict";var o=i("5T2Y"),r=i("WEpk"),n=i("2faE"),a=i("jmDH"),s=i("UWiX")("species");e.exports=function(e){var t="function"==typeof r[e]?r[e]:o[e];a&&t&&!t[s]&&n.f(t,s,{configurable:!0,get:function(){return this}})}},TuGD:function(e,t,i){var o=i("UWiX")("iterator"),r=!1;try{var n=[7][o]();n.return=function(){r=!0},Array.from(n,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var i=!1;try{var n=[7],a=n[o]();a.next=function(){return{done:i=!0}},n[o]=function(){return a},e(n)}catch(e){}return i}},"U+KD":function(e,t,i){var o=i("B+OT"),r=i("JB68"),n=i("VVlx")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,n)?e[n]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},UO39:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},UWiX:function(e,t,i){var o=i("29s/")("wks"),r=i("YqAc"),n=i("5T2Y").Symbol,a="function"==typeof n;(e.exports=function(e){return o[e]||(o[e]=a&&n[e]||(a?n:r)("Symbol."+e))}).store=o},UbbE:function(e,t,i){i("o8NH"),e.exports=i("WEpk").Object.assign},V7oC:function(e,t,i){"use strict";t.__esModule=!0;var o,r=(o=i("SEkw"))&&o.__esModule?o:{default:o};function n(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),(0,r.default)(e,o.key,o)}}t.default=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}},VVlx:function(e,t,i){var o=i("29s/")("keys"),r=i("YqAc");e.exports=function(e){return o[e]||(o[e]=r(e))}},W070:function(e,t,i){var o=i("NsO/"),r=i("tEej"),n=i("D8kY");e.exports=function(e){return function(t,i,a){var s,l=o(t),u=r(l.length),c=n(a,u);if(e&&i!=i){for(;c<u;)if((s=l[c++])!=s)return!0}else for(;c<u;c++)if((e||c in l)&&l[c]===i)return e||c||0;return!e&&-1}}},WEpk:function(e,t){var i=e.exports={version:"2.6.1"};"number"==typeof __e&&(__e=i)},Wdqn:function(e,t,i){e.exports=function e(t,i,o){function r(a,s){if(!i[a]){if(!t[a]){if(n)return n(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,i,o)}return i[a].exports}for(var n=!1,a=0;a<o.length;a++)r(o[a]);return r}({1:[function(e,t,i){!function(e,t){void 0!==i?t():(t(),e.lgShare={})}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},t={share:!0,facebook:!0,facebookDropdownText:"Facebook",twitter:!0,twitterDropdownText:"Twitter",googlePlus:!0,googlePlusDropdownText:"GooglePlus",pinterest:!0,pinterestDropdownText:"Pinterest"},i=function(i){return this.el=i,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=e({},t,this.core.s),this.core.s.share&&this.init(),this};i.prototype.init=function(){var e=this,t='<button aria-label="Share" aria-haspopup="true" aria-expanded="false" id="lg-share" class="lg-icon"><ul class="lg-dropdown" style="position: absolute;">';t+=e.core.s.facebook?'<li><a id="lg-share-facebook" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.facebookDropdownText+"</span></a></li>":"",t+=e.core.s.twitter?'<li><a id="lg-share-twitter" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.twitterDropdownText+"</span></a></li>":"",t+=e.core.s.googlePlus?'<li><a id="lg-share-googleplus" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.googlePlusDropdownText+"</span></a></li>":"",t+=e.core.s.pinterest?'<li><a id="lg-share-pinterest" target="_blank"><span class="lg-icon"></span><span class="lg-dropdown-text">'+this.core.s.pinterestDropdownText+"</span></a></li>":"",t+="</ul></button>",this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",t),this.core.outer.querySelector(".lg").insertAdjacentHTML("beforeend",'<div id="lg-dropdown-overlay"></div>');var i=document.getElementById("lg-share");utils.on(i,"click.lg",(function(){utils.hasClass(e.core.outer,"lg-dropdown-active")?(utils.removeClass(e.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!1)):(utils.addClass(e.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!0))})),utils.on(document.getElementById("lg-dropdown-overlay"),"click.lg",(function(){utils.removeClass(e.core.outer,"lg-dropdown-active"),i.setAttribute("aria-expanded",!1)})),utils.on(e.core.el,"onAfterSlide.lgtm",(function(t){setTimeout((function(){e.core.s.facebook&&document.getElementById("lg-share-facebook").setAttribute("href","https://www.facebook.com/sharer/sharer.php?u="+e.getSharePropsUrl(t.detail.index,"data-facebook-share-url")),e.core.s.twitter&&document.getElementById("lg-share-twitter").setAttribute("href","https://twitter.com/intent/tweet?text="+e.getShareProps(t.detail.index,"data-tweet-text")+"&url="+e.getSharePropsUrl(t.detail.index,"data-twitter-share-url")),e.core.s.googlePlus&&document.getElementById("lg-share-googleplus").setAttribute("href","https://plus.google.com/share?url="+e.getSharePropsUrl(t.detail.index,"data-googleplus-share-url")),e.core.s.pinterest&&document.getElementById("lg-share-pinterest").setAttribute("href","http://www.pinterest.com/pin/create/button/?url="+e.getSharePropsUrl(t.detail.index,"data-pinterest-share-url")+"&media="+encodeURIComponent(e.getShareProps(t.detail.index,"href")||e.getShareProps(t.detail.index,"data-src"))+"&description="+e.getShareProps(t.detail.index,"data-pinterest-text"))}),100)}))},i.prototype.getSharePropsUrl=function(e,t){var i=this.getShareProps(e,t);return i=i||window.location.href,encodeURIComponent(i)},i.prototype.getShareProps=function(e,t){var i="";return this.core.s.dynamic?i=this.core.items[e][function(e){return e.toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}(t.replace("data-",""))]:this.core.items[e].getAttribute(t)&&(i=this.core.items[e].getAttribute(t)),i},i.prototype.destroy=function(){},window.lgModules.share=i}))},{}]},{},[1])(1)},"XJU/":function(e,t,i){var o=i("NegM");e.exports=function(e,t,i){for(var r in t)i&&e[r]?e[r]=t[r]:o(e,r,t[r]);return e}},Y7ZC:function(e,t,i){var o=i("5T2Y"),r=i("WEpk"),n=i("2GTP"),a=i("NegM"),s=i("B+OT"),l="prototype",u=function(e,t,i){var c,d,T,h=e&u.F,f=e&u.G,b=e&u.S,S=e&u.P,m=e&u.B,g=e&u.W,p=f?r:r[t]||(r[t]={}),A=p[l],v=f?o:b?o[t]:(o[t]||{})[l];for(c in f&&(i=t),i)(d=!h&&v&&void 0!==v[c])&&s(p,c)||(T=d?v[c]:i[c],p[c]=f&&"function"!=typeof v[c]?i[c]:m&&d?n(T,o):g&&v[c]==T?function(e){function t(t,i,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,i)}return new e(t,i,o)}return e.apply(this,arguments)}return t[l]=e[l],t}(T):S&&"function"==typeof T?n(Function.call,T):T,S&&((p.virtual||(p.virtual={}))[c]=T,e&u.R&&A&&!A[c]&&a(A,c,T)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},YqAc:function(e,t){var i=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+o).toString(36))}},ZW5q:function(e,t,i){"use strict";var o=i("eaoh");function r(e){var t,i;this.promise=new e((function(e,o){if(void 0!==t||void 0!==i)throw TypeError("Bad Promise constructor");t=e,i=o})),this.resolve=o(t),this.reject=o(i)}e.exports.f=function(e){return new r(e)}},a0xu:function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},aW7e:function(e,t,i){i("wgeU"),i("FlQf"),i("bBy9"),i("JMW+"),i("PBE1"),i("Q/yX"),e.exports=i("WEpk").Promise},bBy9:function(e,t,i){i("w2d+");for(var o=i("5T2Y"),r=i("NegM"),n=i("SBuE"),a=i("UWiX")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=o[u],d=c&&c.prototype;d&&!d[a]&&r(d,a,u),n[u]=n.Array}},c39r:function(e,t,i){},ccE7:function(e,t,i){var o=i("Ojgd"),r=i("Jes0");e.exports=function(e){return function(t,i){var n,a,s=String(r(t)),l=o(i),u=s.length;return l<0||u<=l?e?"":void 0:(n=s.charCodeAt(l))<55296||56319<n||l+1===u||(a=s.charCodeAt(l+1))<56320||57343<a?e?s.charAt(l):n:e?s.slice(l,l+2):a-56320+(n-55296<<10)+65536}}},eUtF:function(e,t,i){e.exports=!i("jmDH")&&!i("KUxP")((function(){return 7!=Object.defineProperty(i("Hsns")("div"),"a",{get:function(){return 7}}).a}))},eaoh:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},fNZA:function(e,t,i){var o=i("QMMT"),r=i("UWiX")("iterator"),n=i("SBuE");e.exports=i("WEpk").getIteratorMethod=function(e){if(null!=e)return e[r]||e["@@iterator"]||n[o(e)]}},fpC5:function(e,t,i){var o=i("2faE"),r=i("5K7Z"),n=i("w6GO");e.exports=i("jmDH")?Object.defineProperties:function(e,t){r(e);for(var i,a=n(t),s=a.length,l=0;l<s;)o.f(e,i=a[l++],t[i]);return e}},hDam:function(e,t){e.exports=function(){}},iCc5:function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},j2DC:function(e,t,i){"use strict";var o=i("oVml"),r=i("rr1i"),n=i("RfKB"),a={};i("NegM")(a,i("UWiX")("iterator"),(function(){return this})),e.exports=function(e,t,i){e.prototype=o(a,{next:r(1,i)}),n(e,t+" Iterator")}},jmDH:function(e,t,i){e.exports=!i("KUxP")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},kTiW:function(e,t,i){e.exports=i("NegM")},kwZ1:function(e,t,i){"use strict";var o=i("w6GO"),r=i("mqlF"),n=i("NV0k"),a=i("JB68"),s=i("M1xp"),l=Object.assign;e.exports=!l||i("KUxP")((function(){var e={},t={},i=Symbol(),o="abcdefghijklmnopqrst";return e[i]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[i]||Object.keys(l({},t)).join("")!=o}))?function(e,t){for(var i=a(e),l=arguments.length,u=1,c=r.f,d=n.f;u<l;)for(var T,h=s(arguments[u++]),f=c?o(h).concat(c(h)):o(h),b=f.length,S=0;S<b;)d.call(h,T=f[S++])&&(i[T]=h[T]);return i}:l},ls82:function(e,t){!function(t){"use strict";var i,o=Object.prototype,r=o.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag",u="object"==typeof e,c=t.regeneratorRuntime;if(c)u&&(e.exports=c);else{(c=t.regeneratorRuntime=u?e.exports:{}).wrap=A;var d="suspendedStart",T="suspendedYield",h="executing",f="completed",b={},S={};S[a]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(H([])));g&&g!==o&&r.call(g,a)&&(S=g);var p=M.prototype=P.prototype=Object.create(S);y.prototype=p.constructor=M,M.constructor=y,M[l]=y.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(p),e},c.awrap=function(e){return{__await:e}},C(E.prototype),E.prototype[s]=function(){return this},c.AsyncIterator=E,c.async=function(e,t,i,o){var r=new E(A(e,t,i,o));return c.isGeneratorFunction(t)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},C(p),p[l]="Generator",p[a]=function(){return this},p.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var i in e)t.push(i);return t.reverse(),function i(){for(;t.length;){var o=t.pop();if(o in e)return i.value=o,i.done=!1,i}return i.done=!0,i}},c.values=H,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=i)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(o,r){return s.type="throw",s.arg=e,t.next=o,r&&(t.method="next",t.arg=i),!!r}for(var n=this.tryEntries.length-1;0<=n;--n){var a=this.tryEntries[n],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;0<=i;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var a=n?n.completion:{};return a.type=e,a.arg=t,n?(this.method="next",this.next=n.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),w(i),b}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var o=i.completion;if("throw"===o.type){var r=o.arg;w(i)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:H(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=i),b}}}function A(e,t,i,o){var r,n,a,s,l=t&&t.prototype instanceof P?t:P,u=Object.create(l.prototype),c=new _(o||[]);return u._invoke=(r=e,n=i,a=c,s=d,function(e,t){if(s===h)throw new Error("Generator is already running");if(s===f){if("throw"===e)throw t;return I()}for(a.method=e,a.arg=t;;){var i=a.delegate;if(i){var o=G(i,a);if(o){if(o===b)continue;return o}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===d)throw s=f,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=h;var l=v(r,n,a);if("normal"===l.type){if(s=a.done?f:T,l.arg===b)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(s=f,a.method="throw",a.arg=l.arg)}}),u}function v(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}function P(){}function y(){}function M(){}function C(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function E(e){var t;this._invoke=function(i,o){function n(){return new Promise((function(t,n){!function t(i,o,n,a){var s=v(e[i],e,o);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,n,a)}),(function(e){t("throw",e,n,a)})):Promise.resolve(u).then((function(e){l.value=e,n(l)}),a)}a(s.arg)}(i,o,t,n)}))}return t=t?t.then(n,n):n()}}function G(e,t){var o=e.iterator[t.method];if(o===i){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=i,G(e,t),"throw"===t.method))return b;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var r=v(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,b;var n=r.arg;return n?n.done?(t[e.resultName]=n.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=i),t.delegate=null,b):n:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function H(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,n=function t(){for(;++o<e.length;)if(r.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=i,t.done=!0,t};return n.next=n}}return{next:I}}function I(){return{value:i,done:!0}}}(function(){return this}()||Function("return this")())},mqlF:function(e,t){t.f=Object.getOwnPropertySymbols},o8NH:function(e,t,i){var o=i("Y7ZC");o(o.S+o.F,"Object",{assign:i("kwZ1")})},oVml:function(e,t,i){function o(){}var r=i("5K7Z"),n=i("fpC5"),a=i("FpHa"),s=i("VVlx")("IE_PROTO"),l="prototype",u=function(){var e,t=i("Hsns")("iframe"),o=a.length;for(t.style.display="none",i("MvwC").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;o--;)delete u[l][a[o]];return u()};e.exports=Object.create||function(e,t){var i;return null!==e?(o[l]=r(e),i=new o,o[l]=null,i[s]=e):i=u(),void 0===t?i:n(i,t)}},oioR:function(e,t,i){var o=i("2GTP"),r=i("sNwI"),n=i("NwJ3"),a=i("5K7Z"),s=i("tEej"),l=i("fNZA"),u={},c={};(t=e.exports=function(e,t,i,d,T){var h,f,b,S,m=T?function(){return e}:l(e),g=o(i,d,t?2:1),p=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(n(m)){for(h=s(e.length);p<h;p++)if((S=t?g(a(f=e[p])[0],f[1]):g(e[p]))===u||S===c)return S}else for(b=m.call(e);!(f=b.next()).done;)if((S=r(b,g,f.value,t))===u||S===c)return S}).BREAK=u,t.RETURN=c},q6LJ:function(e,t,i){var o=i("5T2Y"),r=i("QXhf").set,n=o.MutationObserver||o.WebKitMutationObserver,a=o.process,s=o.Promise,l="process"==i("a0xu")(a);e.exports=function(){function e(){var e,o;for(l&&(e=a.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?u():i=void 0,e}}i=void 0,e&&e.enter()}var t,i,u;if(l)u=function(){a.nextTick(e)};else if(!n||o.navigator&&o.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);u=function(){c.then(e)}}else u=function(){r.call(o,e)};else{var d=!0,T=document.createTextNode("");new n(e).observe(T,{characterData:!0}),u=function(){T.data=d=!d}}return function(e){var o={fn:e,next:void 0};i&&(i.next=o),t||(t=o,u()),i=o}}},rr1i:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},sNwI:function(e,t,i){var o=i("5K7Z");e.exports=function(e,t,i,r){try{return r?t(o(i)[0],i[1]):t(i)}catch(t){var n=e.return;throw void 0!==n&&o(n.call(e)),t}}},tEej:function(e,t,i){var o=i("Ojgd"),r=Math.min;e.exports=function(e){return 0<e?r(o(e),9007199254740991):0}},u938:function(e,t,i){var o=function(){return this}()||Function("return this")(),r=o.regeneratorRuntime&&0<=Object.getOwnPropertyNames(o).indexOf("regeneratorRuntime"),n=r&&o.regeneratorRuntime;if(o.regeneratorRuntime=void 0,e.exports=i("ls82"),r)o.regeneratorRuntime=n;else try{delete o.regeneratorRuntime}catch(e){o.regeneratorRuntime=void 0}},uOPS:function(e,t){e.exports=!0},vBP9:function(e,t,i){var o=i("5T2Y").navigator;e.exports=o&&o.userAgent||""},"w2d+":function(e,t,i){"use strict";var o=i("hDam"),r=i("UO39"),n=i("SBuE"),a=i("NsO/");e.exports=i("MPFp")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,i=this._i++;return!e||i>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])}),"values"),n.Arguments=n.Array,o("keys"),o("values"),o("entries")},w6GO:function(e,t,i){var o=i("5vMV"),r=i("FpHa");e.exports=Object.keys||function(e){return o(e,r)}},wgeU:function(e,t){},x8jq:function(e,t,i){var o,r;void 0===(r="function"==typeof(o=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t={getAttribute:function(e,t){return e[t]},setAttribute:function(e,t,i){e[t]=i},wrap:function(e,t){if(e){var i=document.createElement("div");i.className=t,e.parentNode.insertBefore(i,e),e.parentNode.removeChild(e),i.appendChild(e)}},addClass:function(e,t){e&&(e.classList?e.classList.add(t):e.className+=" "+t)},removeClass:function(e,t){e&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},hasClass:function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)},setVendor:function(e,t,i){e&&(e.style[t.charAt(0).toLowerCase()+t.slice(1)]=i,e.style["webkit"+t]=i,e.style["moz"+t]=i,e.style["ms"+t]=i,e.style["o"+t]=i)},trigger:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(e){var o=new CustomEvent(t,{detail:i});e.dispatchEvent(o)}},Listener:{uid:0},on:function(e,i,o){var r=this;e&&i.split(" ").forEach((function(i){var n=r.getAttribute(e,"lg-event-uid")||"";t.Listener.uid++,n+="&"+t.Listener.uid,r.setAttribute(e,"lg-event-uid",n),t.Listener[i+t.Listener.uid]=o,e.addEventListener(i.split(".")[0],o,!1)}))},off:function(e,i){if(e){var o=this.getAttribute(e,"lg-event-uid");if(o){o=o.split("&");for(var r=0;r<o.length;r++)if(o[r]){var n=i+o[r];if("."===n.substring(0,1))for(var a in t.Listener)t.Listener.hasOwnProperty(a)&&a.split(".").indexOf(n.split(".")[1])>-1&&(e.removeEventListener(a.split(".")[0],t.Listener[a]),this.setAttribute(e,"lg-event-uid",this.getAttribute(e,"lg-event-uid").replace("&"+o[r],"")),delete t.Listener[a]);else e.removeEventListener(n.split(".")[0],t.Listener[n]),this.setAttribute(e,"lg-event-uid",this.getAttribute(e,"lg-event-uid").replace("&"+o[r],"")),delete t.Listener[n]}}}},param:function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}};e.default=t})?o.apply(t,[t]):o)||(e.exports=r)},xsZ3:function(e,t,i){
2
2
  /*!mobile-detect v1.4.4 2019-09-21*/
3
3
  /*!@license Copyright 2013, Heinrich Goebl, License: MIT, see https://github.com/hgoebl/mobile-detect.js*/
4
4
  var o;(e.exports?function(t){e.exports=t()}:i("B9Yq"))((function(){"use strict";var e,t={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b(?!\\))",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},i=Object.prototype.hasOwnProperty;function r(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function n(e,t){var i,o,r=e.length;if(!r||!t)return!1;for(i=t.toLowerCase(),o=0;o<r;++o)if(i===e[o].toLowerCase())return!0;return!1}function a(e){for(var t in e)i.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function s(e,t){this.ua=(e||"").substr(0,500),this._cache={},this.maxPhoneWidth=t||600}return t.FALLBACK_PHONE="UnknownPhone",t.FALLBACK_TABLET="UnknownTablet",t.FALLBACK_MOBILE="UnknownMobile",e="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var o,r,n,s,l,u,c=t.mobileDetectRules;for(o in c.props)if(i.call(c.props,o)){for(r=c.props[o],e(r)||(r=[r]),l=r.length,s=0;s<l;++s)0<=(u=(n=r[s]).indexOf("[VER]"))&&(n=n.substring(0,u)+"([\\w._\\+]+)"+n.substring(u+5)),r[s]=new RegExp(n,"i");c.props[o]=r}a(c.oss),a(c.phones),a(c.tablets),a(c.uas),a(c.utils),c.oss0={WindowsPhoneOS:c.oss.WindowsPhoneOS,WindowsMobileOS:c.oss.WindowsMobileOS}}(),t.findMatch=function(e,t){for(var o in e)if(i.call(e,o)&&e[o].test(t))return o;return null},t.findMatches=function(e,t){var o=[];for(var r in e)i.call(e,r)&&e[r].test(t)&&o.push(r);return o},t.getVersionStr=function(e,o){var r,n,a,s,l=t.mobileDetectRules.props;if(i.call(l,e))for(a=(r=l[e]).length,n=0;n<a;++n)if(null!==(s=r[n].exec(o)))return s[1];return null},t.getVersion=function(e,i){var o=t.getVersionStr(e,i);return o?t.prepareVersionNo(o):NaN},t.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),1<t.length&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},t.isMobileFallback=function(e){return t.detectMobileBrowsers.fullPattern.test(e)||t.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},t.isTabletFallback=function(e){return t.detectMobileBrowsers.tabletPattern.test(e)},t.prepareDetectionCache=function(e,i,r){if(e.mobile===o){var n,a,l;if(a=t.findMatch(t.mobileDetectRules.tablets,i))return e.mobile=e.tablet=a,void(e.phone=null);if(n=t.findMatch(t.mobileDetectRules.phones,i))return e.mobile=e.phone=n,void(e.tablet=null);t.isMobileFallback(i)?(l=s.isPhoneSized(r))===o?(e.mobile=t.FALLBACK_MOBILE,e.tablet=e.phone=null):l?(e.mobile=e.phone=t.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=t.FALLBACK_TABLET,e.phone=null):t.isTabletFallback(i)?(e.mobile=e.tablet=t.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},t.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&4.3<=e.version("iPad")||e.os("iOS")&&3.1<=e.version("iPhone")||e.os("iOS")&&3.1<=e.version("iPod")||2.1<e.version("Android")&&e.is("Webkit")||7<=e.version("Windows Phone OS")||e.is("BlackBerry")&&6<=e.version("BlackBerry")||e.match("Playbook.*Tablet")||1.4<=e.version("webOS")&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&12<=e.version("Firefox")||e.is("Chrome")&&e.is("AndroidOS")&&4<=e.version("Android")||e.is("Skyfire")&&4.1<=e.version("Skyfire")&&e.is("AndroidOS")&&2.3<=e.version("Android")||e.is("Opera")&&11<e.version("Opera Mobi")&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&2<=e.version("Bada")||(e.is("UC Browser")||e.is("Dolfin"))&&2.3<=e.version("Android")||e.match("Kindle Fire")||e.is("Kindle")&&3<=e.version("Kindle")||e.is("AndroidOS")&&e.is("NookTablet")||11<=e.version("Chrome")&&!t||5<=e.version("Safari")&&!t||4<=e.version("Firefox")&&!t||7<=e.version("MSIE")&&!t||10<=e.version("Opera")&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&5<=e.version("BlackBerry")&&e.version("BlackBerry")<6||5<=e.version("Opera Mini")&&e.version("Opera Mini")<=6.5&&(2.3<=e.version("Android")||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||11<=e.version("Opera Mobi")&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},t.detectOS=function(e){return t.findMatch(t.mobileDetectRules.oss0,e)||t.findMatch(t.mobileDetectRules.oss,e)},t.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},s.prototype={constructor:s,mobile:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===o&&(this._cache.userAgent=t.findMatch(t.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===o&&(this._cache.userAgents=t.findMatches(t.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===o&&(this._cache.os=t.detectOS(this.ua)),this._cache.os},version:function(e){return t.getVersion(e,this.ua)},versionStr:function(e){return t.getVersionStr(e,this.ua)},is:function(e){return n(this.userAgents(),e)||r(e,this.os())||r(e,this.phone())||r(e,this.tablet())||n(t.findMatches(t.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return s.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===o&&(this._cache.grade=t.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?s.isPhoneSized=function(e){return e<0?o:t.getDeviceSmallerSide()<=e}:s.isPhoneSized=function(){},s._impl=t,s.version="1.4.4 2019-09-21",s}))},yu08:function(e,t,i){e.exports=function e(t,i,o){function r(a,s){if(!i[a]){if(!t[a]){if(n)return n(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,i,o)}return i[a].exports}for(var n=!1,a=0;a<o.length;a++)r(o[a]);return r}({1:[function(e,t,i){!function(e,t){void 0!==i?t():(t(),e.lgFullscreen={})}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},t={fullScreen:!0};function i(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement}var o=function(i){return this.el=i,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=e({},t,this.core.s),this.init(),this};o.prototype.init=function(){var e="";if(this.core.s.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;e='<button aria-label="Toggle fullscreen" class="lg-fullscreen lg-icon"></button>',this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",e),this.fullScreen()}},o.prototype.requestFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},o.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},o.prototype.fullScreen=function(){var e=this;utils.on(document,"fullscreenchange.lgfullscreen webkitfullscreenchange.lgfullscreen mozfullscreenchange.lgfullscreen MSFullscreenChange.lgfullscreen",(function(){utils.hasClass(e.core.outer,"lg-fullscreen-on")?utils.removeClass(e.core.outer,"lg-fullscreen-on"):utils.addClass(e.core.outer,"lg-fullscreen-on")})),utils.on(this.core.outer.querySelector(".lg-fullscreen"),"click.lg",(function(){i()?e.exitFullscreen():e.requestFullscreen()}))},o.prototype.destroy=function(){i()&&this.exitFullscreen(),utils.off(document,".lgfullscreen")},window.lgModules.fullscreen=o}))},{}]},{},[1])(1)},zXhZ:function(e,t,i){var o=i("5K7Z"),r=i("93I4"),n=i("ZW5q");e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var i=n.f(e);return(0,i.resolve)(t),i.promise}}},e.c=i,e.d=function(t,i,o){e.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:o})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.t=function(t,i){if(1&i&&(t=e(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var r in t)e.d(o,r,function(e){return t[e]}.bind(null,r));return o},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.p="",e(e.s="1AmZ")).default;function e(o){if(i[o])return i[o].exports;var r=i[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var t,i}));