PageSourceSearch

https://assets.faradeed.ir/_v2/lib/js/frameworks.min.js?v=4ce8d3e0

js faradeed.ir collected 2026-10-02 12:03:57 UTC 64,128 bytes, 56 lines download raw bytes

vendor: 4,171 bytes, lines 1-2
1/*! AASAAM Front Team, Generate at: 2026-08-01T11:20:01.071Z */
2(function(){"use strict";var S={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function k(p){return W(g(p),arguments)}function ie(p,q){return k.apply(null,[p].concat(q||[]))}function W(p,q){var J=1,de=p.length,L,E="",I,y,l,Z,ae,ce,le,oe;for(I=0;I<de;I++)if(typeof p[I]=="string")E+=p[I];else if(typeof p[I]=="object"){if(l=p[I],l.keys)for(L=q[J],y=0;y<l.keys.length;y++){if(L==null)throw new Error(k('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[y],l.keys[y-1]));L=L[l.keys[y]]}else l.param_no?L=q[l.param_no]:L=q[J++];if(S.not_type.test(l.type)&&S.not_primitive.test(l.type)&&L instanceof Function&&(L=L()),S.numeric_arg.test(l.type)&&typeof L!="number"&&isNaN(L))throw new TypeError(k("[sprintf] expecting number but found %T",L));switch(S.number.test(l.type)&&(le=L>=0),l.type){case"b":L=parseInt(L,10).toString(2);break;case"c":L=String.fromCharCode(parseInt(L,10));break;case"d":case"i":L=parseInt(L,10);break;case"j":L=JSON.stringify(L,null,l.width?parseInt(l.width):0);break;case"e":L=l.precision?parseFloat(L).toExponential(l.precision):parseFloat(L).toExponential();break;case"f":L=l.precision?parseFloat(L).toFixed(l.precision):parseFloat(L);break;case"g":L=l.precision?String(Number(L.toPrecision(l.precision))):parseFloat(L);break;case"o":L=(parseInt(L,10)>>>0).toString(8);break;case"s":L=String(L),L=l.precision?L.substring(0,l.precision):L;break;case"t":L=String(!!L),L=l.precision?L.substring(0,l.precision):L;break;case"T":L=Object.prototype.toString.call(L).slice(8,-1).toLowerCase(),L=l.precision?L.substring(0,l.precision):L;break;case"u":L=parseInt(L,10)>>>0;break;case"v":L=L.valueOf(),L=l.precision?L.substring(0,l.precision):L;break;case"x":L=(parseInt(L,10)>>>0).toString(16);break;case"X":L=(parseInt(L,10)>>>0).toString(16).toUpperCase();break}S.json.test(l.type)?E+=L:(S.number.test(l.type)&&(!le||l.sign)?(oe=le?"+":"-",L=L.toString().replace(S.sign,"")):oe="",ae=l.pad_char?l.pad_char==="0"?"0":l.pad_char.charAt(1):" ",ce=l.width-(oe+L).length,Z=l.width&&ce>0?ae.repeat(ce):"",E+=l.align?oe+L+Z:ae==="0"?oe+Z+L:Z+oe+L)}return E}var x=Object.create(null);function g(p){if(x[p])return x[p];for(var q=p,J,de=[],L=0;q;){if((J=S.text.exec(q))!==null)de.push(J[0]);else if((J=S.modulo.exec(q))!==null)de.push("%");else if((J=S.placeholder.exec(q))!==null){if(J[2]){L|=1;var E=[],I=J[2],y=[];if((y=S.key.exec(I))!==null)for(E.push(y[1]);(I=I.substring(y[0].length))!=="";)if((y=S.key_access.exec(I))!==null)E.push(y[1]);else if((y=S.index_access.exec(I))!==null)E.push(y[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");J[2]=E}else L|=2;if(L===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");de.push({placeholder:J[0],param_no:J[1],keys:J[2],sign:J[3],pad_char:J[4],align:J[5],width:J[6],precision:J[7],type:J[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");q=q.substring(J[0].length)}return x[p]=de}typeof exports!="undefined"&&(exports.sprintf=k,exports.vsprintf=ie),typeof window!="undefined"&&(window.sprintf=k,window.vsprintf=ie,typeof define=="function"&&define.amd&&define(function(){return{sprintf:k,vsprintf:ie}}))})();function r(S,k){for(var ie=0;ie<k.length;ie++){var W=k[ie];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(S,W.key,W)}}function Jt(S,k,ie){k&&r(S.prototype,k),ie&&r(S,ie),Object.defineProperty(S,"prototype",{writable:!1})}var n,t;n=this,t=function(){"use strict";var S="(prefers-reduced-motion: reduce)",k=4,ie=5,W={CREATED:1,MOUNTED:2,IDLE:3,MOVING:k,SCROLLING:ie,DRAGGING:6,DESTROYED:7};function x(e){e.length=0}function g(e,o,i){return Array.prototype.slice.call(e,o,i)}
vendor: 6,352 bytes, line 2
2function p(e){return e.bind.apply(e,[null].concat(g(arguments,1)))}function q(){}var J=setTimeout;function de(e){return requestAnimationFrame(e)}function L(e,o){return typeof o===e}function E(e){return!ae(e)&&L("object",e)}var I=Array.isArray,y=p(L,"function"),l=p(L,"string"),Z=p(L,"undefined");function ae(e){return e===null}function ce(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(o){return!1}}function le(e){return I(e)?e:[e]}function oe(e,o){le(e).forEach(o)}function he(e,o){return-1<e.indexOf(o)}function s(e,o){return e.push.apply(e,le(o)),e}function m(e,o,i){e&&oe(o,function(a){a&&e.classList[i?"add":"remove"](a)})}function X(e,o){m(e,l(o)?o.split(" "):o,!0)}function ne(e,o){oe(o,e.appendChild.bind(e))}function pe(e,o){oe(e,function(i){var a=(o||i).parentNode;a&&a.insertBefore(i,o)})}function be(e,o){return ce(e)&&(e.msMatchesSelector||e.matches).call(e,o)}function Ce(e,o){return e=e?g(e.children):[],o?e.filter(function(i){return be(i,o)}):e}function Re(e,o){return o?Ce(e,o)[0]:e.firstElementChild}var fe=Object.keys;function d(e,o,i){e&&(i?fe(e).reverse():fe(e)).forEach(function(a){a!=="__proto__"&&o(e[a],a)})}function O(e){return g(arguments,1).forEach(function(o){d(o,function(i,a){e[a]=o[a]})}),e}function u(e){return g(arguments,1).forEach(function(o){d(o,function(i,a){I(i)?e[a]=i.slice():E(i)?e[a]=u({},E(e[a])?e[a]:{},i):e[a]=i})}),e}function F(e,o){oe(o||fe(e),function(i){delete e[i]})}function V(e,o){oe(e,function(i){oe(o,function(a){i&&i.removeAttribute(a)})})}function U(e,o,i){E(o)?d(o,function(a,c){U(e,c,a)}):oe(e,function(a){ae(i)||i===""?V(a,o):a.setAttribute(o,String(i))})}function me(e,o,i){return e=document.createElement(e),o&&(l(o)?X:U)(e,o),i&&ne(i,e),e}function Se(e,o,i){if(Z(i))return getComputedStyle(e)[o];ae(i)||(e.style[o]=""+i)}function xe(e,o){Se(e,"display",o)}function qe(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function Pe(e,o){return e.getAttribute(o)}function Ze(e,o){return e&&e.classList.contains(o)}function Te(e){return e.getBoundingClientRect()}function Je(e){oe(e,function(o){o&&o.parentNode&&o.parentNode.removeChild(o)})}function Me(e){return Re(new DOMParser().parseFromString(e,"text/html").body)}function He(e,o){e.preventDefault(),o&&(e.stopPropagation(),e.stopImmediatePropagation())}function yt(e,o){return e&&e.querySelector(o)}function ut(e,o){return o?g(e.querySelectorAll(o)):[]}function ze(e,o){m(e,o,!1)}function Ye(e){return e.timeStamp}function Qe(e){return l(e)?e:e?e+"px":""}var ct="splide",Mt="data-"+ct;function lt(e,o){if(!e)throw new Error("["+ct+"] "+(o||""))}var Xe=Math.min,bt=Math.max,wt=Math.floor,ft=Math.ceil,je=Math.abs;function $t(e,o,i){return je(e-o)<i}function Lt(e,f,i,a){var c=Xe(f,i),f=bt(f,i);return a?c<e&&e<f:c<=e&&e<=f}function tt(e,c,i){var a=Xe(c,i),c=bt(c,i);return Xe(bt(a,e),c)}function Dt(e){return(0<e)-(e<0)}function Ct(e,o){return oe(o,function(i){e=e.replace("%s",""+i)}),e}function jt(e){return e<10?"0"+e:""+e}var Zt={};function Yt(){var e=[];function o(i,a,c){oe(i,function(f){f&&oe(a,function(w){w.split(" ").forEach(function(v){v=v.split("."),c(f,v[0],v[1])})})})}return{bind:function(i,a,c,f){o(i,a,function(w,v,P){var _="addEventListener"in w,T=_?w.removeEventListener.bind(w,v,c,f):w.removeListener.bind(w,c);_?w.addEventListener(v,c,f):w.addListener(c),e.push([w,v,P,c,T])})},unbind:function(i,a,c){o(i,a,function(f,w,v){e=e.filter(function(P){return!!(P[0]!==f||P[1]!==w||P[2]!==v||c&&P[3]!==c)||(P[4](),!1)})})},dispatch:function(i,a,c){var f;return typeof CustomEvent=="function"?f=new CustomEvent(a,{bubbles:!0,detail:c}):(f=document.createEvent("CustomEvent")).initCustomEvent(a,!0,!1,c),i.dispatchEvent(f),f},destroy:function(){e.forEach(function(i){i[4]()}),x(e)}}}var Ve="mounted",Ge="move",dt="moved",Qt="click",En="active",_n="inactive",Tn="visible",kn="hidden",Ee="refresh",Oe="updated",ht="resize",Ot="resized",Nt="scroll",nt="scrolled",Vt="destroy",Kt="navigation:mounted",en="autoplay:play",tn="autoplay:pause",nn="lazyload:loaded",rn="sk",an="sh";function ye(e){var o=e?e.event.bus:document.createDocumentFragment(),i=Yt();return e&&e.event.on(Vt,i.destroy),O(i,{bus:o,on:function(a,c){i.bind(o,le(a).join(" "),function(f){c.apply(c,I(f.detail)?f.detail:[])})},off:p(i.unbind,o),emit:function(a){i.dispatch(o,a,g(arguments,1))}})}function St(e,o,i,a){var c,f,w=Date.now,v=0,P=!0,_=0;function T(){if(!P){if(v=e?Xe((w()-c)/e,1):1,i&&i(v),1<=v&&(o(),c=w(),a&&++_>=a))return H();f=de(T)}}function H(){P=!0}function j(){f&&cancelAnimationFrame(f),P=!(f=v=0)}return{start:function(M){M||j(),c=w()-(M?v*e:0),P=!1,f=de(T)},rewind:function(){c=w(),v=0,i&&i(v)},pause:H,cancel:j,set:function(M){e=M},isPaused:function(){return P}}}function An(e){var o=e;return{set:function(i){o=i},is:function(i){return he(le(i),o)}}}var Ke="Arrow",Et=Ke+"Left",_t=Ke+"Right",rt=Ke+"Up",Ke=Ke+"Down",Tt="ttb",It={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[rt,_t],ArrowRight:[Ke,Et]},Ue="role",it="tabindex",we="aria-",pt=we+"controls",on=we+"current",sn=we+"selected",We=we+"label",Ft=we+"labelledby",un=we+"hidden",Rt=we+"orientation",gt=we+"roledescription",cn=we+"live",ln=we+"busy",fn=we+"atomic",Ht=[Ue,it,"disabled",pt,on,We,Ft,un,Rt,gt],we=ct+"__",zt=ct,dn=we+"track",xn=we+"list",kt=we+"slide",hn=kt+"--clone",Pn=kt+"__container",Wt=we+"arrows",At=we+"arrow",pn=At+"--prev",gn=At+"--next",xt=we+"pagination",vn=xt+"__page",Mn=we+"progress__bar",Dn=we+"toggle",Cn=we+"sr",et="is-active",mn="is-prev",yn="is-next",qt="is-visible",Ut="is-loading",bn="is-focus-in",wn="is-overflow",jn=[et,qt,mn,yn,Ut,bn,wn],Ln="touchstart mousedown",Xt="touchmove mousemove",Gt="touchend touchcancel mouseup click",at="slide",ot="loop",vt="fade";function On(e,o,i,a){var c,f=ye(e),w=f.on,v=f.emit,P=f.bind,_=e.Components,T=e.root,H=e.options,j=H.isNavigation,M=H.updateOnMove,z=H.i18n,N=H.pagination,h=H.slideFocus,b=_.Direction.resolve,Y=Pe(a,"style"),B=Pe(a,We),G=-1<i,D=Re(a,"."+Pn);function K(){var A=e.splides.map(function(C){return C=C.splide.Components.Slides.getAt(o),C?C.slide.id:""}).join(" ");U(a,We,Ct(z.slideX,(G?i:o)+1)),U(a,pt,A),U(a,Ue,h?"button":""),h&&V(a,gt)}function ue(){c||re()}function re(){var A,C,$;c||(A=e.index,($=ee())!==Ze(a,et)&&(m(a,et,$),U(a,on,j&&$||""),v($?En:_n,R)),$=(function(){if(e.is(vt))return ee();
2var se=Te(_.Elements.track),_e=Te(a),ve=b("left",!0),Fe=b("right",!0);return wt(se[ve])<=ft(_e[ve])&&wt(_e[Fe])<=ft(se[Fe])})(),C=!$&&(!ee()||G),e.state.is([k,ie])||U(a,un,C||""),U(ut(a,H.focusableNodes||""),it,C?-1:""),h&&U(a,it,C?-1:0),$!==Ze(a,qt)&&(m(a,qt,$),v($?Tn:kn,R)),$||document.activeElement!==a||(C=_.Slides.getAt(e.index))&&qe(C.slide),m(a,mn,o===A-1),m(a,yn,o===A+1))}function ee(){var A=e.index;return A===o||H.cloneStatus&&A===i}var R={index:o,slideIndex:i,slide:a,container:D,isClone:G,mount:function(){G||(a.id=T.id+"-slide"+jt(o+1),U(a,Ue,N?"tabpanel":"group"),U(a,gt,z.slide),U(a,We,B||Ct(z.slideLabel,[o+1,e.length]))),P(a,"click",p(v,Qt,R)),P(a,"keydown",p(v,rn,R)),w([dt,an,nt],re),w(Kt,K),M&&w(Ge,ue)},destroy:function(){c=!0,f.destroy(),ze(a,jn),V(a,Ht),U(a,"style",Y),U(a,We,B||"")},update:re,style:function(A,C,$){Se($&&D||a,A,C)},isWithin:function(A,C){return A=je(A-o),(A=G||!H.rewind&&!e.is(ot)?A:Xe(A,e.length-A))<=C}};return R}var Nn=Mt+"-interval",st={passive:!1,capture:!0},In={Spacebar:" ",Right:_t,Left:Et,Up:rt,Down:Ke};function Bt(e){return e=l(e)?e:e.key,In[e]||e}var Sn="keydown",mt=Mt+"-lazy",Pt=mt+"-srcset",Fn="["+mt+"], ["+Pt+"]",Rn=[" ","Enter"],Hn=Object.freeze({__proto__:null,Media:function(e,o,i){var a=e.state,c=i.breakpoints||{},f=i.reducedMotion||{},w=Yt(),v=[];function P(j){j&&w.destroy()}function _(j,M){M=matchMedia(M),w.bind(M,"change",T),v.push([j,M])}function T(){var j=a.is(7),M=i.direction,z=v.reduce(function(N,h){return u(N,h[1].matches?h[0]:{})},{});F(i),H(z),i.destroy?e.destroy(i.destroy==="completely"):j?(P(!0),e.mount()):M!==i.direction&&e.refresh()}function H(j,M,z){u(i,j),M&&u(Object.getPrototypeOf(i),j),!z&&a.is(1)||e.emit(Oe,i)}return{setup:function(){var j=i.mediaQuery==="min";fe(c).sort(function(M,z){return j?+M-+z:+z-+M}).forEach(function(M){_(c[M],"("+(j?"min":"max")+"-width:"+M+"px)")}),_(f,S),T()},destroy:P,reduce:function(j){matchMedia(S).matches&&(j?u(i,f):F(i,fe(f)))},set:H}},Direction:function(e,o,i){return{resolve:function(a,c,f){var w=(f=f||i.direction)!=="rtl"||c?f===Tt?0:-1:1;return It[a]&&It[a][w]||a.replace(/width|left|right/i,function(v,P){return v=It[v.toLowerCase()][w]||v,0<P?v.charAt(0).toUpperCase()+v.slice(1):v})},orient:function(a){return a*(i.direction==="rtl"?1:-1)}}},Elements:function(e,o,i){var a,c,f,w=ye(e),v=w.on,P=w.bind,_=e.root,T=i.i18n,H={},j=[],M=[],z=[];function N(){a=Y("."+dn),c=Re(a,"."+xn),lt(a&&c,"A track/list element is missing."),s(j,Ce(c,"."+kt+":not(."+hn+")")),d({arrows:Wt,pagination:xt,prev:pn,next:gn,bar:Mn,toggle:Dn},function(K,ue){H[ue]=Y("."+K)}),O(H,{root:_,track:a,list:c,slides:j});var G=_.id||(function(K){return""+K+jt(Zt[K]=(Zt[K]||0)+1)})(ct),D=i.role;_.id=G,a.id=a.id||G+"-track",c.id=c.id||G+"-list",!Pe(_,Ue)&&_.tagName!=="SECTION"&&D&&U(_,Ue,D),U(_,gt,T.carousel),U(c,Ue,"presentation"),b()}function h(G){var D=Ht.concat("style");x(j),ze(_,M),ze(a,z),V([a,c],D),V(_,G?D:["style",gt])}function b(){ze(_,M),ze(a,z),M=B(zt),z=B(dn),X(_,M),X(a,z),U(_,We,i.label),U(_,Ft,i.labelledby)}function Y(G){return G=yt(_,G),G&&(function(D,K){if(y(D.closest))return D.closest(K);for(var ue=D;ue&&ue.nodeType===1&&!be(ue,K);)ue=ue.parentElement;return ue})(G,"."+zt)===_?G:void 0}function B(G){return[G+"--"+i.type,G+"--"+i.direction,i.drag&&G+"--draggable",i.isNavigation&&G+"--nav",G===zt&&et]}return O(H,{setup:N,mount:function(){v(Ee,h),v(Ee,N),v(Oe,b),P(document,Ln+" keydown",function(G){f=G.type==="keydown"},{capture:!0}),P(_,"focusin",function(){m(_,bn,!!f)})},destroy:h})},Slides:function(e,o,i){var a=ye(e),c=a.on,f=a.emit,w=a.bind,v=(a=o.Elements).slides,P=a.list,_=[];function T(){v.forEach(function(h,b){j(h,b,-1)})}function H(){z(function(h){h.destroy()}),x(_)}function j(h,b,Y){b=On(e,b,Y,h),b.mount(),_.push(b),_.sort(function(B,G){return B.index-G.index})}function M(h){return h?N(function(b){return!b.isClone}):_}function z(h,b){M(b).forEach(h)}function N(h){return _.filter(y(h)?h:function(b){return l(h)?be(b.slide,h):he(le(h),b.index)})}return{mount:function(){T(),c(Ee,H),c(Ee,T)},destroy:H,update:function(){z(function(h){h.update()})},register:j,get:M,getIn:function(h){var b=o.Controller,Y=b.toIndex(h),B=b.hasFocus()?1:i.perPage;return N(function(G){return Lt(G.index,Y,Y+B-1)})},getAt:function(h){return N(h)[0]},add:function(h,b){oe(h,function(Y){var B,G,D;ce(Y=l(Y)?Me(Y):Y)&&((B=v[b])?pe(Y,B):ne(P,Y),X(Y,i.classes.slide),B=Y,G
vendor: 15,700 bytes, line 2
2=p(f,ht),B=ut(B,"img"),(D=B.length)?B.forEach(function(K){w(K,"load error",function(){--D||G()})}):G())}),f(Ee)},remove:function(h){Je(N(h).map(function(b){return b.slide})),f(Ee)},forEach:z,filter:N,style:function(h,b,Y){z(function(B){B.style(h,b,Y)})},getLength:function(h){return(h?v:_).length},isEnough:function(){return _.length>i.perPage}}},Layout:function(e,o,i){var a,c,f,w=(_=ye(e)).on,v=_.bind,P=_.emit,_=o.Slides,T=o.Direction.resolve,H=(o=o.Elements).root,j=o.track,M=o.list,z=_.getAt,N=_.style;function h(){a=i.direction===Tt,Se(H,"maxWidth",Qe(i.width)),Se(j,T("paddingLeft"),Y(!1)),Se(j,T("paddingRight"),Y(!0)),b(!0)}function b(A){var C=Te(H);!A&&c.width===C.width&&c.height===C.height||(Se(j,"height",(function(){var $="";return a&&(lt($=B(),"height or heightRatio is missing."),$="calc("+$+" - "+Y(!1)+" - "+Y(!0)+")"),$})()),N(T("marginRight"),Qe(i.gap)),N("width",i.autoWidth?null:Qe(i.fixedWidth)||(a?"":G())),N("height",Qe(i.fixedHeight)||(a?i.autoHeight?null:G():B()),!0),c=C,P(Ot),f!==(f=R())&&(m(H,wn,f),P("overflow",f)))}function Y($){var C=i.padding,$=T($?"right":"left");return C&&Qe(C[$]||(E(C)?0:C))||"0px"}function B(){return Qe(i.height||Te(M).width*i.heightRatio)}function G(){var A=Qe(i.gap);return"calc((100%"+(A&&" + "+A)+")/"+(i.perPage||1)+(A&&" - "+A)+")"}function D(){return Te(M)[T("width")]}function K(A,C){return A=z(A||0),A?Te(A.slide)[T("width")]+(C?0:ee()):0}function ue(se,C){var $,se=z(se);return se?(se=Te(se.slide)[T("right")],$=Te(M)[T("left")],je(se-$)+(C?0:ee())):0}function re(A){return ue(e.length-1)-ue(0)+K(0,A)}function ee(){var A=z(0);return A&&parseFloat(Se(A.slide,T("marginRight")))||0}function R(){return e.is(vt)||re(!0)>D()}return{mount:function(){var A,C,$;h(),v(window,"resize load",(A=p(P,ht),$=St(C||0,A,null,1),function(){$.isPaused()&&$.start()})),w([Oe,Ee],h),w(ht,b)},resize:b,listSize:D,slideSize:K,sliderSize:re,totalSize:ue,getPadding:function(A){return parseFloat(Se(j,T("padding"+(A?"Right":"Left"))))||0},isOverflow:R}},Clones:function(e,o,i){var a,c=ye(e),f=c.on,w=o.Elements,v=o.Slides,P=o.Direction.resolve,_=[];function T(){if(f(Ee,H),f([Oe,ht],M),a=z()){var N=a,h=v.get().slice(),b=h.length;if(b){for(;h.length<N;)s(h,h);s(h.slice(-N),h.slice(0,N)).forEach(function(Y,B){var G=B<N,D=(function(K,ue){return K=K.cloneNode(!0),X(K,i.classes.clone),K.id=e.root.id+"-clone"+jt(ue+1),K})(Y.slide,B);G?pe(D,h[0].slide):ne(w.list,D),s(_,D),v.register(D,B-N+(G?0:b),Y.index)})}o.Layout.resize(!0)}}function H(){j(),T()}function j(){Je(_),x(_),c.destroy()}function M(){var N=z();a!==N&&(a<N||!N)&&c.emit(Ee)}function z(){var N,h=i.clones;return e.is(ot)?Z(h)&&(h=(N=i[P("fixedWidth")]&&o.Layout.slideSize(0))&&ft(Te(w.track)[P("width")]/N)||i[P("autoWidth")]&&e.length||2*i.perPage):h=0,h}return{mount:T,destroy:j}},Move:function(e,o,i){var a,c=ye(e),f=c.on,w=c.emit,v=e.state.set,P=(c=o.Layout).slideSize,_=c.getPadding,T=c.totalSize,H=c.listSize,j=c.sliderSize,M=(c=o.Direction).resolve,z=c.orient,N=(c=o.Elements).list,h=c.track;function b(){o.Controller.isBusy()||(o.Scroll.cancel(),Y(e.index),o.Slides.update())}function Y(R){B(ue(R,!0))}function B(R,A){e.is(vt)||(A=A?R:(function(C){{var $,se;e.is(ot)&&($=K(C),se=$>o.Controller.getEnd(),($<0||se)&&(C=G(C,se)))}return C})(R),Se(N,"transform","translate"+M("X")+"("+A+"px)"),R!==A&&w(an))}function G(R,A){var C=R-ee(A),$=j();return R-=z($*(ft(je(C)/$)||1))*(A?1:-1)}function D(){B(re(),!0),a.cancel()}function K(R){for(var A=o.Slides.get(),C=0,$=1/0,se=0;se<A.length;se++){var _e=A[se].index,ve=je(ue(_e,!0)-R);if(!(ve<=$))break;$=ve,C=_e}return C}function ue(R,A){var C=z(T(R-1)-(R=R,(C=i.focus)==="center"?(H()-P(R,!0))/2:+C*P(R)||0));return A?(R=C,R=i.trimSpace&&e.is(at)?tt(R,0,z(j(!0)-H())):R):C}function re(){var R=M("left");return Te(N)[R]-Te(h)[R]+z(_(!1))}function ee(R){return ue(R?o.Controller.getEnd():0,!!i.trimSpace)}return{mount:function(){a=o.Transition,f([Ve,Ot,Oe,Ee],b)},move:function(R,A,C,$){var se,_e;R!==A&&(se=C<R,_e=z(G(re(),se)),se?0<=_e:_e<=N[M("scrollWidth")]-Te(h)[M("width")])&&(D(),B(G(re(),C<R),!0)),v(k),w(Ge,A,C,R),a.start(A,function(){v(3),w(dt,A,C,R),$&&$()})},jump:Y,translate:B,shift:G,cancel:D,toIndex:K,toPosition:ue,getPosition:re,getLimit:ee,exceededLimit:function($,A){A=Z(A)?re():A;var C=$!==!0&&z(A)<z(ee(!1)),$=$!==!1&&z(A)>z(ee(!0));return C||$},reposition:b}},Controller:function(e,o,i){var a,c,f,w,v=ye(e),P=v.on,_=v.emit,T=o.Move,H=T.getPosition,j=T.getLimit,M=T.toPosition,z=(v=o.Slides).isEnough,N=v.getLength,h=i.omitEnd,b=e.is(ot),Y=e.is(at),B=p(ee,!1),G=p(ee,!0),D=i.start||0,K=D;function ue(){c=N(!0),f=i.perMove,w=i.perPage,a=C();var Q=tt(D,0,h?a:c-1);Q!==D&&(D=Q,T.reposition())}function re(){a!==C()&&_("ei")}function ee(Q,De){var ke=f||(ve()?1:w),ke=R(D+ke*(Q?-1:1),D,!(f||ve()));return ke===-1&&Y&&!$t(H(),j(!Q),1)?Q?0:a:De?ke:A(ke)}function R(Q,De,ke){var Ne;return z()||ve()?((Ne=(function(Ae){if(Y&&i.trimSpace==="move"&&Ae!==D)for(var te=H();te===M(Ae,!0)&&Lt(Ae,0,e.length-1,!i.rewind);)Ae<D?--Ae:++Ae;return Ae})(Q))!==Q&&(De=Q,Q=Ne,ke=!1),Q<0||a<Q?Q=f||!Lt(0,Q,De,!0)&&!Lt(a,De,Q,!0)?b?ke?Q<0?-(c%w||w):c:Q:i.rewind?Q<0?a:0:-1:$(se(Q)):ke&&Q!==De&&(Q=$(se(De)+(Q<De?-1:1)))):Q=-1,Q}function A(Q){return b?(Q+c)%c||0:Q}function C(){for(var Q=c-(ve()||b&&f?1:w);h&&0<Q--;)if(M(c-1,!0)!==M(Q,!0)){Q++;break}return tt(Q,0,c-1)}function $(Q){return tt(ve()?Q:w*Q,0,a)}function se(Q){return ve()?Xe(Q,a):wt((a<=Q?c-1:Q)/w)}function _e(Q){Q!==D&&(K=D,D=Q)}function ve(){return!Z(i.focus)||i.isNavigation}function Fe(){return e.state.is([k,ie])&&!!i.waitForTransition}return{mount:function(){ue(),P([Oe,Ee,"ei"],ue),P(Ot,re)},go:function(Q,De,ke){var Ne;Fe()||-1<(Ne=A(Q=(function(Ae){var te=D;{var ge,Le;l(Ae)?(Le=Ae.match(/([+\-<>])(\d+)?/)||[],ge=Le[1],Le=Le[2],ge==="+"||ge==="-"?te=R(D+ +(""+ge+(+Le||1)),D):ge===">"?te=Le?$(+Le):B(!0):ge==="<"&&(te=G(!0))):te=b?Ae:tt(Ae,0,a)}return te})(Q)))&&(De||Ne!==D)&&(_e(Ne),T.move(Q,Ne,K,ke))},scroll:function(Q,De,ke,Ne){o.Scroll.scroll(Q,De,ke,function(){var Ae=A(T.toIndex(H()));_e(h?Xe(Ae,a):Ae),Ne&&Ne()})},getNext:B,getPrev:G,getAdjacent:ee,getEnd:C,setIndex:_e,getIndex:function(Q){return Q?K:D},toIndex:$,toPage:se,toDest:function(Q){return Q=T.toIndex(Q),Y?tt(Q,0,a):Q},hasFocus:ve,isBusy:Fe}},Arrows:function(e,o,i){var a,c,f=ye(e),w=f.on,v=f.bind,P=f.emit,_=i.classes,T=i.i18n,H=o.Elements,j=o.Controller,M=H.arrows,z=H.track,N=M,h=H.prev,b=H.next,Y={};function B(){var ee=i.arrows;!ee||h&&b||(N=M||me("div",_.arrows),h=ue(!0),b=ue(!1),a=!0,ne(N,[h,b]),M||pe(N,z)),h&&b&&(O(Y,{prev:h,next:b}),xe(N,ee?"":"none"),X(N,c=Wt+"--"+i.direction),ee&&(w([Ve,dt,Ee,nt,"ei"],re),v(b,"click",p(K,">")),v(h,"click",p(K,"<")),re(),U([h,b],pt,z.id),P("arrows:mounted",h,b))),w(Oe,G)}function G(){D(),B()}function D(){f.destroy(),ze(N,c),a?(Je(M?[h,b]:N),h=b=null):V([h,b],Ht)}function K(ee){j.go(ee,!0)}function ue(ee){return Me('<button class="'+_.arrow+" "+(ee?_.prev:_.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(i.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function re(){var ee,R,A,C;h&&b&&(C=e.index,ee=j.getPrev(),R=j.getNext(),A=-1<ee&&C<ee?T.last:T.prev,C=-1<R&&R<C?T.first:T.next,h.disabled=ee<0,b.disabled=R<0,U(h,We,A),U(b,We,C),P("arrows:updated",h,b,ee,R))}return{arrows:Y,mount:B,destroy:D,update:re}},Autoplay:function(e,o,i){var a,c,f=ye(e),w=f.on,v=f.bind,P=f.emit,_=St(i.interval,e.go.bind(e,">"),function(D){var K=H.bar;K&&Se(K,"width",100*D+"%"),P("autoplay:playing",D)}),T=_.isPaused,H=o.Elements,j=(f=o.Elements).root,M=f.toggle,z=i.autoplay,N=z==="pause";function h(){T()&&o.Slides.isEnough()&&(_.start(!i.resetProgress),c=a=N=!1,B(),P(en))}function b(D){N=!!(D=D===void 0?!0:D),B(),T()||(_.pause(),P(tn))}function Y(){N||(a||c?b(!1):h())}function B(){M&&(m(M,et,!N),U(M,We,i.i18n[N?"play":"pause"]))}function G(D){D=o.Slides.getAt(D),_.set(D&&+Pe(D.slide,Nn)||i.interval)}return{mount:function(){z&&(i.pauseOnHover&&v(j,"mouseenter mouseleave",function(D){a=D.type==="mouseenter",Y()}),i.pauseOnFocus&&v(j,"focusin focusout",function(D){c=D.type==="focusin",Y()}),M&&v(M,"click",function(){N?h():b(!0)}),w([Ge,Nt,Ee],_.rewind),w(Ge,G),M&&U(M,pt,H.track.id),N||h(),B())},destroy:_.cancel,play:h,pause:b,isPaused:T}},Cover:function(e,o,i){var a=ye(e).on;function c(w){o.Slides.forEach(function(v){var P=Re(v.container||v.slide,"img");P&&P.src&&f(w,P,v)})}function f(w,v,P){P.style("background",w?'center/cover no-repeat url("'+v.src+'")':"",!0),xe(v,w?"none":"")}return{mount:function(){i.cover&&(a(nn,p(f,!0)),a([Ve,Oe,Ee],p(c,!0)))},destroy:p(c,!1)}},Scroll:function(e,o,i){var a,c,f=ye(e),w=f.on,v=f.emit,P=e.state.set,_=o.Move,T=_.getPosition,H=_.getLimit,j=_.exceededLimit,M=_.translate,z=e.is(at),N=1;function h(D,K,C,re,ee){var R,A=T(),C=(B(),!C||z&&j()||(C=o.Layout.sliderSize(),R=Dt(D)*C*wt(je(D)/C)||0,D=_.toPosition(o.Controller.toDest(D%C))+R),$t(A,D,1));N=1,K=C?0:K||bt(je(D-A)/1.5,800),c=re,a=St(K,b,p(Y,A,D,ee),1),P(ie),v(Nt),a.start()}function b(){P(3),c&&c(),v(nt)}function Y(D,K,ue,R){var ee=T(),R=(D+(K-D)*(K=R,(D=i.easingFunc)?D(K):1-Math.pow(1-K,4))-ee)*N;M(ee+R),z&&!ue&&j()&&(N*=.6,je(R)<10&&h(H(j(!0)),600,!1,c,!0))}function B(){a&&a.cancel()}function G(){a&&!a.isPaused()&&(B(),b())}return{mount:function(){w(Ge,B),w([Oe,Ee],G)},destroy:B,scroll:h,cancel:G}},Drag:function(e,o,i){var a,c,f,w,v,P,_,T,H=ye(e),j=H.on,M=H.emit,z=H.bind,N=H.unbind,h=e.state,b=o.Move,Y=o.Scroll,B=o.Controller,G=o.Elements.track,D=o.Media.reduce,K=(H=o.Direction).resolve,ue=H.orient,re=b.getPosition,ee=b.exceededLimit,R=!1;function A(){var te=i.drag;Ae(!te),w=te==="free"}function C(te){var ge,Le,Ie;P=!1,_||(ge=Ne(te),Le=te.target,Ie=i.noDrag,be(Le,"."+vn+", ."+At)||Ie&&be(Le,Ie)||!ge&&te.button||(B.isBusy()?He(te,!0):(T=ge?G:window,v=h.is([k,ie]),f=null,z(T,Xt,$,st),z(T,Gt,se,st),b.cancel(),Y.cancel(),ve(te))))}function $(te){var ge,Le,Ie,Be,$e;h.is(6)||(h.set(6),M("drag")),te.cancelable&&(v?(b.translate(a+Fe(te)/(R&&e.is(at)?5:1)),$e=200<Q(te),ge=R!==(R=ee()),($e||ge)&&ve(te),P=!0,M("dragging"),He(te)):je(Fe($e=te))>je(Fe($e,!0))&&(ge=te,Le=i.dragMinThreshold,Ie=E(Le),Be=Ie&&Le.mouse||0,Ie=(Ie?Le.touch:+Le)||10,v=je(Fe(ge))>(Ne(ge)?Ie:Be),He(te)))}function se(te){var ge,Le,Ie;h.is(6)&&(h.set(3),M("dragged")),v&&(Le=(function(Be){return re()+Dt(Be)*Xe(je(Be)*(i.flickPower||600),w?1/0:o.Layout.listSize()*(i.flickMaxPages||1))})(ge=(function(Be){if(e.is(ot)||!R){var $e=Q(Be);if($e&&$e<200)return Fe(Be)/$e}return 0})(ge=te)),Ie=i.rewind&&i.rewindByDrag,D(!1),w?B.scroll(Le,0,i.snap):e.is(vt)?B.go(ue(Dt(ge))<0?Ie?"<":"-":Ie?">":"+"):e.is(at)&&R&&Ie?B.go(ee(!0)?">":"<"):B.go(B.toDest(Le),!0),D(!0),He(te)),N(T,Xt,$),N(T,Gt,se),v=!1}function _e(te){!_&&P&&He(te,!0)}function ve(te){f=c,c=te,a=re()}function Fe(te,ge){return ke(te,ge)-ke(De(te),ge)}function Q(te){return Ye(te)-Ye(De(te))}function De(te){return c===te&&f||c}function ke(te,ge){return(Ne(te)?te.changedTouches[0]:te)["page"+K(ge?"Y":"X")]}function Ne(te){return typeof TouchEvent!="undefined"&&te instanceof TouchEvent}function Ae(te){_=te}return{mount:function(){z(G,Xt,q,st),z(G,Gt,q,st),z(G,Ln,C,st),z(G,"click",_e,{capture:!0}),z(G,"dragstart",He),j([Ve,Oe],A)},disable:Ae,isDragging:function(){return v}}},Keyboard:function(e,o,i){var a,c,f=ye(e),w=f.on,v=f.bind,P=f.unbind,_=e.root,T=o.Direction.resolve;function H(){var N=i.keyboard;N&&(a=N==="global"?window:_,v(a,Sn,z))}function j(){P(a,Sn)}function M(){var N=c;c=!0,J(function(){c=N})}function z(N){c||((N=Bt(N))===T(Et)?e.go("<"):N===T(_t)&&e.go(">"))}return{mount:function(){H(),w(Oe,j),w(Oe,H),w(Ge,M)},destroy:j,disable:function(N){c=N}}},LazyLoad:function(e,o,i){var a=ye(e),c=a.on,f=a.off,w=a.bind,v=a.emit,P=i.lazyLoad==="sequential",_=[dt,nt],T=[];function H(){x(T),o.Slides.forEach(function(h){ut(h.slide,Fn).forEach(function(b){var Y=Pe(b,mt),B=Pe(b,Pt);Y===b.src&&B===b.srcset||(Y=i.classes.spinner,Y=Re(B=b.parentElement,"."+Y)||me("span",Y,B),T.push([b,h,Y]),b.src||xe(b,"none"))})}),(P?N:(f(_),c(_,j),j))()}function j(){(T=T.filter(function(h){var b=i.perPage*((i.preloadPages||1)+1)-1;return!h[1].isWithin(e.index,b)||M(h)})).length||f(_)}function M(h){var b=h[0];X(h[1].slide,Ut),w(b,"load error",p(z,h)),U(b,"src",Pe(b,mt)),U(b,"srcset",Pe(b,Pt)),V(b,mt),V(b,Pt)}function z(h,b){var Y=h[0],B=h[1];ze(B.slide,Ut),b.type!=="error"&&(Je(h[2]),xe(Y,""),v(nn,Y,B),v(ht)),P&&N()}function N(){T.length&&M(T.shift())}return{mount:function(){i.lazyLoad&&(H(),c(Ee,H))},destroy:p(x,T),check:j}},Pagination:function(e,o,i){var a,c,f=ye(e),w=f.on,v=f.emit,P=f.bind,_=o.Slides,T=o.Elements,H=o.Controller,j=H.hasFocus,M=H.getIndex,z=H.go,N=o.Direction.resolve,h=T.pagination,b=[];function Y(){a&&(Je(h?g(a.children):a),ze(a,c),x(b),a=null),f.destroy()}function B(re){z(">"+re,!0)}function G(re,ee){var R=b.length,A=Bt(ee),$=D(),C=-1,$=(A===N(_t,!1,$)?C=++re%R:A===N(Et,!1,$)?C=(--re+R)%R:A==="Home"?C=0:A==="End"&&(C=R-1),b[C]);$&&(qe($.button),z(">"+C),He(ee,!0))}function D(){return i.paginationDirection||i.direction}function K(re){return b[H.toPage(re)]}function ue(){var re,ee=K(M(!0)),R=K(M());ee&&(ze(re=ee.button,et),V(re,sn),U(re,it,-1)),R&&(X(re=R.button,et),U(re,sn,!0),U(re,it,"")),v("pagination:updated",{list:a,items:b},ee,R)}return{items:b,mount:function re(){Y(),w([Oe,Ee,"ei"],re);var ee=i.pagination;if(h&&xe(h,ee?"":"none"),ee){w([Ge,Nt,nt],ue);var ee=e.length,R=i.classes,A=i.i18n,C=i.perPage,$=j()?H.getEnd()+1:ft(ee/C);X(a=h||me("ul",R.pagination,T.track.parentElement),c=xt+"--"+D()),U(a,Ue,"tablist"),U(a,We,A.select),U(a,Rt,D()===Tt?"vertical":"");for(var se=0;se<$;se++){var _e=me("li",null,a),ve=me("button",{class:R.page,type:"button"},_e),Fe=_.getIn(se).map(function(ke){return ke.slide.id}),Q=!j()&&1<C?A.pageX:A.slideX;P(ve,"click",p(B,se)),i.paginationKeyboard&&P(ve,"keydown",p(G,se)),U(_e,Ue,"presentation"),U(ve,Ue,"tab"),U(ve,pt,Fe.join(" ")),U(ve,We,Ct(Q,se+1)),U(ve,it,-1),b.push({li:_e,button:ve,page:se})}ue(),v("pagination:mounted",{list:a,items:b},K(e.index))}},destroy:Y,getAt:K,update:ue}},Sync:function(e,o,i){var a=i.isNavigation,c=i.slideFocus,f=[];function w(){var j,M;e.splides.forEach(function(z){z.isParent||(P(e,z.splide),P(z.splide,e))}),a&&(j=ye(e),(M=j.on)(Qt,T),M(rn,H),M([Ve,Oe],_),f.push(j),j.emit(Kt,e.splides))}function v(){f.forEach(function(j){j.destroy()}),x(f)}function P(j,M){j=ye(j),j.on(Ge,function(z,N,h){M.go(M.is(ot)?h:z)}),f.push(j)}function _(){U(o.Elements.list,Rt,i.direction===Tt?"vertical":"")}function T(j){e.go(j.index)}function H(j,M){he(Rn,Bt(M))&&(T(j),He(M))}return{setup:p(o.Media.set,{slideFocus:Z(c)?a:c},!0),mount:w,destroy:v,remount:function(){v(),w()}}},Wheel:function(e,o,i){var a=ye(e).bind,c=0;function f(w){var v,P,_,T,H;w.cancelable&&(v=(H=w.deltaY)<0,P=Ye(w),_=i.wheelMinThreshold||0,T=i.wheelSleep||0,je(H)>_&&T<P-c&&(e.go(v?"<":">"),c=P),H=v,i.releaseWheel&&!e.state.is(k)&&o.Controller.getAdjacent(H)===-1||He(w))}return{mount:function(){i.wheel&&a(o.Elements.track,"wheel",f,st)}}},Live:function(e,o,i){var a=ye(e).on,c=o.Elements.track,f=i.live&&!i.isNavigation,w=me("span",Cn),v=St(90,p(P,!1));function P(T){U(c,ln,T),T?(ne(c,w),v.start()):(Je(w),v.cancel())}function _(T){f&&U(c,cn,T?"off":"polite")}return{mount:function(){f&&(_(!o.Autoplay.isPaused()),U(c,fn,!0),w.textContent="…",a(en,p(_,!0)),a(tn,p(_,!1)),a([dt,nt],p(P,!0)))},disable:_,destroy:function(){V(c,[cn,fn,ln]),Je(w)}}}}),zn={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace
2:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:kt,clone:hn,arrows:Wt,arrow:At,prev:pn,next:gn,pagination:xt,page:vn,spinner:we+"spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Wn(e,o,i){var a=o.Slides;function c(){a.forEach(function(f){f.style("transform","translateX(-"+100*f.index+"%)")})}return{mount:function(){ye(e).on([Ve,Ee],c)},start:function(f,w){a.style("transition","opacity "+i.speed+"ms "+i.easing),J(w)},cancel:q}}function qn(e,o,i){var a,c=o.Move,f=o.Controller,w=o.Scroll,v=o.Elements.list,P=p(Se,v,"transition");function _(){P(""),w.cancel()}return{mount:function(){ye(e).bind(v,"transitionend",function(T){T.target===v&&a&&(_(),a())})},start:function(T,H){var j=c.toPosition(T,!0),M=c.getPosition(),z=(function(N){var h=i.rewindSpeed;if(e.is(at)&&h){var b=f.getIndex(!0),Y=f.getEnd();if(b===0&&Y<=N||Y<=b&&N===0)return h}return i.speed})(T);1<=je(j-M)&&1<=z?i.useScroll?w.scroll(j,z,!1,H):(P("transform "+z+"ms "+i.easing),c.translate(j,!0),a=H):(c.jump(T),H())},cancel:_}}return rt=(function(){function e(i,a){this.event=ye(),this.Components={},this.state=An(1),this.splides=[],this.n={},this.t={},i=l(i)?yt(document,i):i,lt(i,i+" is invalid."),a=u({label:Pe(this.root=i,We)||"",labelledby:Pe(i,Ft)||""},zn,e.defaults,a||{});try{u(a,JSON.parse(Pe(i,Mt)))}catch(c){lt(!1,"Invalid JSON")}this.n=Object.create(u({},a))}var o=e.prototype;return o.mount=function(i,a){var c=this,f=this.state,w=this.Components;return lt(f.is([1,7]),"Already mounted!"),f.set(1),this.i=w,this.r=a||this.r||(this.is(vt)?Wn:qn),this.t=i||this.t,d(O({},Hn,this.t,{Transition:this.r}),function(v,P){v=v(c,w,c.n),(w[P]=v).setup&&v.setup()}),d(w,function(v){v.mount&&v.mount()}),this.emit(Ve),X(this.root,"is-initialized"),f.set(3),this.emit("ready"),this},o.sync=function(i){return this.splides.push({splide:i}),i.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),i.Components.Sync.remount()),this},o.go=function(i){return this.i.Controller.go(i),this},o.on=function(i,a){return this.event.on(i,a),this},o.off=function(i){return this.event.off(i),this},o.emit=function(i){var a;return(a=this.event).emit.apply(a,[i].concat(g(arguments,1))),this},o.add=function(i,a){return this.i.Slides.add(i,a),this},o.remove=function(i){return this.i.Slides.remove(i),this},o.is=function(i){return this.n.type===i},o.refresh=function(){return this.emit(Ee),this},o.destroy=function(i){i===void 0&&(i=!0);var a=this.event,c=this.state;return c.is(1)?ye(this).on("ready",this.destroy.bind(this,i)):(d(this.i,function(f){f.destroy&&f.destroy(i)},!0),a.emit(Vt),a.destroy(),i&&x(this.splides),c.set(7)),this},Jt(e,[{key:"options",get:function(){return this.n},set:function(i){this.i.Media.set(i,!0,!0)}},{key:"length",get:function(){return this.i.Slides.getLength(!0)}},{key:"index",get:function(){return this.i.Controller.getIndex()}}]),e})(),rt.defaults={},rt.STATES=W,rt},typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis!="undefined"?globalThis:n||self).Splide=t(),Weather={getWeather:function(S,k){typeof k=="undefined"&&(k={112931:{title:"تهران"}});var ie=[],W={};Object.keys(k).forEach(function(x){ie.push(new Promise(function(g,p){var q=new XMLHttpRequest;q.open("GET",masterConfig.baseUrl+"tools/weather/?cityId="+x),q.setRequestHeader("Content-type","application/json"),q.setRequestHeader("X-REQUESTED-WITH","XMLHttpRequest"),q.onreadystatechange=function(){if(q.readyState===4){if(q.status===200){var J=q.response;g(J);return}p()}},q.send()}))}),Promise.all(ie).then(function(x){for(var g=0;g<x.length;g++){var p=JSON.parse(x[g]);p.title=k[p.id].title,W[p.id]=p}var q=ejs.render(S.innerHTML,{cities:W,i18n:window.i18n,masterConfig:window.masterConfig});q=q.replace(/<script/g,"<div"),q=q.replace(/type="text\/plain"/g,""),document.querySelector("#weather-output").innerHTML=q}).catch(function(x){console.log(x)})}},(function(S){if(typeof exports=="object"&&typeof module!="undefined")module.exports=S();else if(typeof define=="function"&&define.amd)define([],S);else{var k;typeof window!="undefined"?k=window:typeof global!="undefined"?k=global:typeof self!="undefined"?k=self:k=this,k.ejs=S()}})(function(){var S,k,ie;return(function(){function W(x,g,p){function q(L,E){if(!g[L]){if(!x[L]){var I=typeof require=="function"&&require;if(!E&&I)return I(L,!0);if(J)return J(L,!0);var y=new Error("Cannot find module '"+L+"'");throw y.code="MODULE_NOT_FOUND",y}var l=g[L]={exports:{}};x[L][0].call(l.exports,function(Z){var ae=x[L][1][Z];return q(ae||Z)},l,l.exports,W,x,g,p)}return g[L].exports}for(var J=typeof require=="function"&&require,de=0;de<p.length;de++)q(p[de]);return q}return W})()({1:[function(W,x,g){"use strict";var p=W("fs"),q=W("path"),J=W("./utils"),de=!1,L=W("../package.json").version,E="<",I=">",y="%",l="locals",Z="ejs",ae="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",ce=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],le=ce.concat("cache"),oe=/^\uFEFF/,he=/^[a-zA-Z_$][0-9a-zA-Z_$]*$/;g.cache=J.cache,g.fileLoader=p.readFileSync,g.localsName=l,g.promiseImpl=new Function("return this;")().Promise,g.resolveInclude=function(d,O,u){var F=q.dirname,V=q.extname,U=q.resolve,me=U(u?O:F(O),d),Se=V(d);return Se||(me+=".ejs"),me};function s(d,O){var u;if(O.some(function(F){return u=g.resolveInclude(d,F,!0),p.existsSync(u)}))return u}function m(d,O){var u,F,V=O.views,U=/^[A-Za-z]+:\\|^\//.exec(d);if(U&&U.length)d=d.replace(/^\/*/,""),Array.isArray(O.root)?u=s(d,O.root):u=g.resolveInclude(d,O.root||"/",!0);else if(O.filename&&(F=g.resolveInclude(d,O.filename),p.existsSync(F)&&(u=F)),!u&&Array.isArray(V)&&(u=s(d,V)),!u&&typeof O.includer!="function")throw new Error('Could not find the include file "'+O.escapeFunction(d)+'"');return u}function X(d,O){var u,F=d.filename,V=arguments.length>1;if(d.cache){if(!F)throw new Error("cache option requires a filename");if(u=g.cache.get(F),u)return u;V||(O=pe(F).toString().replace(oe,""))}else if(!V){if(!F)throw new Error("Internal EJS error: no file name or template provided");O=pe(F).toString().replace(oe,"")}return u=g.compile(O,d),d.cache&&g.cache.set(F,u),u}function ne(d,O,u){var F;if(u){try{F=X(d)(O)}catch(V){return u(V)}u(null,F)}else{if(typeof g.promiseImpl=="function")return new g.promiseImpl(function(V,U){try{F=X(d)(O),V(F)}catch(me){U(me)}});throw new Error("Please provide a callback function")}}function pe(d){return g.fileLoader(d)}function be(d,O){var u=J.shallowCopy(J.createNullProtoObjWherePossible(),O);if(u.filename=m(d,u),typeof O.includer=="function"){var F=O.includer(d,u.filename);if(F&&(F.filename&&(u.filename=F.filename),F.template))return X(u,F.template)}return X(u)}function Ce(d,O,u,F,V){var U=O.split(`
3`),me=Math.max(F-3,0),Se=Math.min(U.length,F+3),xe=V(u),qe=U.slice(me,Se).map(function(Pe,Ze){var Te=Ze+me+1;return(Te==F?" >> ":"    ")+Te+"| "+Pe}).join(`
4`);throw d.path=xe,d.message=(xe||"ejs")+":"+F+`
5`+qe+`
6
7`+d.message,d}function Re(d){return d.replace(/;(\s*$)/,"$1")}g.compile=function(O,u){var F;return u&&u.scope&&(de||(console.warn("`scope` option is deprecated and will be removed in EJS 3"),de=!0),u.context||(u.context=u.scope),delete u.scope),F=new fe(O,u),F.compile()},g.render=function(d,O,u){var F=O||J.createNullProtoObjWherePossible(),V=u||J.createNullProtoObjWherePossible();return arguments.length==2&&J.shallowCopyFromList(V,F,ce),X(V,d)(F)},g.renderFile=function(){var d=Array.prototype.slice.call(arguments),O=d.shift(),u,F={filename:O},V,U;return typeof arguments[arguments.length-1]=="function"&&(u=d.pop()),d.length?(V=d.shift(),d.length?J.shallowCopy(F,d.pop()):(V.settings&&(V.settings.views&&(F.views=V.settings.views),V.settings["view cache"]&&(F.cache=!0),U=V.settings["view options"],U&&J.shallowCopy(F,U)),J.shallowCopyFromList(F,V,le)),F.filename=O):V=J.createNullProtoObjWherePossible(),ne(F,V,u)},g.Template=fe,g.clearCache=function(){g.cache.reset()};function fe(d,O){O=O||J.createNullProtoObjWherePossible();var u=J.createNullProtoObjWherePossible();this.templateText=d,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",u.client=O.client||!1,u.escapeFunction=O.escape||O.escapeFunction||J.escapeXML,u.compileDebug=O.compileDebug!==!1,u.debug=!!O.debug,u.filename=O.filename,u.openDelimiter=O.openDelimiter||g.openDelimiter||E,u.closeDelimiter=O.closeDelimiter||g.closeDelimiter||I,u.delimiter=O.delimiter||g.delimiter||y,u.strict=O.strict||!1,u.context=O.context,u.cache=O.cache||!1,u.rmWhitespace=O.rmWhitespace,u.root=O.root,u.includer=O.includer,u.outputFunctionName=O.outputFunctionName,u.localsName=O.localsName||g.localsName||l,u.views=O.views,u.async=O.async,u.destructuredLocals=O.destructuredLocals,u.legacyInclude=typeof O.legacyInclude!="undefined"?!!O.legacyInclude:!0,u.strict?u._with=!1:u._with=typeof O._with!="undefined"?O._with:!0,this.opts=u,this.regex=this.createRegex()}fe.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"},fe.prototype={createRegex:function(){var d=ae,O=J.escapeRegExpChars(this.opts.delimiter),u=J.escapeRegExpChars(this.opts.openDelimiter),F=J.escapeRegExpChars(this.opts.closeDelimiter);return d=d.replace(/%/g,O).replace(/</g,u).replace(/>/g,F),new RegExp(d)},compile:function(){var d,O,u=this.opts,F="",V="",U=u.escapeFunction,me,Se=u.filename?JSON.stringify(u.filename):"undefined";if(!this.source){if(this.generateSource(),F+=`  var __output = "";
8  function __append(s) { if (s !== undefined && s !== null) __output += s }
9`,u.outputFunctionName){if(!he.test(u.outputFunctionName))throw new Error("outputFunctionName is not a valid JS identifier.");F+="  var "+u.outputFunctionName+` = __append;
10`}if(u.localsName&&!he.test(u.localsName))throw new Error("localsName is not a valid JS identifier.");if(u.destructuredLocals&&u.destructuredLocals.length){for(var xe="  var __locals = ("+u.localsName+` || {}),
11`,qe=0;qe<u.destructuredLocals.length;qe++){var Pe=u.destructuredLocals[qe];if(!he.test(Pe))throw new Error("destructuredLocals["+qe+"] is not a valid JS identifier.");qe>0&&(xe+=`,
12  `),xe+=Pe+" = __locals."+Pe}F+=xe+`;
13`}u._with!==!1&&(F+="  with ("+u.localsName+` || {}) {
14`,V+=`  }
15`),V+=`  return __output;
16`,this.source=F+this.source+V}u.compileDebug?d=`var __line = 1
17  , __lines = `+JSON.stringify(this.templateText)+`
18  , __filename = `+Se+`;
19try {
20`+this.source+`} catch (e) {
21  rethrow(e, __lines, __filename, __line, escapeFn);
22}
23`:d=this.source,u.client&&(d="escapeFn = escapeFn || "+U.toString()+`;
24`+d,u.compileDebug&&(d="rethrow = rethrow || "+Ce.toString()+`;
25`+d)),u.strict&&(d=`"use strict";
26`+d),u.debug&&console.log(d),u.compileDebug&&u.filename&&(d=d+`
27//# sourceURL=`+Se+`
28`);try{if(u.async)try{me=new Function("return (async function(){}).constructor;")()}catch(Me){throw Me instanceof SyntaxError?new Error("This environment does not support async/await"):Me}else me=Function;O=new me(u.localsName+", escapeFn, include, rethrow",d)}catch(Me){throw Me instanceof SyntaxError&&(u.filename&&(Me.message+=" in "+u.filename),Me.message+=` while compiling ejs
29
30`,Me.message+=`If the above error is not helpful, you may want to try EJS-Lint:
31`,Me.message+="https://github.com/RyanZim/EJS-Lint",u.async||(Me.message+=`
32`,Me.message+="Or, if you meant to create an async function, pass `async: true` as an option.")),Me}var Ze=u.client?O:function(He){var yt=function(ut,ze){var Ye=J.shallowCopy(J.createNullProtoObjWherePossible(),He);return ze&&(Ye=J.shallowCopy(Ye,ze)),be(ut,u)(Ye)};return O.apply(u.context,[He||J.createNullProtoObjWherePossible(),U,yt,Ce])};if(u.filename&&typeof Object.defineProperty=="function"){var Te=u.filename,Je=q.basename(Te,q.extname(Te));try{Object.defineProperty(Ze,"name",{value:Je,writable:!1,enumerable:!1,configurable:!0})}catch(Me){}}return Ze},generateSource:function(){var d=this.opts;d.rmWhitespace&&(this.templateText=this.templateText.replace(/[\r\n]+/g,`
33`).replace(/^\s+|\s+$/gm,"")),this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var O=this,u=this.parseTemplateText(),F=this.opts.delimiter,V=this.opts.openDelimiter,U=this.opts.closeDelimiter;u&&u.length&&u.forEach(function(me,Se){var xe;if(me.indexOf(V+F)===0&&me.indexOf(V+F+F)!==0&&(xe=u[Se+2],!(xe==F+U||xe=="-"+F+U||xe=="_"+F+U)))throw new Error('Could not find matching close tag for "'+me+'".');O.scanLine(me)})},parseTemplateText:function(){for(var d=this.templateText,O=this.regex,u=O.exec(d),F=[],V;u;)V=u.index,V!==0&&(F.push(d.substring(0,V)),d=d.slice(V)),F.push(u[0]),d=d.slice(u[0].length),u=O.exec(d);return d&&F.push(d),F},_addOutput:function(d){if(this.truncate&&(d=d.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!d)return d;d=d.replace(/\\/g,"\\\\"),d=d.replace(/\n/g,"\\n"),d=d.replace(/\r/g,"\\r"),d=d.replace(/"/g,'\\"'),this.source+='    ; __append("'+d+`")
34`},scanLine:function(d){var O=this,u=this.opts.delimiter,F=this.opts.openDelimiter,V=this.opts.closeDelimiter,U=0;switch(U=d.split(`
35`).length-1,d){case F+u:case F+u+"_":this.mode=fe.modes.EVAL;break;case F+u+"=":this.mode=fe.modes.ESCAPED;break;case F+u+"-":this.mode=fe.modes.RAW;break;case F+u+"#":this.mode=fe.modes.COMMENT;break;case F+u+u:this.mode=fe.modes.LITERAL,this.source+='    ; __append("'+d.replace(F+u+u,F+u)+`")
36`;break;case u+u+V:this.mode=fe.modes.LITERAL,this.source+='    ; __append("'+d.replace(u+u+V,u+V)+`")
37`;break;case u+V:case"-"+u+V:case"_"+u+V:this.mode==fe.modes.LITERAL&&this._addOutput(d),this.mode=null,this.truncate=d.indexOf("-")===0||d.indexOf("_")===0;break;default:if(this.mode){switch(this.mode){case fe.modes.EVAL:case fe.modes.ESCAPED:case fe.modes.RAW:d.lastIndexOf("//")>d.lastIndexOf(`
38`)&&(d+=`
39`)}switch(this.mode){case fe.modes.EVAL:this.source+="    ; "+d+`
40`;break;case fe.modes.ESCAPED:this.source+="    ; __append(escapeFn("+Re(d)+`))
41`;break;case fe.modes.RAW:this.source+="    ; __append("+Re(d)+`)
42`;break;case fe.modes.COMMENT:break;case fe.modes.LITERAL:this._addOutput(d);break}}else this._addOutput(d)}O.opts.compileDebug&&U&&(this.currentLine+=U,this.source+="    ; __line = "+this.currentLine+`
43`)}},g.escapeXML=J.escapeXML,g.__express=g.renderFile,g.VERSION=L,g.name=Z,typeof window!="undefined"&&(window.ejs=g)},{"../package.json":6,"./utils":2,fs:3,path:4}],2:[function(W,x,g){"use strict";var p=/[|\\{}()[\]^$+*?.]/g,q=Object.prototype.hasOwnProperty,J=function(y,l){return q.apply(y,[l])};g.escapeRegExpChars=function(y){return y?String(y).replace(p,"\\$&"):""};var de={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"},L=/[&<>'"]/g;function E(y){return de[y]||y}var I=`var _ENCODE_HTML_RULES = {
44      "&": "&amp;"
45    , "<": "&lt;"
46    , ">": "&gt;"
47    , '"': "&#34;"
48    , "'": "&#39;"
49    }
50  , _MATCH_HTML = /[&<>'"]/g;
51function encode_char(c) {
52  return _ENCODE_HTML_RULES[c] || c;
53};
54`;g.escapeXML=function(y){return y==null?"":String(y).replace(L,E)},g.escapeXML.toString=function(){return Function.prototype.toString.call(this)+`;
55`+I},g.shallowCopy=function(y,l){if(l=l||{},y!=null)for(var Z in l)J(l,Z)&&(Z==="__proto__"||Z==="constructor"||(y[Z]=l[Z]));return y},g.shallowCopyFromList=function(y,l,Z){if(Z=Z||[],l=l||{},y!=null)for(var ae=0;ae<Z.length;ae++){var ce=Z[ae];if(typeof l[ce]!="undefined"){if(!J(l,ce)||ce==="__proto__"||ce==="constructor")continue;y[ce]=l[ce]}}return y},g.cache={_data:{},set:function(y,l){this._data[y]=l},get:function(y){return this._data[y]},remove:function(y){delete this._data[y]},reset:function(){this._data={}}},g.hyphenToCamel=function(y){return y.replace(/-[a-z]/g,function(l){return l[1].toUpperCase()})},g.createNullProtoObjWherePossible=(function(){return typeof Object.create=="function"?function(){return Object.create(null)}:{__proto__:null}instanceof Object?function(){return{}}:function(){return{__proto__:null}}})()},{}],3:[function(W,x,g){},{}],4:[function(W,x,g){(function(p){function q(E,I){for(var y=0,l=E.length-1;l>=0;l--){var Z=E[l];Z==="."?E.splice(l,1):Z===".."?(E.splice(l,1),y++):y&&(E.splice(l,1),y--)}if(I)for(;y--;y)E.unshift("..");return E}g.resolve=function(){for(var E="",I=!1,y=arguments.length-1;y>=-1&&!I;y--){var l=y>=0?arguments[y]:p.cwd();if(typeof l!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!l)continue;E=l+"/"+E,I=l.charAt(0)==="/"}return E=q(de(E.split("/"),function(Z){return!!Z}),!I).join("/"),(I?"/":"")+E||"."},g.normalize=function(E){var I=g.isAbsolute(E),y=L(E,-1)==="/";return E=q(de(E.split("/"),function(l){return!!l}),!I).join("/"),!E&&!I&&(E="."),E&&y&&(E+="/"),(I?"/":"")+E},g.isAbsolute=function(E){return E.charAt(0)==="/"},g.join=function(){var E=Array.prototype.slice.call(arguments,0);return g.normalize(de(E,function(I,y){if(typeof I!="string")throw new TypeError("Arguments to path.join must be strings");return I}).join("/"))},g.relative=function(E,I){E=g.resolve(E).substr(1),I=g.resolve(I).substr(1);function y(he){for(var s=0;s<he.length&&he[s]==="";s++);for(var m=he.length-1;m>=0&&he[m]==="";m--);return s>m?[]:he.slice(s,m-s+1)}for(var l=y(E.split("/")),Z=y(I.split("/")),ae=Math.min(l.length,Z.length),ce=ae,le=0;le<ae;le++)if(l[le]!==Z[le]){ce=le;break}for(var oe=[],le=ce;le<l.length;le++)oe.push("..");return oe=oe.concat(Z.slice(ce)),oe.join("/")},g.sep="/",g.delimiter=":",g.dirname=function(E){if(typeof E!="string"&&(E=E+""),E.length===0)return".";for(var I=E.charCodeAt(0),y=I===47,l=-1,Z=!0,ae=E.length-1;ae>=1;--ae)if(I=E.charCodeAt(ae),I===47){if(!Z){l=ae;break}}else Z=!1;return l===-1?y?"/":".":y&&l===1?"/":E.slice(0,l)};function J(E){typeof E!="string"&&(E=E+"");var I=0,y=-1,l=!0,Z;for(Z=E.length-1;Z>=0;--Z)if(E.charCodeAt(Z)===47){if(!l){I=Z+1;break}}else y===-1&&(l=!1,y=Z+1);return y===-1?"":E.slice(I,y)}g.basename=function(E,I){var y=J(E);return I&&y.substr(-1*I.length)===I&&(y=y.substr(0,y.length-I.length)),y},g.extname=function(E){typeof E!="string"&&(E=E+"");for(var I=-1,y=0,l=-1,Z=!0,ae=0,ce=E.length-1;ce>=0;--ce){var le=E.charCodeAt(ce);if(le===47){if(!Z){y=ce+1;break}continue}l===-1&&(Z=!1,l=ce+1),le===46?I===-1?I=ce:ae!==1&&(ae=1):I!==-1&&(ae=-1)}return I===-1||l===-1||ae===0||ae===1&&I===l-1&&I===y+1?"":E.slice(I,l)};function de(E,I){if(E.filter)return E.filter(I);for(var y=[],l=0;l<E.length;l++)I(E[l],l,E)&&y.push(E[l]);return y}var L="ab".substr(-1)==="b"?function(E,I,y){return E.substr(I,y)}:function(E,I,y){return I<0&&(I=E.length+I),E.substr(I,y)}}).call(this,W("_process"))},{_process:5}],5:[function(W,x,g){var p=x.exports={},q,J;function de(){throw new Error("setTimeout has not been defined")}function L(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?q=setTimeout:q=de}catch(s){q=de}try{typeof clearTimeout=="function"?J=clearTimeout:J=L}catch(s){J=L}})();function E(s){if(q===setTimeout)return setTimeout(s,0);if((q===de||!q)&&setTimeout)return q=setTimeout,setTimeout(s,0);try{return q(s,0)}catch(m){try{return q.call(null,s,0)}catch(X){return q.call(this,s,0)}}}function I(s){if(J===clearTimeout)return clearTimeout(s);if((J===L||!J)&&clearTimeout)return J=clearTimeout,clearTimeout(s);try{return J(s)}catch(m){try{return J.call(null,s)}catch(X){return J.call(this,s)}}}var y=[],l=!1,Z,ae=-1;function ce(){!l||!Z||(l=!1,Z.length?y=Z.concat(y):ae=-1,y.length&&le())}function le(){if(!l){var s=E(ce);l=!0;for(var m=y.length;m;){for(Z=y,y=[];++ae<m;)Z&&Z[ae].run();ae=-1,m=y.length}Z=null,l=!1,I(s)}}p.nextTick=function(s){var m=new Array(arguments.length-1);if(arguments.length>1)for(var X=1;X<arguments.length;X++)m[X-1]=arguments[X];y.push(new oe(s,m)),y.length===1&&!l&&E(le)};function oe(s,m){this.fun=s,this.array=m}oe.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={};function he(){}p.on=he,p.addListener=he,p.once=he,p.off=he,p.removeListener=he,p.removeAllListeners=he,p.emit=he,p.prependListener=he,p.prependOnceListener=he,p.listeners=function(s){return[]},p.binding=function(s){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(s){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],6:[function(W,x,g){x.exports={name:"ejs",description:"Embedded JavaScript templates",keywords:["template","engine","ejs"],version:"3.1.8",author:"Matthew Eernisse <[email protected]> (http://fleegix.org)",license:"Apache-2.0",bin:{ejs:"./bin/cli.js"},main:"./lib/ejs.js",jsdelivr:"ejs.min.js",unpkg:"ejs.min.js",repository:{type:"git",url:"git://github.com/mde/ejs.git"},bugs:"https://github.com/mde/ejs/issues",homepage:"https://github.com/mde/ejs",dependencies:{jake:"^10.8.5"},devDependencies:{browserify:"^16.5.1",eslint:"^6.8.0","git-directory-deploy":"^1.5.1",jsdoc:"^3.6.7","lru-cache":"^4.0.1",moch
55a:"^7.1.1","uglify-js":"^3.3.16"},engines:{node:">=0.10.0"},scripts:{test:"mocha"}}},{}]},{},[1])(1)});function PrayTimes(S){var k={imsak:"Imsak",fajr:"Fajr",sunrise:"Sunrise",dhuhr:"Dhuhr",asr:"Asr",sunset:"Sunset",maghrib:"Maghrib",isha:"Isha",midnight:"Midnight"},ie={MWL:{name:"Muslim World League",params:{fajr:18,isha:17}},ISNA:{name:"Islamic Society of North America (ISNA)",params:{fajr:15,isha:15}},Egypt:{name:"Egyptian General Authority of Survey",params:{fajr:19.5,isha:17.5}},Makkah:{name:"Umm Al-Qura University, Makkah",params:{fajr:18.5,isha:"90 min"}},Karachi:{name:"University of Islamic Sciences, Karachi",params:{fajr:18,isha:18}},Tehran:{name:"Institute of Geophysics, University of Tehran",params:{fajr:17.7,isha:14,maghrib:4.5,midnight:"Jafari"}},Jafari:{name:"Shia Ithna-Ashari, Leva Institute, Qum",params:{fajr:16,isha:14,maghrib:4,midnight:"Jafari"}}},W={maghrib:"0 min",midnight:"Standard"},x="MWL",g={imsak:"10 min",dhuhr:"0 min",asr:"Standard",highLats:"NightMiddle"},p="24h",q=["am","pm"],J="-----",de=1,L={},E,I,y,l,Z,ae=W;for(var ce in ie){var oe=ie[ce].params;for(var le in ae)typeof oe[le]=="undefined"&&(oe[le]=ae[le])}x=ie[S]?S:x;var oe=ie[x].params;for(var he in oe)g[he]=oe[he];for(var ce in k)L[ce]=0;return{setMethod:function(s){ie[s]&&(this.adjust(ie[s].params),x=s)},adjust:function(s){for(var m in s)g[m]=s[m]},tune:function(s){for(var m in s)L[m]=s[m]},getMethod:function(){return x},getSetting:function(){return g},getOffsets:function(){return L},getDefaults:function(){return ie},getTimes:function(s,m,X,ne,pe){return E=1*m[0],I=1*m[1],y=m[2]?1*m[2]:0,p=pe||p,s.constructor===Date&&(s=[s.getFullYear(),s.getMonth()+1,s.getDate()]),(typeof X=="undefined"||X=="auto")&&(X=this.getTimeZone(s)),(typeof ne=="undefined"||ne=="auto")&&(ne=this.getDst(s)),l=1*X+(1*ne?1:0),Z=this.julian(s[0],s[1],s[2])-I/360,this.computeTimes()},getFormattedTime:function(s,m,X){if(isNaN(s))return J;if(m=="Float")return s;X=X||q,s=DMath.fixHour(s+.5/60);var ne=Math.floor(s),pe=Math.floor((s-ne)*60),be=m=="12h"?X[ne<12?0:1]:"",Ce=m=="24h"?this.twoDigitsFormat(ne):(ne+12-1)%12+1;return Ce+":"+this.twoDigitsFormat(pe)+(be?" "+be:"")},midDay:function(s){var m=this.sunPosition(Z+s).equation,X=DMath.fixHour(12-m);return X},sunAngleTime:function(s,m,X){var ne=this.sunPosition(Z+m).declination,pe=this.midDay(m),be=1/15*DMath.arccos((-DMath.sin(s)-DMath.sin(ne)*DMath.sin(E))/(DMath.cos(ne)*DMath.cos(E)));return pe+(X=="ccw"?-be:be)},asrTime:function(s,m){var X=this.sunPosition(Z+m).declination,ne=-DMath.arccot(s+DMath.tan(Math.abs(E-X)));return this.sunAngleTime(ne,m)},sunPosition:function(s){var m=s-2451545,X=DMath.fixAngle(357.529+.98560028*m),ne=DMath.fixAngle(280.459+.98564736*m),pe=DMath.fixAngle(ne+1.915*DMath.sin(X)+.02*DMath.sin(2*X)),be=1.00014-.01671*DMath.cos(X)-14e-5*DMath.cos(2*X),Ce=23.439-36e-8*m,Re=DMath.arctan2(DMath.cos(Ce)*DMath.sin(pe),DMath.cos(pe))/15,fe=ne/15-DMath.fixHour(Re),d=DMath.arcsin(DMath.sin(Ce)*DMath.sin(pe));return{declination:d,equation:fe}},julian:function(s,m,X){m<=2&&(s-=1,m+=12);var ne=Math.floor(s/100),pe=2-ne+Math.floor(ne/4),be=Math.floor(365.25*(s+4716))+Math.floor(30.6001*(m+1))+X+pe-1524.5;return be},computePrayerTimes:function(s){s=this.dayPortion(s);var m=g,X=this.sunAngleTime(this.eval(m.imsak),s.imsak,"ccw"),ne=this.sunAngleTime(this.eval(m.fajr),s.fajr,"ccw"),pe=this.sunAngleTime(this.riseSetAngle(),s.sunrise,"ccw"),be=this.midDay(s.dhuhr),Ce=this.asrTime(this.asrFactor(m.asr),s.asr),Re=this.sunAngleTime(this.riseSetAngle(),s.sunset),fe=this.sunAngleTime(this.eval(m.maghrib),s.maghrib),d=this.sunAngleTime(this.eval(m.isha),s.isha);return{imsak:X,fajr:ne,sunrise:pe,dhuhr:be,asr:Ce,sunset:Re,maghrib:fe,isha:d}},computeTimes:function(){for(var s={imsak:5,fajr:5,sunrise:6,dhuhr:12,asr:13,sunset:18,maghrib:18,isha:18},m=1;m<=de;m++)s=this.computePrayerTimes(s);return s=this.adjustTimes(s),s.midnight=g.midnight=="Jafari"?s.sunset+this.timeDiff(s.sunset,s.fajr)/2:s.sunset+this.timeDiff(s.sunset,s.sunrise)/2,s=this.tuneTimes(s),this.modifyFormats(s)},adjustTimes:function(s){var m=g;for(var X in s)s[X]+=l-I/15;return m.highLats!="None"&&(s=this.adjustHighLats(s)),this.isMin(m.imsak)&&(s.imsak=s.fajr-this.eval(m.imsak)/60),this.isMin(m.maghrib)&&(s.maghrib=s.sunset+this.eval(m.maghrib)/60),this.isMin(m.isha)&&
55(s.isha=s.maghrib+this.eval(m.isha)/60),s.dhuhr+=this.eval(m.dhuhr)/60,s},asrFactor:function(s){var m={Standard:1,Hanafi:2}[s];return m||this.eval(s)},riseSetAngle:function(){var s=.0347*Math.sqrt(y);return .833+s},tuneTimes:function(s){for(var m in s)s[m]+=L[m]/60;return s},modifyFormats:function(s){for(var m in s)s[m]=this.getFormattedTime(s[m],p);return s},adjustHighLats:function(s){var m=g,X=this.timeDiff(s.sunset,s.sunrise);return s.imsak=this.adjustHLTime(s.imsak,s.sunrise,this.eval(m.imsak),X,"ccw"),s.fajr=this.adjustHLTime(s.fajr,s.sunrise,this.eval(m.fajr),X,"ccw"),s.isha=this.adjustHLTime(s.isha,s.sunset,this.eval(m.isha),X),s.maghrib=this.adjustHLTime(s.maghrib,s.sunset,this.eval(m.maghrib),X),s},adjustHLTime:function(s,m,X,ne,pe){var be=this.nightPortion(X,ne),Ce=pe=="ccw"?this.timeDiff(s,m):this.timeDiff(m,s);return(isNaN(s)||Ce>be)&&(s=m+(pe=="ccw"?-be:be)),s},nightPortion:function(s,m){var X=g.highLats,ne=1/2;return X=="AngleBased"&&(ne=1/60*s),X=="OneSeventh"&&(ne=1/7),ne*m},dayPortion:function(s){for(var m in s)s[m]/=24;return s},getTimeZone:function(s){var m=s[0],X=this.gmtOffset([m,0,1]),ne=this.gmtOffset([m,6,1]);return Math.min(X,ne)},getDst:function(s){return 1*(this.gmtOffset(s)!=this.getTimeZone(s))},gmtOffset:function(s){var m=new Date(s[0],s[1]-1,s[2],12,0,0,0),X=m.toGMTString(),ne=new Date(X.substring(0,X.lastIndexOf(" ")-1)),pe=(m-ne)/(1e3*60*60);return pe},eval:function(s){return 1*(s+"").split(/[^0-9.+-]/)[0]},isMin:function(s){return(s+"").indexOf("min")!=-1},timeDiff:function(s,m){return DMath.fixHour(m-s)},twoDigitsFormat:function(s){return s<10?"0"+s:s}}}var DMath={dtr:function(S){return S*Math.PI/180},rtd:function(S){return S*180/Math.PI},sin:function(S){return Math.sin(this.dtr(S))},cos:function(S){return Math.cos(this.dtr(S))},tan:function(S){return Math.tan(this.dtr(S))},arcsin:function(S){return this.rtd(Math.asin(S))},arccos:function(S){return this.rtd(Math.acos(S))},arctan:function(S){return this.rtd(Math.atan(S))},arccot:function(S){return this.rtd(Math.atan(1/S))},arctan2:function(S,k){return this.rtd(Math.atan2(S,k))},fixAngle:function(S){return this.fix(S,360)},fixHour:function(S){return this.fix(S,24)},fix:function(S,k){return S=S-k*Math.floor(S/k),S<0?S+k:S}},prayTimes=new PrayTimes;if(Prayer={getTimes:function(S,k){typeof k=="undefined"&&(k=8);var ie=ejs.render(S.innerHTML,{times:Prayer.getTimesObject(Prayer.getGeoLocation(k)),i18n:window.i18n,masterConfig:window.masterConfig});ie=ie.replace(/<script/g,"<div"),ie=ie.replace(/type="text\/plain"/g,""),document.querySelector("#prayer-output").innerHTML=ie},getTimesObject:function(S){var k=new PrayTimes("Jafari");return k.getTimes(window.currentTime,[S.Latitude,S.Longitude],3.5)},getGeoLocation:function(S){var k={};switch(S=parseInt(S),S){case 1:k={Latitude:"38.052",Longitude:"46.28",Altitude:"1180"};break;case 2:k={Latitude:"37.5296",Longitude:"45.0465",Altitude:"1180"};break;case 3:k={Latitude:"38.24",Longitude:"48.29",Altitude:"1180"};break;case 4:k={Latitude:"32.65",Longitude:"51.67",Altitude:"1180"};break;case 5:k={Latitude:"35.48",Longitude:"50.57",Altitude:"1180"};break;case 6:k={Latitude:"33.63",Longitude:"46.45",Altitude:"1180"};break;case 7:k={Latitude:"28.92",Longitude:"50.83",Altitude:"1180"};break;case 8:k={Latitude:"35.7",Longitude:"51.4",Altitude:"1180"};break;case 9:k={Latitude:"32.35",Longitude:"50.82",Altitude:"1180"};break;case 10:k={Latitude:"32.84",Longitude:"59.29",Altitude:"1180"};break;case 11:k={Latitude:"36.19",Longitude:"59.37",Altitude:"1180"};break;case 12:k={Latitude:"37.45",Longitude:"57.32",Altitude:"2222"};break;case 13:k={Latitude:"31.24",Longitude:"48.49",Altitude:"1180"};break;case 14:k={Latitude:"36.40",Longitude:"48.31",Altitude:"1180"};break;case 15:k={Latitude:"35.33",Longitude:"53.22",Altitude:"1180"};break;case 16:k={Latitude:"29.45",Longitude:"60.85",Altitude:"1180"};break;case 17:k={Latitude:"29.39",Longitude:"52.35",Altitude:"1180"};break;case 18:k={Latitude:"36.15",Longitude:"50.01",Altitude:"1180"};break;case 19:k={Latitude:"34.49",Longitude:"50.56",Altitude:"1180"};break;case 20:k={Latitude:"35.18",Longitude:"47.06",Altitude:"1180"};break;case 21:k={Latitude:"30.03",Longitude:"57.01",Altitude:"1180"};break;case 22:k={Latitude:"34.23",Longitude:"47.03",Altitude:"1180"};break;case 23:k={Latitude:"39.25",Longitude:"51.36",Altitude:"1180"};break;case 24:k={Latitude:"36.86",Longitude:"54.44",Altitude:"1180"};break;case 25:k={Latitude:"37.18",Longitude:"49.36",Altitude:"1180"};break;case 26:k={Latitude:"33.46",Longitude:"48.35",Altitude:"1180"};break;case 27:k={Latitude:"36.33",Longitude:"53.06",Altitude:"1180"};break;case 28:k={Latitude:"34.06",Longitude:"49.41",Altitude:"1180"};break;case 29:k={Latitude:"27.17",Longitude:"56.26",Altitude:"1180"};break;case 30:k={Latitude:"36.46",Longitude:"48.34",Altitude:"1180"};break;case 31:k={Latitude:"32",Longitude:"54.4",Altitude:"1180"};break;default:k={Latitude:"35.696111",Longitude:"51.423055",Altitude:"1180"};break}return k}},(function(S,k){String.prototype.escape=function(){return this.replace(/&[^a][^m][^p][^;]/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")},String.prototype.unescapeHtml=function(){var W=k.createElement("div");W.innerHTML=this;var x=W.childNodes[0].nodeValue;return W.removeChild(W.firstChild),x},S.setInterval(function(){S.currentTime.setTime(S.currentTime.getTime()+1e3)},1e3),S.v2Storage={prefix:"_sv2_",get:function(W,x){x=typeof x!="undefined"?x:!1;var g=S.localStorage.getItem(this.prefix+W);return g===null?x:(data=JSON.parse(g),"t"in data&&new Date(data.t)>=new Date?data.v:x)},hasItem:function(W){var x=S.localStorage.getItem(this.prefix+W);return x===null?defaultValue:(data=JSON.parse(x),"t"in data&&new Date(data.t)>=new Date)},set:function(W,x,g){g=typeof g!="undefined"?g:86400;var p=new Date;p.setTime(p.getTime()+g*1e3),S.localStorage.setItem(this.prefix+W,JSON.stringify({t:p.toString(),v:x}))}},S.appendHit=function(W,x){W in S.modelHits||(S.modelHits[W]=[]),S.modelHits[W].push(x)},S.tra=function(W,x,g){return typeof x=="undefined"&&(x=[]),typeof g=="undefined"&&(g=[]),typeof S.i18n[W]=="undefined"?"":(typeof g.escape!="undefined"&&g.escape===!0&&(x=x.map(function(p){return p.escape()})),vsprintf(S.i18n[W],x))};var ie=function(){var W="frontI18n:"+masterConfig.lang+":"+masterConfig.v,x=S.v2Storage.get(W,!1);if(x===!1){var g=masterConfig.baseUrl+"statics/i18n/?v="+masterConfig.v,p=new XMLHttpRequest;p.open("GET",g,!1),p.onreadystatechange=function(){p.readyState===4&&p.status===200&&(x=JSON.parse(p.responseText),S.v2Storage.set(W,x),S.i18n=x)},p.send()}else S.i18n=x};ie(),"Clients"in S&&Clients.sync(function(W){},function(){}),S.showAdvPanel=function(){for(var W=k.querySelectorAll(".faketabliqholder"),x=0;x<W.length;x++){var g=W[x].dataset.adHelperSizes.split("x");
55W[x].innerHTML="<strong>"+W[x].dataset.adHelperPosname+"<br />"+g[0]+" x "+g[1]+"<strong>",W[x].style.width=g[0]+"px",W[x].style.height=g[1]+"px",W[x].style.background="radial-gradient(#00e30e, #600, #300)",W[x].style.position="relative",W[x].style.direction="ltr",W[x].style.fontFamily='"Courier New", Courier, monospace',W[x].style.fontSize="12px";for(var p=W[x].querySelectorAll("strong"),q=0;q<p.length;q++)p[q].style.fontFamily='"Courier New", Courier, monospace',p[q].style.fontSize="12px",p[q].style.color="#fff",p[q].style.display="block",p[q].style.position="absolute",p[q].style.top="8px",p[q].style.left="8px"}},S.isAdverHolderMode&&S.addEventListener("load",function(){S.showAdvPanel()})})(window,document),typeof ContactForm!="function")var ContactForm=function(k,ie){var W=this;this.callbacks={onSubmit:function(){},onError:function(){},onSuccess:function(){}},this.callbacks=Object.assign(this.callbacks,ie),k.addEventListener("submit",function(x){x.preventDefault(),W.callbacks.onSubmit();var g=new FormData(k),p=new XMLHttpRequest;return p.open("POST",masterConfig.baseUrl+"contactus/submit/"),p.onload=function(){p.status===200?W.callbacks.onSuccess():W.callbacks.onError()},p.send(g),!1})};
56//# sourceMappingURL=frameworks.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.