!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("axios"),require("axios-jsonp")):"function"==typeof define&&define.amd?define(["axios","axios-jsonp"],e):"object"==typeof exports?exports.azlib=e(require("axios"),require("axios-jsonp")):t.azlib=e(t.axios,t["axios-jsonp"])}(this,(function(t,e){return function(){"use strict";var i={300:function(e){e.exports=t},489:function(t){t.exports=e}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={exports:{}};return i[t](r,r.exports,o),r.exports}o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return function(){o.r(r),o.d(r,{AdjustSize:function(){return ot},FadeSlider:function(){return ct},FlowVox:function(){return at},FocusLoop:function(){return rt},InstaFeed:function(){return bt},LazyLoadBg:function(){return ht},PopupAdjust:function(){return st},RSSFeed:function(){return yt},ReplaceImageSP:function(){return dt},SimpleAccordion:function(){return lt},SimpleCookie:function(){return pt},SimpleSlider:function(){return ut},Utilities:function(){return nt},anime:function(){return it}});var t={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},e={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},i=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],n={CSS:{},springs:{}};function s(t,e,i){return Math.min(Math.max(t,e),i)}function a(t,e){return t.indexOf(e)>-1}function c(t,e){return t.apply(null,e)}var u={arr:function(t){return Array.isArray(t)},obj:function(t){return a(Object.prototype.toString.call(t),"Object")},pth:function(t){return u.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},inp:function(t){return t instanceof HTMLInputElement},dom:function(t){return t.nodeType||u.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},nil:function(t){return u.und(t)||null===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return u.hex(t)||u.rgb(t)||u.hsl(t)},key:function(i){return!t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&"targets"!==i&&"keyframes"!==i}};function l(t){var e=/\(([^)]+)\)/.exec(t);return e?e[1].split(",").map((function(t){return parseFloat(t)})):[]}function p(t,e){var i=l(t),o=s(u.und(i[0])?1:i[0],.1,100),r=s(u.und(i[1])?100:i[1],.1,100),a=s(u.und(i[2])?10:i[2],.1,100),c=s(u.und(i[3])?0:i[3],.1,100),p=Math.sqrt(r/o),d=a/(2*Math.sqrt(r*o)),h=d<1?p*Math.sqrt(1-d*d):0,f=d<1?(d*p-c)/h:-c+p;function g(t){var i=e?e*t/1e3:t;return i=d<1?Math.exp(-i*d*p)*(1*Math.cos(h*i)+f*Math.sin(h*i)):(1+f*i)*Math.exp(-i*p),0===t||1===t?t:1-i}return e?g:function(){var e=n.springs[t];if(e)return e;for(var i=1/6,o=0,r=0;;)if(1===g(o+=i)){if(++r>=16)break}else r=0;var s=o*i*1e3;return n.springs[t]=s,s}}function d(t){return void 0===t&&(t=10),function(e){return Math.ceil(s(e,1e-6,1)*t)*(1/t)}}var h,f,g=function(){var t=.1;function e(t,e){return 1-3*e+3*t}function i(t,e){return 3*e-6*t}function n(t){return 3*t}function o(t,o,r){return((e(o,r)*t+i(o,r))*t+n(o))*t}function r(t,o,r){return 3*e(o,r)*t*t+2*i(o,r)*t+n(o)}return function(e,i,n,s){if(0<=e&&e<=1&&0<=n&&n<=1){var a=new Float32Array(11);if(e!==i||n!==s)for(var c=0;c<11;++c)a[c]=o(c*t,e,n);return function(c){return e===i&&n===s||0===c||1===c?c:o(function(i){for(var s=0,c=1;10!==c&&a[c]<=i;++c)s+=t;--c;var u=s+(i-a[c])/(a[c+1]-a[c])*t,l=r(u,e,n);return l>=.001?function(t,e,i,n){for(var s=0;s<4;++s){var a=r(e,i,n);if(0===a)return e;e-=(o(e,i,n)-t)/a}return e}(i,u,e,n):0===l?u:function(t,e,i,n,r){var s,a,c=0;do{(s=o(a=e+(i-e)/2,n,r)-t)>0?i=a:e=a}while(Math.abs(s)>1e-7&&++c<10);return a}(i,s,s+t,e,n)}(c),i,s)}}}}(),m=(h={linear:function(){return function(t){return t}}},f={Sine:function(){return function(t){return 1-Math.cos(t*Math.PI/2)}},Expo:function(){return function(t){return t?Math.pow(2,10*t-10):0}},Circ:function(){return function(t){return 1-Math.sqrt(1-t*t)}},Back:function(){return function(t){return t*t*(3*t-2)}},Bounce:function(){return function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}},Elastic:function(t,e){void 0===t&&(t=1),void 0===e&&(e=.5);var i=s(t,1,10),n=s(e,.1,2);return function(t){return 0===t||1===t?t:-i*Math.pow(2,10*(t-1))*Math.sin((t-1-n/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/n)}}},["Quad","Cubic","Quart","Quint"].forEach((function(t,e){f[t]=function(){return function(t){return Math.pow(t,e+2)}}})),Object.keys(f).forEach((function(t){var e=f[t];h["easeIn"+t]=e,h["easeOut"+t]=function(t,i){return function(n){return 1-e(t,i)(1-n)}},h["easeInOut"+t]=function(t,i){return function(n){return n<.5?e(t,i)(2*n)/2:1-e(t,i)(-2*n+2)/2}},h["easeOutIn"+t]=function(t,i){return function(n){return n<.5?(1-e(t,i)(1-2*n))/2:(e(t,i)(2*n-1)+1)/2}}})),h);function v(t,e){if(u.fnc(t))return t;var i=t.split("(")[0],n=m[i],o=l(t);switch(i){case"spring":return p(t,e);case"cubicBezier":return c(g,o);case"steps":return c(d,o);default:return c(n,o)}}function y(t){try{return document.querySelectorAll(t)}catch(t){return}}function b(t,e){for(var i=t.length,n=arguments.length>=2?arguments[1]:void 0,o=[],r=0;r1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}if(0==s)e=i=n=a;else{var l=a<.5?a*(1+s):a+s-a*s,p=2*a-l;e=u(p,l,r+1/3),i=u(p,l,r),n=u(p,l,r-1/3)}return"rgba("+255*e+","+255*i+","+255*n+","+c+")"}(t):void 0;var e,i}(t);if(/\s/g.test(t))return t;var i=E(t),n=i?t.substr(0,t.length-i.length):t;return e?n+e:n}function D(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function W(t){for(var e,i=t.points,n=0,o=0;o0&&(n+=D(e,r)),e=r}return n}function j(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return function(t){return 2*Math.PI*O(t,"r")}(t);case"rect":return function(t){return 2*O(t,"width")+2*O(t,"height")}(t);case"line":return function(t){return D({x:O(t,"x1"),y:O(t,"y1")},{x:O(t,"x2"),y:O(t,"y2")})}(t);case"polyline":return W(t);case"polygon":return function(t){var e=t.points;return W(t)+D(e.getItem(e.numberOfItems-1),e.getItem(0))}(t)}}function B(t,e){var i=e||{},n=i.el||function(t){for(var e=t.parentNode;u.svg(e)&&u.svg(e.parentNode);)e=e.parentNode;return e}(t),o=n.getBoundingClientRect(),r=O(n,"viewBox"),s=o.width,a=o.height,c=i.viewBox||(r?r.split(" "):[0,0,s,a]);return{el:n,viewBox:c,x:c[0]/1,y:c[1]/1,w:s,h:a,vW:c[2],vH:c[3]}}function R(t,e,i){function n(i){void 0===i&&(i=0);var n=e+i>=1?e+i:0;return t.el.getPointAtLength(n)}var o=B(t.el,t.svg),r=n(),s=n(-1),a=n(1),c=i?1:o.w/o.vW,u=i?1:o.h/o.vH;switch(t.property){case"x":return(r.x-o.x)*c;case"y":return(r.y-o.y)*u;case"angle":return 180*Math.atan2(a.y-s.y,a.x-s.x)/Math.PI}}function F(t,e){var i=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,n=N(u.pth(t)?t.totalLength:t,e)+"";return{original:n,numbers:n.match(i)?n.match(i).map(Number):[0],strings:u.str(t)||e?n.split(i):[]}}function Y(t){return b(t?w(u.arr(t)?t.map(L):L(t)):[],(function(t,e,i){return i.indexOf(t)===e}))}function X(t){var e=Y(t);return e.map((function(t,i){return{target:t,id:i,total:e.length,transforms:{list:q(t)}}}))}function _(t,e){var i=x(e);if(/^spring/.test(i.easing)&&(i.duration=p(i.easing)),u.arr(t)){var n=t.length;2!==n||u.obj(t[0])?u.fnc(e.duration)||(i.duration=e.duration/n):t={value:t}}var o=u.arr(t)?t:[t];return o.map((function(t,i){var n=u.obj(t)&&!u.pth(t)?t:{value:t};return u.und(n.delay)&&(n.delay=i?0:e.delay),u.und(n.endDelay)&&(n.endDelay=i===o.length-1?e.endDelay:0),n})).map((function(t){return C(t,i)}))}var z={css:function(t,e,i){return t.style[e]=i},attribute:function(t,e,i){return t.setAttribute(e,i)},object:function(t,e,i){return t[e]=i},transform:function(t,e,i,n,o){if(n.list.set(e,i),e===n.last||o){var r="";n.list.forEach((function(t,e){r+=e+"("+t+") "})),t.style.transform=r}}};function U(t,e){X(t).forEach((function(t){for(var i in e){var n=T(e[i],t),o=t.target,r=E(n),s=P(o,i,r,t),a=H(N(n,r||E(s)),s),c=k(o,i);z[c](o,i,a,t.transforms,!0)}}))}function V(t,e){return b(w(t.map((function(t){return e.map((function(e){return function(t,e){var i=k(t.target,e.name);if(i){var n=function(t,e){var i;return t.tweens.map((function(n){var o=function(t,e){var i={};for(var n in t){var o=T(t[n],e);u.arr(o)&&1===(o=o.map((function(t){return T(t,e)}))).length&&(o=o[0]),i[n]=o}return i.duration=parseFloat(i.duration),i.delay=parseFloat(i.delay),i}(n,e),r=o.value,s=u.arr(r)?r[1]:r,a=E(s),c=P(e.target,t.name,a,e),l=i?i.to.original:c,p=u.arr(r)?r[0]:l,d=E(p)||E(c),h=a||d;return u.und(s)&&(s=l),o.from=F(p,h),o.to=F(H(s,p),h),o.start=i?i.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=v(o.easing,o.duration),o.isPath=u.pth(r),o.isPathTargetInsideSVG=o.isPath&&u.svg(e.target),o.isColor=u.col(o.from.original),o.isColor&&(o.round=1),i=o,o}))}(e,t),o=n[n.length-1];return{type:i,property:e.name,animatable:t,tweens:n,duration:o.end,delay:n[0].delay,endDelay:o.endDelay}}}(t,e)}))}))),(function(t){return!u.und(t)}))}function G(t,e){var i=t.length,n=function(t){return t.timelineOffset?t.timelineOffset:0},o={};return o.duration=i?Math.max.apply(Math,t.map((function(t){return n(t)+t.duration}))):e.duration,o.delay=i?Math.min.apply(Math,t.map((function(t){return n(t)+t.delay}))):e.delay,o.endDelay=i?o.duration-Math.max.apply(Math,t.map((function(t){return n(t)+t.duration-t.endDelay}))):e.endDelay,o}var $=0,Z=[],Q=function(){var t;function e(i){for(var n=Z.length,o=0;o0?requestAnimationFrame(e):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){K.suspendWhenDocumentHidden&&(J()?t=cancelAnimationFrame(t):(Z.forEach((function(t){return t._onDocumentVisibility()})),Q()))})),function(){t||J()&&K.suspendWhenDocumentHidden||!(Z.length>0)||(t=requestAnimationFrame(e))}}();function J(){return!!document&&document.hidden}function K(i){void 0===i&&(i={});var n,o=0,r=0,a=0,c=0,l=null;function p(t){var e=window.Promise&&new Promise((function(t){return l=t}));return t.finished=e,e}var d=function(i){var n=S(t,i),o=S(e,i),r=function(t,e){var i=[],n=e.keyframes;for(var o in n&&(e=C(function(t){for(var e=b(w(t.map((function(t){return Object.keys(t)}))),(function(t){return u.key(t)})).reduce((function(t,e){return t.indexOf(e)<0&&t.push(e),t}),[]),i={},n=function(n){var o=e[n];i[o]=t.map((function(t){var e={};for(var i in t)u.key(i)?i==o&&(e.value=t[i]):e[i]=t[i];return e}))},o=0;o2||(w=Math.round(w*f)/f)),g.push(w)}var x=h.length;if(x){v=h[0];for(var S=0;S0&&(d.began=!0,y("begin")),!d.loopBegan&&d.currentTime>0&&(d.loopBegan=!0,y("loopBegin")),g<=i&&0!==d.currentTime&&v(0),(g>=u&&d.currentTime!==e||!e)&&v(e),g>i&&g=e&&(r=0,d.remaining&&!0!==d.remaining&&d.remaining--,d.remaining?(o=a,y("loopComplete"),d.loopBegan=!1,"alternate"===d.direction&&h()):(d.paused=!0,d.completed||(d.completed=!0,y("loopComplete"),y("complete"),!d.passThrough&&"Promise"in window&&(l(),p(d)))))}return p(d),d.reset=function(){var t=d.direction;d.passThrough=!1,d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.loopBegan=!1,d.changeBegan=!1,d.completed=!1,d.changeCompleted=!1,d.reversePlayback=!1,d.reversed="reverse"===t,d.remaining=d.loop,n=d.children;for(var e=c=n.length;e--;)d.children[e].reset();(d.reversed&&!0!==d.loop||"alternate"===t&&1===d.loop)&&d.remaining++,v(d.reversed?d.duration:0)},d._onDocumentVisibility=g,d.set=function(t,e){return U(t,e),d},d.tick=function(t){a=t,o||(o=a),L((a+(r-o))*K.speed)},d.seek=function(t){L(f(t))},d.pause=function(){d.paused=!0,g()},d.play=function(){d.paused&&(d.completed&&d.reset(),d.paused=!1,Z.push(d),g(),Q())},d.reverse=function(){h(),d.completed=!d.reversed,g()},d.restart=function(){d.reset(),d.play()},d.remove=function(t){et(Y(t),d)},d.reset(),d.autoplay&&d.play(),d}function tt(t,e){for(var i=e.length;i--;)A(t,e[i].animatable.target)&&e.splice(i,1)}function et(t,e){var i=e.animations,n=e.children;tt(t,i);for(var o=n.length;o--;){var r=n[o],s=r.animations;tt(t,s),s.length||r.children.length||n.splice(o,1)}i.length||n.length||e.pause()}K.version="3.2.1",K.speed=1,K.suspendWhenDocumentHidden=!0,K.running=Z,K.remove=function(t){for(var e=Y(t),i=Z.length;i--;)et(e,Z[i])},K.get=P,K.set=U,K.convertPx=I,K.path=function(t,e){var i=u.str(t)?y(t)[0]:t,n=e||100;return function(t){return{property:t,el:i,svg:B(i),totalLength:j(i)*(n/100)}}},K.setDashoffset=function(t){var e=j(t);return t.setAttribute("stroke-dasharray",e),e},K.stagger=function(t,e){void 0===e&&(e={});var i=e.direction||"normal",n=e.easing?v(e.easing):null,o=e.grid,r=e.axis,s=e.from||0,a="first"===s,c="center"===s,l="last"===s,p=u.arr(t),d=p?parseFloat(t[0]):parseFloat(t),h=p?parseFloat(t[1]):0,f=E(p?t[1]:t)||0,g=e.start||0+(p?d:0),m=[],y=0;return function(t,e,u){if(a&&(s=0),c&&(s=(u-1)/2),l&&(s=u-1),!m.length){for(var v=0;v-1&&Z.splice(r,1);for(var c=0;cHIDE
';var i={toggle:e.querySelector(".toggle"),inner:e.querySelector(".inner")};i.toggle.addEventListener("click",(function(){"none"!==i.inner.style.display?(i.inner.style.display="none",e.style.height="auto",i.toggle.textContent="SHOW"):(i.inner.style.display="block",e.style.height="100%",i.toggle.textContent="HIDE")})),this.showDebug(),window.addEventListener("resize",(function(){!1!==t.rTimer.debug&&clearTimeout(Number(t.rTimer.debug)),t.rTimer.debug=window.setTimeout((function(){t.showDebug()}),500)})),window.addEventListener("scroll",(function(){!1!==t.rTimer.debug&&clearTimeout(Number(t.rTimer.debug)),t.rTimer.debug=window.setTimeout((function(){t.showDebug()}),500)}))}},t.prototype.showDebug=function(){var t="";for(var e in this)if("function"!=typeof this[e])if("qsParm"!==e)t+='
'.concat(e," : ").concat(this[e],"
");else for(var i in t+="qsParm : ",this[e])t+='
'.concat(i," : ").concat(this[e][i],"
");document.querySelector("#pDebug .inner").innerHTML=t},t.prototype.openBlank=function(t){window.open(t)},t.prototype.preloadImg=function(t){if(void 0===t&&(t=[]),t)for(var e=0;e0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0){var r=n.substring(0,o),s=n.substring(o+1);t[r]=s}}return t},t.prototype.setGETqs=function(){this.qsParm=this.getGETqs()},t.prototype.setWb=function(){if(this.ua=window.navigator.userAgent.toLowerCase(),this.isIE=this.ua.indexOf("msie")>=0||this.ua.indexOf("trident")>=0,this.isIE){var t=/(msie|rv:?)\s?([\d\.]+)/.exec(this.ua),e=t?t[2]:"";this.isIE6=0===e.indexOf("6.",0),this.isIE7=0===e.indexOf("7.",0),this.isIE8=0===e.indexOf("8.",0),this.isIE9=0===e.indexOf("9.",0),this.isIE10=0===e.indexOf("10.",0),this.isIE11=0===e.indexOf("11.",0)}this.isEdge=this.ua.indexOf("edge")>=0||this.ua.indexOf("edg")>=0},t.prototype.setWbVer=function(){this.ua.indexOf("firefox")>-1?this.browser_n="Firefox":this.ua.indexOf("opera")>-1?this.browser_n="Opera":this.ua.indexOf("chrome")>-1?this.browser_n="Chrome":this.ua.indexOf("safari")>-1?this.browser_n="Safari":this.browser_n="Unknown"},t.prototype.roImg=function(){var t=this,e=[];document.querySelectorAll("a > .roImg").forEach((function(i,n){var o=Date.now();i.addEventListener("mouseenter",(function(){if(!t.isRespMode){var n={src:"",srcDot:0,srcOver:""};n.src=i.src,n.srcDot=n.src.lastIndexOf("."),n.srcOver="".concat(n.src.substr(0,n.srcDot),"_on").concat(n.src.substr(n.srcDot,4)),e[o]=n.src,i.src=n.srcOver}})),i.addEventListener("mouseleave",(function(n){t.isRespMode||(i.src=e[o])}))}),this)},t.prototype.roOpa=function(){var t=this;document.querySelectorAll(".jqHover").forEach((function(e,i){e.addEventListener("mouseenter",(function(){t.isRespMode||it({targets:e,opacity:.7,duration:250})})),e.addEventListener("mouseleave",(function(){t.isRespMode||it({targets:e,opacity:1,duration:200})}))}))},t.prototype.sScroll=function(t,e,i,n,o){void 0===n&&(n='a[href*="#"].scroll, area[href*="#"].scroll'),document.querySelectorAll(n).forEach((function(n,r){n.addEventListener("click",(function(n){var r={anchor:"",anchorURL:"",current:"",currentURL:"",targetArray:[],target:""};if(r.anchor=n.currentTarget.href,r.anchorURL=r.anchor.split("#")[0],r.current=window.location.href,r.currentURL=r.current.split("#")[0],r.anchorURL===r.currentURL){n.preventDefault(),r.targetArray=r.anchor.split("#"),r.target=r.targetArray.pop();var s=t&&Number.isInteger(t)?t:0,a=e&&500!==e&&Number.isInteger(e)?e:500,c=i&&"cubicBezier(0.11, 0, 0.5, 0)"!==i?i:"cubicBezier(0.11, 0, 0.5, 0)",u=document.getElementById(r.target),l=!1!==o,p=u.getBoundingClientRect().top+window.pageYOffset+s;return it.remove("html, body"),it({targets:"html, body",scrollTop:p,duration:a,easing:c,update:function(){},complete:function(){var t=u.getBoundingClientRect().top+window.pageYOffset+s;p!==t&&it({targets:"html, body",scrollTop:t,duration:10,easing:"linear"}),l&&u.focus()}}),!1}}))}))},t.prototype.setRespMode=function(){this.wHeight=Number(document.documentElement.clientHeight),this.wWidth=Number(document.documentElement.clientWidth),this.wIWidth=Number(window.innerWidth),this.wIHeight=Number(window.innerHeight),this.isRespMode=this.wIWidththis.wIWidth?"portrait":"landscape",this.wIWidthCache!==this.wIWidth?(this.wIWidthCache=this.wIWidth,this.isChangeWIWidth=!0):this.isChangeWIWidth=!1,this.wIHeightCache!==this.wIHeight?(this.wIHeightCache=this.wIHeight,this.isChangeWIHeight=!0):this.isChangeWIHeight=!1,document.body.classList.add(this.viewOriMode)},t.prototype.setScrPos=function(){var t=window.scrollY||window.pageYOffset;this.scrMode=t<=this.scrTop?"up":"down",this.scrTop=t,this.scrLeft=window.scrollX||window.pageXOffset},t.prototype.pageTop=function(){var t=this,e=document.getElementById(this.pageTopElemID);e&&(!1!==this.rTimer.pagetop&&clearTimeout(Number(this.rTimer.pagetop)),this.rTimer.pagetop=window.setTimeout((function(){t.scrTop>=t.pageTopPoint?t.isPageTopShow||(t.isPageTopShow=!0,e.style.display="block",it({targets:e,opacity:1,duration:100})):t.isPageTopShow&&(t.isPageTopShow=!1,it({targets:e,opacity:0,duration:200,complete:function(){e.style.display="none"}}))}),100))},t.prototype.setMobile=function(){this.ua=window.navigator.userAgent.toLowerCase(),this.isiPhone=-1!=this.ua.indexOf("iphone"),this.isiPad=-1!=this.ua.indexOf("ipad")||-1!=this.ua.indexOf("macintosh")&&"ontouchend"in document,this.isiPod=-1!=this.ua.indexOf("ipod"),this.isAndroid=-1!=this.ua.indexOf("android")||-1!=this.ua.indexOf("android"),this.isMac=-1!=this.ua.indexOf("macintosh")||-1!=this.ua.indexOf("macintosh"),this.isWinPhone=-1!=this.ua.indexOf("windows phone"),this.isMobile=!!(this.isiPhone||this.isiPad||this.isiPod||this.isAndroid||this.isWinPhone)},t.prototype.toggleSPTel=function(){this.isRespMode?document.querySelectorAll(".spTel").forEach((function(t){var e=t.getAttribute("data-tel");if("A"!==t.parentNode.tagName){var i=document.createElement("a");t.before(i),i.append(t),i.href="tel:"+e}})):document.querySelectorAll(".spTel").forEach((function(t){var e=t.parentNode;"A"===e.tagName&&(e.before(t),e.remove())}))},t.printType=function(t){console.log("".concat(typeof t," ").concat(Object.prototype.toString.call(t)))},t}(),ot=function(){function t(t,e){var i=void 0===e?{}:e,n=i.type,o=void 0===n?"inner":n,r=i.plus,s=void 0===r?0:r,a=i.isResizeAuto,c=void 0===a||a,u=i.tag,l=void 0===u?"is-completeAdjustSize":u,p=i.onComplete,d=void 0!==p&&p;this.collection=document.querySelectorAll(t),this.rTimer,this.setHeight=0,this.count=0,this.length=this.collection.length,this.length||this.die(),this.options={type:o,plus:s,isResizeAuto:c,tag:l,onComplete:d},this.init()}return t.prototype.init=function(){var t=this;this.options.isResizeAuto&&window.addEventListener("resize",(function(){!1!==t.rTimer&&(clearTimeout(Number(t.rTimer)),t.rTimer=!1),t.rTimer=window.setTimeout((function(){t.reload()}),500)})),this.adjust()},t.prototype.adjust=function(){var t=this;this.collection.forEach((function(e,i){e.style.height="auto";var n=0,o=[],r=0;e.querySelectorAll("img").forEach((function(t){o.push(t.src)}));var s=Promise.resolve(),a=function(){n="inner"===t.options.type?e.clientHeight:e.offsetHeight,t.setHeight=n>t.setHeight?n:t.setHeight,s=s.then((function(){t.count++,t.count==t.length&&(t.collection.forEach((function(e,i){e.style.height=t.setHeight+t.options.plus+"px"})),document.body.classList.add(t.options.tag),"function"==typeof t.options.onComplete&&t.options.onComplete())}))};if(o.length)for(var c=Promise.resolve(),u=0;ue?(this.wHeight-e)/2:0;this.wWidth>i&&this.wWidth,this.scrTopTemp=this.scrTop,this.options.isUnlock||e>=this.wHeight&&document.body.classList.add("is-pOpenUnlock"),document.querySelector(t).style.top="".concat(n+this.scrTop,"px"),this.isRespMode&&this.options.isSpFixed&&(document.body.classList.add("is-pOpenFixed"),document.body.style.top="-".concat(this.scrTopTemp,"px"))}},t.prototype.setScrPos=function(){this.scrTop=window.scrollY||window.pageYOffset,this.scrLeft=window.scrollX||window.pageXOffset},t.prototype.setRespMode=function(){this.wHeight=Number(document.documentElement.clientHeight),this.wWidth=Number(document.documentElement.clientWidth),this.wIWidth=Number(window.innerWidth),this.wIHeight=Number(window.innerHeight),this.isRespMode=this.wIWidthNumber(document.documentElement.clientHeight)?.3:.2:p,h=i.isRepeat,f=void 0!==h&&h,g=this;this.time=Date.now(),this.options={translate:o,duration:s,delay:c,easing:l,per:d,isRepeat:f},this.flowAnime=[],this.isFlowDefault=!1,this.observer=new IntersectionObserver((function(t,e){t.forEach((function(t){var e=!!t.isIntersecting;g.run(g.flowAnime[t.target.getAttribute("data-flow-item")],e)}))}),{root:null,rootMargin:"0px 0px -".concat(window.innerHeight*this.options.per,"px"),threshold:0}),this.init(t)}return t.prototype.init=function(t){var e=this;document.querySelectorAll(t).forEach((function(t,i){var n={elem:t,mode:t.getAttribute("data-flow")||"up",target:t.children.length>1?t.children:t,isDone:!1,anime:null},o="".concat(e.time,"_").concat(i);switch(t.setAttribute("data-flow-item",o),t.classList.remove("is-finishedFlowAnime"),n.mode){case"down":n.anime=it({targets:n.target,translateY:-e.options.translate,opacity:0,duration:10});break;case"left":n.anime=it({targets:n.target,translateX:e.options.translate,opacity:0,duration:10});break;case"right":n.anime=it({targets:n.target,translateX:-e.options.translate,opacity:0,duration:10});break;case"leftdown":n.anime=it({targets:n.target,translateX:e.options.translate,translateY:-e.options.translate,opacity:0,duration:10});break;case"rightdown":n.anime=it({targets:n.target,translateX:-e.options.translate,translateY:-e.options.translate,opacity:0,duration:10});break;case"leftup":n.anime=it({targets:n.target,translateX:e.options.translate,translateY:e.options.translate,opacity:0,duration:10});break;case"rightup":n.anime=it({targets:n.target,translateX:-e.options.translate,translateY:e.options.translate,opacity:0,duration:10});break;case"zoom":n.anime=it({targets:n.target,scale:0,opacity:0,duration:10});break;case"away":n.anime=it({targets:n.target,opacity:0,duration:10});break;case"mark":var r=t.childElementCount>1?t.children:[t];Array.from(r).forEach((function(t,e){t.classList.remove("flowActive")}));break;default:n.anime=it({targets:n.target,translateY:e.options.translate,opacity:0,duration:10})}e.observer.observe(n.elem),e.flowAnime[o]=n}))},t.prototype.run=function(t,e){var i=this;if(!t.isDone)switch(e&&(t.elem.classList.contains("is-beganFlowAnime")||t.elem.classList.add("is-beganFlowAnime")),t.mode){case"down":e?(t.anime=it({targets:t.target,translateY:0,opacity:[0,1],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,translateY:-this.options.translate,opacity:[1,0],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"left":e?(t.anime=it({targets:t.target,translateX:0,opacity:[0,1],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,translateX:this.options.translate,opacity:[1,0],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"right":e?(t.anime=it({targets:t.target,translateX:0,opacity:[0,1],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,translateX:-this.options.translate,opacity:[1,0],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"leftdown":e?(t.anime=it({targets:t.target,translateX:0,translateY:0,opacity:[0,1],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,translateX:this.options.translate,translateY:-this.options.translate,opacity:[1,0],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"rightdown":e?(t.anime=it({targets:t.target,translateX:0,translateY:0,opacity:[0,1],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,translateX:-this.options.translate,translateY:-this.options.translate,opacity:[1,0],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"leftup":e?(t.anime=it({targets:t.target,translateX:0,translateY:0,opacity:[0,1],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,translateX:this.options.translate,translateY:this.options.translate,opacity:[1,0],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"rightup":e?(t.anime=it({targets:t.target,translateX:0,translateY:0,opacity:[0,1],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,translateX:-this.options.translate,translateY:this.options.translate,opacity:[1,0],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"zoom":e?(t.anime=it({targets:t.target,scale:[0,1],opacity:[0,1],duration:this.options.duration,easing:"spring",delay:it.stagger(this.options.delay),complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,scale:[1,0],opacity:[1,0],duration:this.options.duration,easing:"spring",delay:it.stagger(this.options.delay),complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"away":e?(t.anime=it({targets:t.target,opacity:[0,1],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0)):t.anime=it({targets:t.target,opacity:[1,0],duration:this.options.duration,delay:it.stagger(this.options.delay),easing:this.options.easing,complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}});break;case"mark":var n=t.elem.childElementCount>1?t.elem.children:[t.elem];e?(Array.from(n).forEach((function(t,e){setTimeout((function(){t.classList.add("flowActive")}),e*i.options.delay)})),this.options.isRepeat||(t.isDone=!0)):Array.from(n).forEach((function(t,e){t.classList.remove("flowActive")}));break;default:if(e)t.anime=it({targets:t.target,translateY:0,opacity:[0,1],duration:this.options.duration,easing:this.options.easing,delay:it.stagger(this.options.delay),complete:function(){t.elem.classList.add("is-finishedFlowAnime")}}),this.options.isRepeat||(t.isDone=!0);else{if(!t.elem.classList.contains("is-beganFlowAnime"))return;t.anime=it({targets:t.target,translateY:this.options.translate,opacity:[1,0],duration:this.options.duration,easing:this.options.easing,delay:it.stagger(this.options.delay),complete:function(){t.elem.classList.remove("is-finishedFlowAnime")}})}}},t.prototype.destroy=function(){},t}(),ct=function(){function t(t,e){var i=void 0===e?{}:e,n=i.isAuto,o=void 0===n||n,r=i.isLoop,s=void 0===r||r,a=i.isChangeOpacity,c=void 0===a||a,u=i.pause,l=void 0===u?5e3:u,p=i.speed,d=void 0===p?500:p,h=i.easing,f=void 0===h?"cubicBezier(0.33, 1, 0.68, 1)":h,g=i.ctrl,m=void 0!==g&&g,v=i.pager,y=void 0!==v&&v,b=i.wrapper,w=void 0===b?document.querySelector(t).parentNode:b,L=i.activeIndexInt,A=void 0===L?52:L,x=i.oldIndexInt,S=void 0===x?51:x,C=i.etcIndexInt,E=void 0===C?50:C,T=i.onSliderLoad,O=void 0!==T&&T,I=i.onSlideBefore,M=void 0!==I&&I,k=i.onSlideAfter,q=void 0!==k&&k;this.time=Date.now(),this.elem=document.querySelector(t),this.current=0,this.count=0,this.isAllowSlide=!1,this.rTimer=!1,this.pagerEvent=[],this.options={isAuto:o,isLoop:s,isChangeOpacity:c,pause:l,speed:d,easing:f,ctrl:m,pager:y,wrapper:w,activeIndexInt:A,oldIndexInt:S,etcIndexInt:E,onSliderLoad:O,onSlideBefore:M,onSlideAfter:q},this.init()}return t.prototype.init=function(){var t,e=this;if(this.options.pause\n
\n
\n '),this.options.wrapper.querySelector(".fs-ctrls-direction").insertAdjacentHTML("beforeend",'\n \n \n '),this.pagerEvent.prev=this.options.wrapper.querySelector(".fs-prev").addEventListener("click",(function(t){e.isAllowSlide&&e.change(e.getPrevSlide())})),this.pagerEvent.next=this.options.wrapper.querySelector(".fs-next").addEventListener("click",(function(t){e.isAllowSlide&&e.change(e.getNextSlide())}))),this.options.pager){this.options.wrapper.insertAdjacentHTML("beforeend",'
');for(var i=0;i\n \n
\n "));null===(t=this.options.wrapper.querySelectorAll(".fs-pager-item")[this.current])||void 0===t||t.querySelector("button").classList.add("is-active"),this.pagerEvent.pager=this.options.wrapper.querySelectorAll(".fs-pager-item button").forEach((function(t,i){t.addEventListener("click",(function(t){if(e.isAllowSlide){var i=t.target.getAttribute("data-index");e.change(Number(i))}}))}))}this.isAllowSlide=!0,this.slideAuto(),"function"==typeof this.options.onSliderLoad&&this.options.onSliderLoad()},t.prototype.change=function(t){var e=this;if(clearTimeout(Number(this.rTimer)),this.isAllowSlide&&!1!==t){this.isAllowSlide=!1;var i=this.current,n=Number(t)>=0?Number(t):this.current!==this.count-1?this.current+1:0;this.current=n===this.count?0:n,"function"==typeof this.options.onSlideBefore&&this.options.onSlideBefore(i,n),this.options.pager&&this.togglePager(),Array.from(this.elem.children).forEach((function(t,e){t.classList.remove("slide-old","slide-active")})),Array.from(this.elem.children).forEach((function(t,i){t.style.zIndex=String(e.options.etcIndexInt)})),Array.from(this.elem.children).forEach((function(t,n){n===i&&(t.style.zIndex=String(e.options.oldIndexInt),t.classList.add("slide-old"))})),Array.from(this.elem.children).forEach((function(t,n){n===e.current&&(t.style.zIndex=String(e.options.activeIndexInt),t.classList.add("slide-active"),e.options.isChangeOpacity?it({targets:t,opacity:1,duration:e.options.speed,easing:e.options.easing,complete:function(){"function"==typeof e.options.onSlideAfter&&e.options.onSlideAfter(i,e.current),Array.from(e.elem.children).forEach((function(t,i){i!==e.current&&(t.style.opacity="0")})),e.isAllowSlide=!0,(e.options.isLoop||e.current!==e.count-1)&&e.slideAuto()}}):it({targets:t,duration:e.options.speed,easing:e.options.easing,complete:function(){"function"==typeof e.options.onSlideAfter&&e.options.onSlideAfter(i,e.current),e.isAllowSlide=!0,(e.options.isLoop||e.current!==e.count-1)&&e.slideAuto()}}))}))}},t.prototype.togglePager=function(){var t;this.options.wrapper.querySelectorAll(".fs-pager-item button").forEach((function(t){t.classList.remove("is-active")})),null===(t=this.options.wrapper.querySelectorAll(".fs-pager-item")[this.current])||void 0===t||t.querySelector("button").classList.add("is-active")},t.prototype.slideAuto=function(){this.isAllowSlide&&this.options.isAuto&&this.startSlideAuto()},t.prototype.startSlideAuto=function(){var t=this;this.isAllowSlide=this.options.isAuto=!0,this.rTimer=window.setTimeout((function(){t.change()}),this.options.pause)},t.prototype.stopAuto=function(){clearTimeout(Number(this.rTimer)),this.options.isAuto=!1},t.prototype.getNextSlide=function(){return this.options.isLoop?this.current===this.count-1?0:this.current+1:this.current!==this.count-1&&this.current+1},t.prototype.getPrevSlide=function(){return this.options.isLoop?0===this.current?this.count-1:this.current-1:0!==this.current&&this.current-1},t.prototype.updateParams=function(t){for(var e in t)this.options[e]=t[e]},t.prototype.getParams=function(){return this},t.prototype.reset=function(){this.current=this.count-1,this.change(0)},t.prototype.destroy=function(){clearTimeout(Number(this.rTimer));for(var t=0,e=this.pagerEvent;t1&&(this.options.rootCount?(1===this.options.rootCount&&(this.options.slideCount=1),"vertical"===this.options.mode?(this.elem.outerHTML='
'.concat(this.elem.outerHTML,"
"),this.elem=document.querySelector(this.selector),this.container=this.elem.closest(".sliderContainer"),Object.assign(this.container.style,{overflow:"hidden",height:"".concat(this.options.wrapperHeight,"px")}),this.itemHeight=Math.floor(this.container.clientHeight/Number(this.options.rootCount))):this.itemWidth=Math.floor(this.options.wrapper.clientWidth/Number(this.options.rootCount))):(this.options.rootCount=1,"vertical"===this.options.mode?(this.elem.outerHTML='
'.concat(this.elem.outerHTML,"
"),this.elem=document.querySelector(this.selector),this.container=this.elem.closest(".sliderContainer"),this.container.style.height="".concat(this.options.wrapperHeight,"px"),this.itemHeight=this.options.wrapper.clientHeight):this.itemWidth=this.options.wrapper.clientWidth),this.options.isLoop&&1!==this.options.slideCount&&(this.options.slideCount=Number(this.options.rootCount)),Array.from(this.elem.children).forEach((function(t){"vertical"===e.options.mode?t.style.height="".concat(e.itemHeight,"px"):t.style.width="".concat(e.itemWidth,"px")})),this.itemLength>this.options.rootCount)){if("vertical"!==this.options.mode&&(this.elem.outerHTML='
'.concat(this.elem.outerHTML,"
"),this.elem=document.querySelector(this.selector),this.container=this.elem.closest(".sliderContainer"),Object.assign(this.container.style,{overflow:"hidden"})),"vertical"===this.options.mode?this.elem.style.height="".concat(this.itemHeight*this.itemLengthOrg,"px"):this.elem.style.width="".concat(this.itemWidth*this.itemLengthOrg,"px"),this.pageLength=1!==this.options.slideCount?Math.ceil(this.itemLength/Number(this.options.rootCount)):this.itemLength,this.options.isLoop){for(var i=this.elem.innerHTML,n=0;n\n
\n
\n '),this.options.wrapper.querySelector(".ss-ctrls-direction").insertAdjacentHTML("beforeend",'\n \n \n '),this.prevBtn=this.options.wrapper.querySelector(".ss-prev"),this.nextBtn=this.options.wrapper.querySelector(".ss-next"),this.pagerEvent.prev=this.prevBtn.addEventListener("click",(function(t){e.isAllowSlide&&(t.target.classList.contains("is-disabled")||e.slide(e.getPrevSlide()))}),!1),this.pagerEvent.next=this.nextBtn.addEventListener("click",(function(t){e.isAllowSlide&&(t.target.classList.contains("is-disabled")||e.slide(e.getNextSlide()))}),!1)),this.options.pager){for(this.options.wrapper.insertAdjacentHTML("beforeend",'
'),n=0;n\n \n
\n "));null===(t=this.options.wrapper.querySelectorAll(".ss-pager-item")[this.current])||void 0===t||t.querySelector("button").classList.add("is-active"),this.pagerEvent.pager=this.options.wrapper.querySelectorAll(".ss-pager-item button").forEach((function(t,i){t.addEventListener("click",(function(t){if(e.isAllowSlide&&!t.target.classList.contains("is-active")){var i,n=t.target.getAttribute("data-index"),o=(i=Number(n)*e.options.slideCount,e.options.isLoop?i:i+Number(e.options.rootCount)>e.itemLengthOrg?e.current+e.getRemainder()-Number(e.options.rootCount):i);e.slide(o)}}))}))}this.elem.addEventListener("touchmove",(function(t){t.preventDefault(),e.moveX=t.changedTouches[0].pageX,e.moveY=t.changedTouches[0].pageY})),this.elem.addEventListener("touchstart",(function(t){t.preventDefault(),e.startX=t.touches[0].pageX,e.moveX=0,e.startY=t.touches[0].pageY,e.moveY=0})),this.elem.addEventListener("touchend",(function(t){var i,n;if(t.preventDefault(),"vertical"===e.options.mode)if(0===e.moveY)null===(i=t.target)||void 0===i||i.click();else{if(e.startY+e.options.thresholde.moveY+e.options.threshold){if(!e.isAllowSlide)return;if(!e.options.isLoop&&e.remainder<=e.options.rootCount)return;e.slide(e.getNextSlide())}}else if(0===e.moveX)null===(n=t.target)||void 0===n||n.click();else{if(e.startX+e.options.thresholde.moveX+e.options.threshold){if(!e.isAllowSlide)return;if(!e.options.isLoop&&e.remainder<=e.options.rootCount)return;e.slide(e.getNextSlide())}}}))}this.isAllowSlide=!0,this.slide(this.current),this.slideAuto(),"function"==typeof this.options.onSliderLoad&&this.options.onSliderLoad(this)}},t.prototype.slide=function(t){var e=this;if(clearTimeout(Number(this.rTimer)),this.isAllowSlide&&!1!==t){this.isAllowSlide=!1,"function"==typeof this.options.onSlideBefore&&this.options.onSlideBefore(this.current,this.realCurrent),this.oldIndex=t!==this.realCurrent?this.realCurrent:null,this.current=Number(t),this.options.isLoop?this.options.rootCount<=1?this.realCurrent=this.current+this.pageLength:this.realCurrent=this.current+this.itemLengthOrg:this.realCurrent=this.current,this.remainder=this.getRemainder();var i=function(){var t;e.options.pager&&e.togglePager(),e.options.ctrl&&e.toggleCtrls(),Array.from(e.elem.children).forEach((function(t,e){t.classList.remove("slide-old","slide-active")})),e.elem.children[e.realCurrent].classList.add("slide-active"),null===(t=e.elem.children[e.oldIndex+e.pageLength])||void 0===t||t.classList.add("slide-old"),e.isAllowSlide=!0,(e.options.isLoop||e.current!==e.pageLength-1)&&e.slideAuto()};"vertical"===this.options.mode?it({targets:this.elem,translateY:function(){return e.realCurrent>e.oldIndex?"-=".concat(e.itemHeight*(e.realCurrent-e.oldIndex),"px"):"+=".concat(e.itemHeight*(e.oldIndex-e.realCurrent),"px")},easing:this.options.easing,duration:this.options.speed,complete:function(){e.options.isLoop&&(e.options.rootCount<=1?(e.current>=e.pageLength?(e.elem.style.transform="translateY(-".concat(e.itemHeight*e.itemLengthOrg,"px)"),e.current=0):e.current<0&&(e.elem.style.transform="translateY(-".concat(e.itemHeight*(e.itemLengthOrg+(e.pageLength-1)),"px)"),e.current=e.pageLength-1),e.realCurrent=e.current+e.pageLength):(e.current>e.itemLengthOrg-1?(e.elem.style.transform="translateY(-".concat(e.itemHeight*e.itemLengthOrg,"px)"),e.current=0):e.current<0&&(1===e.options.rootCount?e.elem.style.transform="translateY(-".concat(e.itemHeight*(e.itemLengthOrg+e.pageLength),"px)"):e.elem.style.transform="translateY(-".concat(e.itemHeight*(e.itemLengthOrg+e.pageLength*Number(e.options.rootCount)-Number(e.options.rootCount)),"px)"),e.current=e.itemLengthOrg-Number(e.options.rootCount)),e.realCurrent=e.current+e.itemLengthOrg),e.oldIndex=e.oldIndex-e.pageLength),"function"==typeof e.options.onSlideAfter&&e.options.onSlideAfter(e.current,e.realCurrent),i()}}):it({targets:this.elem,translateX:function(){return e.realCurrent>e.oldIndex?"-=".concat(e.itemWidth*(e.realCurrent-e.oldIndex),"px"):"+=".concat(e.itemWidth*(e.oldIndex-e.realCurrent),"px")},easing:this.options.easing,duration:this.options.speed,complete:function(){e.options.isLoop&&(e.options.rootCount<=1?(e.current>=e.pageLength?(e.elem.style.transform="translateX(-".concat(e.itemWidth*e.itemLengthOrg,"px)"),e.current=0):e.current<0&&(e.elem.style.transform="translateX(-".concat(e.itemWidth*(e.itemLengthOrg+(e.pageLength-1)),"px)"),e.current=e.pageLength-1),e.realCurrent=e.current+e.pageLength):(e.current>e.itemLengthOrg-1?(e.elem.style.transform="translateX(-".concat(e.itemWidth*e.itemLengthOrg,"px)"),e.current=0):e.current<0&&(1===e.options.rootCount?e.elem.style.transform="translateX(-".concat(e.itemWidth*(e.itemLengthOrg+e.pageLength),"px)"):e.elem.style.transform="translateX(-".concat(e.itemWidth*(e.itemLengthOrg+e.pageLength*Number(e.options.rootCount)-Number(e.options.rootCount)),"px)"),e.current=e.itemLengthOrg-Number(e.options.rootCount)),e.realCurrent=e.current+e.itemLengthOrg),e.oldIndex=e.oldIndex-e.pageLength),"function"==typeof e.options.onSlideAfter&&e.options.onSlideAfter(e.current,e.realCurrent),i()}})}},t.prototype.togglePager=function(){var t;this.options.wrapper.querySelectorAll(".ss-pager-item button").forEach((function(t){t.classList.remove("is-active")}));var e=1!==this.options.slideCount?Math.ceil(this.current/Number(this.options.rootCount)):this.current;null===(t=this.options.wrapper.querySelectorAll(".ss-pager-item")[e])||void 0===t||t.querySelector("button").classList.add("is-active")},t.prototype.toggleCtrls=function(){!this.options.isLoop&&this.options.ctrl&&(this.prevBtn.classList.remove("is-disabled"),this.nextBtn.classList.remove("is-disabled"),this.prevBtn.disabled=!1,this.nextBtn.disabled=!1,0===this.current&&(this.prevBtn.classList.add("is-disabled"),this.prevBtn.disabled=!0),this.itemLengthOrg-this.current<=this.options.rootCount&&(this.nextBtn.classList.add("is-disabled"),this.nextBtn.disabled=!0))},t.prototype.slideAuto=function(){this.isAllowSlide&&this.options.isAuto&&this.startSlideAuto()},t.prototype.startSlideAuto=function(){var t=this;this.isAllowSlide=this.options.isAuto=!0,this.rTimer=window.setTimeout((function(){t.slide(t.getNextSlide())}),this.options.pause)},t.prototype.stopAuto=function(){clearTimeout(Number(this.rTimer)),this.options.isAuto=!1},t.prototype.getNextSlide=function(){return this.options.isLoop?this.itemLengthOrg%Number(this.options.rootCount)&&0!==this.current&&this.remainder<=this.options.rootCount?0:this.current+this.options.slideCount:this.current!==this.itemLength-1&&(this.remainder-this.options.slideCountthis.itemLengthOrg?0:this.current-this.options.slideCount)},t.prototype.getRemainder=function(){var t=this.itemLengthOrg-this.current;return t<0?this.itemLengthOrg:t},t.prototype.updateParams=function(t){for(var e in t)this.options[e]=t[e]},t.prototype.getParams=function(){return this},t.prototype.reset=function(){this.current=this.itemLength-1,this.slide(0)},t.prototype.destroy=function(){clearTimeout(Number(this.rTimer));for(var t=0,e=this.pagerEvent;t
';var e={toggle:t.querySelector(".toggle"),inner:t.querySelector(".inner")};e.toggle.addEventListener("click",(function(){"none"!==e.inner.style.display?(e.inner.style.display="none",t.style.height="auto",e.toggle.textContent="SHOW"):(e.inner.style.display="block",t.style.height="100%",e.toggle.textContent="HIDE")})),this.showDebug(t.id)}},t.prototype.showDebug=function(t){var e="";for(var i in this)if("function"!=typeof this[i])if("options"!==i)e+='
'.concat(i," : ").concat(this[i],"
");else for(var n in e+="options : ",this[i])e+='
'.concat(n," : ").concat(this[i][n],"
");document.querySelector("#".concat(t," .inner")).innerHTML=e,this.runDebugAuto(t)},t.prototype.runDebugAuto=function(t){var e=this;this.debugTimer=window.setTimeout((function(){e.showDebug(t)}),500)},t}(),lt=function(){function t(t,e){void 0===t&&(t=".accVox");var i,n=void 0===e?{}:e,o=n.openClassName,r=void 0===o?"is-open":o,s=n.changeDisplay,a=void 0===s?"block":s,c=n.speed,u=void 0===c?400:c,l=n.easing,p=void 0===l?"easeOutCubic":l,d=n.parentContainer,h=void 0===d?null===(i=document.querySelector(t))||void 0===i?void 0:i.parentElement:d,f=n.isAutoClose,g=void 0!==f&&f,m=n.onCloseAfter,v=void 0!==m&&m,y=n.onOpenAfter,b=void 0!==y&&y,w=n.onComplete,L=void 0!==w&&w;this.accParams={},this.collection=document.querySelectorAll(t),this.selector=t,this.options={openClassName:r,changeDisplay:a,speed:u,easing:p,parentContainer:h,isAutoClose:g,onCloseAfter:v,onOpenAfter:b,onComplete:L},this.init()}return t.prototype.init=function(){var t=this;this.collection.length&&this.collection.forEach((function(e,i){var n,o=(new Date).getTime(),r={wrap:e,opener:e.querySelector(".opener"),body:e.querySelector(".accContent"),height:0,isAllowChange:!1,id:(n=parseInt("".concat(o).concat(i)),"accItem_".concat(n))};t.accParams[r.id]=r,e.id=r.id,r.height=r.body.offsetHeight,it({targets:r.body,height:0,duration:1,complete:function(){r.isAllowChange=!0,Object.assign(r.body.style,{display:"none",overflow:"hidden"}),document.body.classList.add("is-allowChangeAcc")}}),r.wrap.classList.remove(t.options.openClassName),r.opener.setAttribute("aria-expanded","false"),r.opener.setAttribute("aria-controls","".concat(r.id,"_body")),r.body.setAttribute("aria-hidden","true"),r.body.id="".concat(r.id,"_body"),r.opener.addEventListener("click",(function(e){r.isAllowChange&&(r.isAllowChange=!1,r.body.style.display===t.options.changeDisplay?t.close(r.id):(t.open(r.id),t.options.isAutoClose&&t.options.parentContainer.querySelectorAll(t.selector).forEach((function(e,i){e.id!==r.id&&t.close(e.id)}))))})),i+1>=t.collection.length&&"function"==typeof t.options.onComplete&&t.options.onComplete()}))},t.prototype.open=function(t){var e=this,i=this.accParams[t];i.wrap.classList.add(this.options.openClassName),Object.assign(i.body.style,{display:this.options.changeDisplay,visibility:"hidden",position:"absolute",height:"auto"}),Object.assign(i.body.style,{visibility:"visible",position:"static",height:"0px"}),it({targets:i.body,height:[0,i.height],duration:this.options.speed,easing:this.options.easing,complete:function(){i.body.style.height="auto",i.body.setAttribute("aria-hidden","false"),i.opener.setAttribute("aria-expanded","true"),i.height=i.body.clientHeight,i.isAllowChange=!0,"function"==typeof e.options.onOpenAfter&&e.options.onOpenAfter(i.id)}})},t.prototype.close=function(t){var e=this,i=this.accParams[t];i.wrap.classList.remove(this.options.openClassName),i.body.style.removeProperty("height"),it({targets:i.body,height:0,duration:this.options.speed,easing:this.options.easing,complete:function(){i.isAllowChange=!0,i.body.style.display="none",i.body.setAttribute("aria-hidden","true"),i.opener.setAttribute("aria-expanded","false"),"function"==typeof e.options.onCloseAfter&&e.options.onCloseAfter(i.id)}})},t}(),pt=function(){function t(){this.raw="",this.cParam=[],this.update()}return t.prototype.update=function(){var t=this;this.raw=document.cookie,this.cParam=[],this.raw.split(";").forEach((function(e,i){var n=e.split("=");t.cParam.push({key:n[0],value:n[1]})}))},t.prototype.getRaw=function(){return this.raw},t.prototype.get=function(t){var e=this.cParam.filter((function(e){return e.key.trim()===t}));return!!e.length&&e[0].value},t.prototype.delete=function(t){var e=this.get(t),i=document.cookie="".concat(t,"=").concat(encodeURIComponent(e),";max-age=0");return this.update(),!!i},t.prototype.set=function(t,e,i){if(void 0===i&&(i={}),!t||!e)return!1;var n="".concat(t,"=").concat(encodeURIComponent(e),";");Object.keys(i).length&&Object.keys(i).forEach((function(t){n+=" ".concat(t,"=").concat(i[t],";")}));var o=document.cookie=n;return this.update(),!!o},t}(),dt=function(){function t(t,e){void 0===t&&(t=".rplSPImg");var i=void 0===e?{}:e,n=i.pcName,o=void 0===n?"PC_":n,r=i.spName,s=void 0===r?"SP_":r,a=i.spBreakPoint,c=void 0===a?768:a,u=this;this.collection=document.querySelectorAll(t),this.options={pcName:o,spName:s,spBreakPoint:c},this.wHeight=0,this.wWidth=0,this.wIWidth=0,this.wIHeight=0,this.isRespMode=!1,this.setEventAdjust=function(){return u.adjust()},this.init()}return t.prototype.init=function(){window.addEventListener("load",this.setEventAdjust),window.addEventListener("resize",this.setEventAdjust)},t.prototype.adjust=function(){var t=this;return this.setRespMode(),this.collection.forEach((function(e,i){t.isRespMode?e.src=e.src.replace(t.options.pcName,t.options.spName):e.src=e.src.replace(t.options.spName,t.options.pcName)}))},t.prototype.destroy=function(){window.removeEventListener("laod",this.setEventAdjust),window.removeEventListener("resize",this.setEventAdjust)},t.prototype.setRespMode=function(){this.wHeight=Number(document.documentElement.clientHeight),this.wWidth=Number(document.documentElement.clientWidth),this.wIWidth=Number(window.innerWidth),this.wIHeight=Number(window.innerHeight),this.isRespMode=this.wIWidth0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]
')}document.querySelector(t.options.elem).insertAdjacentHTML("beforeend",i)}t.options.onComplete&&"function"==typeof t.options.onComplete&&t.options.onComplete(e)}}))];case 1:return e.sent(),[2]}}))},new((i=void 0)||(i=Promise))((function(o,r){function s(t){try{c(n.next(t))}catch(t){r(t)}}function a(t){try{c(n.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(s,a)}c((n=n.apply(t,e||[])).next())}));var t,e,i,n},t.prototype.destroy=function(){document.querySelector(this.options.elem).innerHTML=""},t.prototype.die=function(){return this.destroy(),!1},t}()}(),r}()}));