芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/rentandbuyrealty.com/themes/landing3/js/index.bundle.js
/*! For license information please see index.bundle.js.LICENSE.txt */ (()=>{var e,t={195:()=>{},647:(e,t,n)=>{"use strict";var r=n(169),o=n(443),a=n.n(o);document.querySelectorAll("[data-video]").forEach((function(e){new(a())(e)})),document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach((e=>{new r.u(e)})),n(316);var i=n(631),s=n.n(i);const l=document.querySelector("body");new(s())(l,{tolerance:{up:5,down:10}}).init();var c=n(740);document.querySelectorAll("[data-carousel]").forEach((function(e){const t=JSON.parse(e.dataset.carousel);t.container=e,t.controlsText=['
','
'],(0,c.W)(t)})),n(660),n(439),n(781),n(206),n(263);var u,f,d,p,v=n(711),m=n.n(v);m().init({duration:800}),u=document.body,f=function(){m().refresh()},p=u.clientHeight,function e(){d=u.clientHeight,p!==d&&f(),p=d,u.heightChangeTimer&&clearTimeout(u.heightChangeTimer),u.heightChangeTimer=setTimeout(e,200)}(),n(261);var g=n(802),h=n.n(g);window.onload=function(){h().init({forceHeight:!1,mobileCheck:function(){return!1}})};var y=n(765),b=n.n(y);document.querySelectorAll("[data-bp]").forEach((e=>{const t=JSON.parse(e.dataset.bp);e.addEventListener("click",(e=>{let n={el:e.target,noLoader:!0};if(t.parentGalleryClass){const e=document.querySelectorAll(`.${t.parentGalleryClass} [data-bp]`);let r=[];e.forEach((e=>{const t=JSON.parse(e.dataset.bp).imgSrc;r.push({src:t})}));const o=r.findIndex((e=>e.src===t.imgSrc));n.gallery=r,n.position=o}b()({...n,...t})}))}));var T=n(564),S=n.n(T),w=n(391),E=n.n(w);const k=document.querySelectorAll("[data-isotope]");document.querySelectorAll("[data-filter]").forEach((function(e){e.addEventListener("click",(()=>{const t=e.dataset.filter,n=e.dataset.target,r=e.parentNode.querySelectorAll("button");for(var o=0;o
{document.querySelectorAll("[data-countdown]").forEach((function(e){setInterval((function(){var t=e.dataset.countdown;function n(e){return e<10&&e>=0?"0"+e:e}var r=new Date(t).getTime()-(new Date).getTime(),o=Math.floor(r/864e5),a=Math.floor(r%864e5/36e5),i=Math.floor(r%36e5/6e4),s=Math.floor(r%6e4/1e3);const l=`
${o=n(o)}
days
`,c=`
${a=n(a)}
hours
`,u=`
${i=n(i)}
minutes
`,f=`
${s=n(s)}
seconds
`;e.innerHTML=l+c+u+f}),10)}))},334:()=>{document.querySelectorAll(".counter").forEach((function(e){const t=e.querySelector(".counter-plus"),n=e.querySelector(".counter-minus"),r=e.querySelector(".counter-value");t.addEventListener("click",(function(){const e=parseInt(r.value);isNaN(e)?r.value=parseInt(0):r.value=parseInt(r.value)+1})),n.addEventListener("click",(function(){const e=parseInt(r.value);!isNaN(e)&&e>0?r.value=parseInt(r.value)-1:r.value=parseInt(0)}))}))},824:()=>{document.querySelectorAll(".grouped-inputs").forEach((function(e){e.querySelectorAll("input, select").forEach((function(t){t.addEventListener("focus",(function(){e.classList.add("focused")})),t.addEventListener("blur",(function(){e.classList.remove("focused")}))}))}))},261:()=>{const e=document.querySelectorAll(".navbar"),t=document.body;e.forEach((function(e){e.addEventListener("hide.bs.collapse",(function(){t.classList.remove("navbar-active")})),e.addEventListener("show.bs.collapse",(function(){setTimeout((()=>{t.classList.add("navbar-active")}),0)}))}))},598:()=>{const e=document.querySelectorAll(".offcanvas"),t=document.querySelector("body");e.forEach((function(e){e.addEventListener("show.bs.offcanvas",(function(){t.classList.add("offcanvas-push")})),e.addEventListener("hide.bs.offcanvas",(function(){t.classList.remove("offcanvas-push")}))}))},802:(e,t,n)=>{var r;!function(o,a,i){"use strict";function s(e){if(l=a.documentElement,c=a.body,J(),ae=this,ue=(e=e||{}).constants||{},e.easing)for(var t in e.easing)U[t]=e.easing[t];he=e.edgeStrategy||"set",le={beforerender:e.beforerender,render:e.render,keyframe:e.keyframe},(ce=!1!==e.forceHeight)&&(He=e.scale||1),fe=e.mobileDeceleration||L,pe=!1!==e.smoothScrolling,ve=e.smoothScrollingDuration||O,me={targetTop:ae.getScrollTop()},(ze=(e.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||o.opera)})())?((se=a.getElementById("skrollr-body"))&&oe(),Y(),Oe(l,[w,A],[E])):Oe(l,[w,k],[E]),ae.refresh(),Te(o,"resize orientationchange",(function(){var e=l.clientWidth,t=l.clientHeight;(t!==je||e!==$e)&&(je=t,$e=e,Ve=!0)}));var n=K();return function e(){X(),be=n(e)}(),ae}var l,c,u={get:function(){return ae},init:function(e){return ae||new s(e)},VERSION:"0.6.26"},f=Object.prototype.hasOwnProperty,d=o.Math,p=o.getComputedStyle,v="touchstart",m="touchmove",g="touchcancel",h="touchend",y="skrollable",b=y+"-before",T=y+"-between",S=y+"-after",w="skrollr",E="no-"+w,k=w+"-desktop",A=w+"-mobile",x="linear",L=.004,O=200,q="center",F="bottom",C="___skrollable_id",I=/^(?:input|textarea|button|select)$/i,N=/^\s+|\s+$/g,H=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,M=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,D=/^(@?[a-z\-]+)\[(\w+)\]$/,P=/-([a-z0-9_])/g,$=function(e,t){return t.toUpperCase()},j=/[\-+]?[\d]*\.?[\d]+/g,V=/\{\?\}/g,_=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,z=/[a-z\-]+-gradient/g,B="",G="",J=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(p){var t=p(c,null);for(var n in t)if(B=n.match(e)||+n==n&&t[n].match(e))break;if(!B)return B=G="",i;"-"===(B=B[0]).slice(0,1)?(G=B,B={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[B]):G="-"+B.toLowerCase()+"-"}},K=function(){var e=o.requestAnimationFrame||o[B.toLowerCase()+"RequestAnimationFrame"],t=Ce();return(ze||!e)&&(e=function(e){var n=Ce()-t,r=d.max(0,1e3/60-n);return o.setTimeout((function(){t=Ce(),e()}),r)}),e},U={begin:function(){return 0},end:function(){return 1},linear:function(e){return e},quadratic:function(e){return e*e},cubic:function(e){return e*e*e},swing:function(e){return-d.cos(e*d.PI)/2+.5},sqrt:function(e){return d.sqrt(e)},outCubic:function(e){return d.pow(e-1,3)+1},bounce:function(e){var t;if(.5083>=e)t=3;else if(.8489>=e)t=9;else if(.96208>=e)t=27;else{if(!(.99981>=e))return 1;t=91}return 1-d.abs(3*d.cos(1.028*e*t)/t)}};s.prototype.refresh=function(e){var t,n,r=!1;for(e===i?(r=!0,ie=[],_e=0,e=a.getElementsByTagName("*")):e.length===i&&(e=[e]),t=0,n=e.length;n>t;t++){var o=e[t],s=o,l=[],c=pe,u=he,f=!1;if(r&&C in o&&delete o[C],o.attributes){for(var d=0,p=o.attributes.length;p>d;d++){var v=o.attributes[d];if("data-anchor-target"!==v.name)if("data-smooth-scrolling"!==v.name)if("data-edge-strategy"!==v.name)if("data-emit-events"!==v.name){var m=v.name.match(H);if(null!==m){var g={props:v.value,element:o,eventType:v.name.replace(P,$)};l.push(g);var h=m[1];h&&(g.constant=h.substr(1));var b=m[2];/p$/.test(b)?(g.isPercentage=!0,g.offset=(0|b.slice(0,-1))/100):g.offset=0|b;var T=m[3],S=m[4]||T;T&&"start"!==T&&"end"!==T?(g.mode="relative",g.anchors=[T,S]):(g.mode="absolute","end"===T?g.isEnd=!0:g.isPercentage||(g.offset=g.offset*He))}}else f=!0;else u=v.value;else c="off"!==v.value;else if(null===(s=a.querySelector(v.value)))throw'Unable to find anchor target "'+v.value+'"'}var w,E,k;l.length&&(!r&&C in o?(k=o[C],w=ie[k].styleAttr,E=ie[k].classAttr):(k=o[C]=_e++,w=o.style.cssText,E=Le(o)),ie[k]={element:o,styleAttr:w,classAttr:E,anchorTarget:s,keyFrames:l,smoothScrolling:c,edgeStrategy:u,emitEvents:f,lastFrameIndex:-1},Oe(o,[y],[]))}}for(ke(),t=0,n=e.length;n>t;t++){var A=ie[e[t][C]];A!==i&&(W(A),Q(A))}return ae},s.prototype.relativeToAbsolute=function(e,t,n){var r=l.clientHeight,o=e.getBoundingClientRect(),a=o.top,i=o.bottom-o.top;return t===F?a-=r:t===q&&(a-=r/2),n===F?a+=i:n===q&&(a+=i/2),0|(a+=ae.getScrollTop())+.5},s.prototype.animateTo=function(e,t){t=t||{};var n=Ce(),r=ae.getScrollTop();return(de={startTop:r,topDiff:e-r,targetTop:e,duration:t.duration||1e3,startTime:n,endTime:n+(t.duration||1e3),easing:U[t.easing||x],done:t.done}).topDiff||(de.done&&de.done.call(ae,!1),de=i),ae},s.prototype.stopAnimateTo=function(){de&&de.done&&de.done.call(ae,!0),de=i},s.prototype.isAnimatingTo=function(){return!!de},s.prototype.isMobile=function(){return ze},s.prototype.setScrollTop=function(e,t){return ge=!0===t,ze?Be=d.min(d.max(e,0),Ne):o.scrollTo(0,e),ae},s.prototype.getScrollTop=function(){return ze?Be:o.pageYOffset||l.scrollTop||c.scrollTop||0},s.prototype.getMaxScrollTop=function(){return Ne},s.prototype.on=function(e,t){return le[e]=t,ae},s.prototype.off=function(e){return delete le[e],ae},s.prototype.destroy=function(){(function(){var e=o.cancelAnimationFrame||o[B.toLowerCase()+"CancelAnimationFrame"];return(ze||!e)&&(e=function(e){return o.clearTimeout(e)}),e})()(be),we(),Oe(l,[E],[w,k,A]);for(var e=0,t=ie.length;t>e;e++)re(ie[e].element);l.style.overflow=c.style.overflow="",l.style.height=c.style.height="",se&&u.setStyle(se,"transform","none"),ae=i,se=i,le=i,ce=i,Ne=0,He=1,ue=i,fe=i,Me="down",De=-1,$e=0,je=0,Ve=!1,de=i,pe=i,ve=i,me=i,ge=i,_e=0,he=i,ze=!1,Be=0,ye=i};var Y=function(){var e,t,n,r,s,u,f,p,y,b,T;Te(l,[v,m,g,h].join(" "),(function(o){var l=o.changedTouches[0];for(r=o.target;3===r.nodeType;)r=r.parentNode;switch(s=l.clientY,u=l.clientX,y=o.timeStamp,I.test(r.tagName)||o.preventDefault(),o.type){case v:e&&e.blur(),ae.stopAnimateTo(),e=r,t=f=s,n=u;break;case m:I.test(r.tagName)&&a.activeElement!==r&&o.preventDefault(),p=s-f,T=y-b,ae.setScrollTop(Be-p,!0),f=s,b=y;break;default:case g:case h:var c=t-s,S=n-u;if(49>S*S+c*c){if(!I.test(e.tagName)){e.focus();var w=a.createEvent("MouseEvents");w.initMouseEvent("click",!0,!0,o.view,1,l.screenX,l.screenY,l.clientX,l.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,0,null),e.dispatchEvent(w)}return}e=i;var E=p/T;E=d.max(d.min(E,3),-3);var k=d.abs(E/fe),A=E*k+.5*fe*k*k,x=ae.getScrollTop()-A,L=0;x>Ne?(L=(Ne-x)/A,x=Ne):0>x&&(L=-x/A,x=0),k*=1-L,ae.animateTo(0|x+.5,{easing:"outCubic",duration:k})}})),o.scrollTo(0,0),l.style.overflow=c.style.overflow="hidden"},R=function(e,t){for(var n=0,r=ie.length;r>n;n++){var o,a,i=ie[n],s=i.element,l=i.smoothScrolling?e:t,c=i.keyFrames,d=c.length,p=c[0],v=c[c.length-1],m=p.frame>l,g=l>v.frame,h=m?p:v,w=i.emitEvents,E=i.lastFrameIndex;if(m||g){if(m&&-1===i.edge||g&&1===i.edge)continue;switch(m?(Oe(s,[b],[S,T]),w&&E>-1&&(Ee(s,p.eventType,Me),i.lastFrameIndex=-1)):(Oe(s,[S],[b,T]),w&&d>E&&(Ee(s,v.eventType,Me),i.lastFrameIndex=d)),i.edge=m?-1:1,i.edgeStrategy){case"reset":re(s);continue;case"ease":l=h.frame;break;default:case"set":var k=h.props;for(o in k)f.call(k,o)&&(a=ne(k[o].value),0===o.indexOf("@")?s.setAttribute(o.substr(1),a):u.setStyle(s,o,a));continue}}else 0!==i.edge&&(Oe(s,[y,T],[b,S]),i.edge=0);for(var A=0;d-1>A;A++)if(l>=c[A].frame&&c[A+1].frame>=l){var x=c[A],L=c[A+1];for(o in x.props)if(f.call(x.props,o)){var O=(l-x.frame)/(L.frame-x.frame);O=x.props[o].easing(O),a=te(x.props[o].value,L.props[o].value,O),a=ne(a),0===o.indexOf("@")?s.setAttribute(o.substr(1),a):u.setStyle(s,o,a)}w&&E!==A&&(Ee(s,"down"===Me?x.eventType:L.eventType,Me),i.lastFrameIndex=A);break}}},X=function(){Ve&&(Ve=!1,ke());var e,t,n=ae.getScrollTop(),r=Ce();if(de?(r>=de.endTime?(n=de.targetTop,e=de.done,de=i):(t=de.easing((r-de.startTime)/de.duration),n=0|de.startTop+t*de.topDiff),ae.setScrollTop(n,!0)):ge||(me.targetTop-n&&(me={startTop:De,topDiff:n-De,targetTop:n,startTime:Pe,endTime:Pe+ve}),me.endTime>=r&&(t=U.sqrt((r-me.startTime)/ve),n=0|me.startTop+t*me.topDiff)),ze&&se&&u.setStyle(se,"transform","translate(0, "+-Be+"px) "+ye),ge||De!==n){ge=!1;var o={curTop:n,lastTop:De,maxTop:Ne,direction:Me=n>De?"down":De>n?"up":Me};!1!==(le.beforerender&&le.beforerender.call(ae,o))&&(R(n,ae.getScrollTop()),De=n,le.render&&le.render.call(ae,o)),e&&e.call(ae,!1)}Pe=r},W=function(e){for(var t=0,n=e.keyFrames.length;n>t;t++){for(var r,o,a,i,s=e.keyFrames[t],l={};null!==(i=M.exec(s.props));)a=i[1],o=i[2],null!==(r=a.match(D))?(a=r[1],r=r[2]):r=x,o=o.indexOf("!")?Z(o):[o.slice(1)],l[a]={value:o,easing:U[r]};s.props=l}},Z=function(e){var t=[];return _.lastIndex=0,e=e.replace(_,(function(e){return e.replace(j,(function(e){return e/255*100+"%"}))})),G&&(z.lastIndex=0,e=e.replace(z,(function(e){return G+e}))),e=e.replace(j,(function(e){return t.push(+e),"{?}"})),t.unshift(e),t},Q=function(e){var t,n,r={};for(t=0,n=e.keyFrames.length;n>t;t++)ee(e.keyFrames[t],r);for(r={},t=e.keyFrames.length-1;t>=0;t--)ee(e.keyFrames[t],r)},ee=function(e,t){var n;for(n in t)f.call(e.props,n)||(e.props[n]=t[n]);for(n in e.props)t[n]=e.props[n]},te=function(e,t,n){var r,o=e.length;if(o!==t.length)throw"Can't interpolate between \""+e[0]+'" and "'+t[0]+'"';var a=[e[0]];for(r=1;o>r;r++)a[r]=e[r]+(t[r]-e[r])*n;return a},ne=function(e){var t=1;return V.lastIndex=0,e[0].replace(V,(function(){return e[t++]}))},re=function(e,t){for(var n,r,o=0,a=(e=[].concat(e)).length;a>o;o++)r=e[o],(n=ie[r[C]])&&(t?(r.style.cssText=n.dirtyStyleAttr,Oe(r,n.dirtyClassAttr)):(n.dirtyStyleAttr=r.style.cssText,n.dirtyClassAttr=Le(r),r.style.cssText=n.styleAttr,Oe(r,n.classAttr)))},oe=function(){ye="translateZ(0)",u.setStyle(se,"transform",ye);var e=p(se),t=e.getPropertyValue("transform"),n=e.getPropertyValue(G+"transform");t&&"none"!==t||n&&"none"!==n||(ye="")};u.setStyle=function(e,t,n){var r=e.style;if("zIndex"===(t=t.replace(P,$).replace("-","")))r[t]=isNaN(n)?n:""+(0|n);else if("float"===t)r.styleFloat=r.cssFloat=n;else try{B&&(r[B+t.slice(0,1).toUpperCase()+t.slice(1)]=n),r[t]=n}catch(e){}};var ae,ie,se,le,ce,ue,fe,de,pe,ve,me,ge,he,ye,be,Te=u.addEvent=function(e,t,n){for(var r,a=function(e){return(e=e||o.event).target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1,e.defaultPrevented=!0}),n.call(this,e)},i=0,s=(t=t.split(" ")).length;s>i;i++)r=t[i],e.addEventListener?e.addEventListener(r,n,!1):e.attachEvent("on"+r,a),Ge.push({element:e,name:r,listener:n})},Se=u.removeEvent=function(e,t,n){for(var r=0,o=(t=t.split(" ")).length;o>r;r++)e.removeEventListener?e.removeEventListener(t[r],n,!1):e.detachEvent("on"+t[r],n)},we=function(){for(var e,t=0,n=Ge.length;n>t;t++)e=Ge[t],Se(e.element,e.name,e.listener);Ge=[]},Ee=function(e,t,n){le.keyframe&&le.keyframe.call(ae,e,t,n)},ke=function(){var e=ae.getScrollTop();Ne=0,ce&&!ze&&(c.style.height=""),function(){var e,t,n,r,o,a,i,s,c,u,f,p=l.clientHeight,v=Ae();for(s=0,c=ie.length;c>s;s++)for(t=(e=ie[s]).element,n=e.anchorTarget,o=0,a=(r=e.keyFrames).length;a>o;o++)u=(i=r[o]).offset,f=v[i.constant]||0,i.frame=u,i.isPercentage&&(u*=p,i.frame=u),"relative"===i.mode&&(re(t),i.frame=ae.relativeToAbsolute(n,i.anchors[0],i.anchors[1])-u,re(t,!0)),i.frame+=f,ce&&!i.isEnd&&i.frame>Ne&&(Ne=i.frame);for(Ne=d.max(Ne,xe()),s=0,c=ie.length;c>s;s++){for(o=0,a=(r=(e=ie[s]).keyFrames).length;a>o;o++)f=v[(i=r[o]).constant]||0,i.isEnd&&(i.frame=Ne-i.offset+f);e.keyFrames.sort(Ie)}}(),ce&&!ze&&(c.style.height=Ne+l.clientHeight+"px"),ze?ae.setScrollTop(d.min(ae.getScrollTop(),Ne)):ae.setScrollTop(e,!0),ge=!0},Ae=function(){var e,t,n=l.clientHeight,r={};for(e in ue)"function"==typeof(t=ue[e])?t=t.call(ae):/p$/.test(t)&&(t=t.slice(0,-1)/100*n),r[e]=t;return r},xe=function(){var e=se&&se.offsetHeight||0;return d.max(e,c.scrollHeight,c.offsetHeight,l.scrollHeight,l.offsetHeight,l.clientHeight)-l.clientHeight},Le=function(e){var t="className";return o.SVGElement&&e instanceof o.SVGElement&&(e=e[t],t="baseVal"),e[t]},Oe=function(e,t,n){var r="className";if(o.SVGElement&&e instanceof o.SVGElement&&(e=e[r],r="baseVal"),n===i)return e[r]=t,i;for(var a=e[r],s=0,l=n.length;l>s;s++)a=Fe(a).replace(Fe(n[s])," ");a=qe(a);for(var c=0,u=t.length;u>c;c++)-1===Fe(a).indexOf(Fe(t[c]))&&(a+=" "+t[c]);e[r]=qe(a)},qe=function(e){return e.replace(N,"")},Fe=function(e){return" "+e+" "},Ce=Date.now||function(){return+new Date},Ie=function(e,t){return e.frame-t.frame},Ne=0,He=1,Me="down",De=-1,Pe=Ce(),$e=0,je=0,Ve=!1,_e=0,ze=!1,Be=0,Ge=[];void 0===(r=function(){return u}.call(t,n,t,e))||(e.exports=r)}(window,document)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e].call(a.exports,a,a.exports,r),a.exports}r.m=t,e=[],r.O=(t,n,o,a)=>{if(!n){var i=1/0;for(c=0;c
=a)&&Object.keys(r.O).every((e=>r.O[e](n[l])))?n.splice(l--,1):(s=!1,a
0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[n,o,a]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={826:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,a,[i,s,l]=n,c=0;for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(l)var u=l(r);for(t&&t(n);c
r(647)));var o=r.O(void 0,[736],(()=>r(195)));o=r.O(o)})(); //# sourceMappingURL=index.bundle.js.map