PageSourceSearch

https://www.portomurtinhoms.com.br/_nuxt/BFKcKEA1.js

js portomurtinhoms.com.br collected 2026-09-25 08:48:18 UTC 9,928 bytes, 1 lines download raw bytes

vendor: 9,928 bytes, line 1
1import{O as V,c as w,P as ee,q as U,E as H,s as j,Q as te,R as L,S as ae,T as ne,U as oe,W as le,X as ue,Y as ie,Z as re,$ as se,a0 as ce,a1 as ve,a2 as de,a3 as me,a4 as he,a5 as fe,a6 as ge,a7 as ye,a8 as z,a9 as F,aa as we,ab as be,ac as Se,ad as ke,ae as Ee,af as Te,r as pe,ag as Me,ah as Pe,ai as xe,aj as Ce,g as p,z as q,ak as Ve,al as Be,F as De,am as Re,G as He}from"./CS_QCMuu.js";import{u as Ye}from"./D2hm9H2N.js";import{V as Ie}from"./DhRyJIKt.js";function Le(e){let{rootEl:s,isSticky:i,layoutItemStyles:T}=e;const t=V(!1),r=V(0),a=w(()=>{const b=typeof t.value=="boolean"?"top":t.value;return[i.value?{top:"auto",bottom:"auto",height:void 0}:void 0,t.value?{[b]:ee(r.value)}:{top:T.value.top}]});U(()=>{H(i,b=>{b?window.addEventListener("scroll",E,{passive:!0}):window.removeEventListener("scroll",E)},{immediate:!0})}),j(()=>{window.removeEventListener("scroll",E)});let g=0;function E(){const b=g>window.scrollY?"up":"down",v=s.value.getBoundingClientRect(),d=parseFloat(T.value.top??0),c=window.scrollY-Math.max(0,r.value-d),h=v.height+Math.max(r.value,d)-window.scrollY-window.innerHeight,y=parseFloat(getComputedStyle(s.value).getPropertyValue("--v-body-scroll-y"))||0;v.height<window.innerHeight-d?(t.value="top",r.value=d):b==="up"&&t.value==="bottom"||b==="down"&&t.value==="top"?(r.value=window.scrollY+v.top-y,t.value=!0):b==="down"&&h<=0?(r.value=0,t.value="bottom"):b==="up"&&c<=0&&(y?t.value!=="top"&&(r.value=-c+y+d,t.value="top"):(r.value=v.top+c,t.value="top")),g=window.scrollY}return{isStuck:t,stickyStyles:a}}const Ne=100,We=20;function A(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function Z(e){if(e.length<2)return 0;if(e.length===2)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let s=0;for(let i=e.length-1;i>0;i--){if(e[i].t===e[i-1].t)continue;const T=A(s),t=(e[i].d-e[i-1].d)/(e[i].t-e[i-1].t);s+=(t-T)*Math.abs(t),i===e.length-1&&(s*=.5)}return A(s)*1e3}function Oe(){const e={};function s(t){Array.from(t.changedTouches).forEach(r=>{(e[r.identifier]??(e[r.identifier]=new te(We))).push([t.timeStamp,r])})}function i(t){Array.from(t.changedTouches).forEach(r=>{delete e[r.identifier]})}function T(t){var b;const r=(b=e[t])==null?void 0:b.values().reverse();if(!r)throw new Error(`No samples for touch id ${t}`);const a=r[0],g=[],E=[];for(const v of r){if(a[0]-v[0]>Ne)break;g.push({t:v[0],d:v[1].clientX}),E.push({t:v[0],d:v[1].clientY})}return{x:Z(g),y:Z(E),get direction(){const{x:v,y:d}=this,[c,h]=[Math.abs(v),Math.abs(d)];return c>h&&v>=0?"right":c>h&&v<=0?"left":h>c&&d>=0?"down":h>c&&d<=0?"up":_e()}}}return{addMovement:s,endTouch:i,getVelocity:T}}function _e(){throw new Error}function Xe(e){let{el:s,isActive:i,isTemporary:T,width:t,touchless:r,position:a}=e;U(()=>{window.addEventListener("touchstart",P,{passive:!0}),window.addEventListener("touchmove",M,{passive:!1}),window.addEventListener("touchend",Y,{passive:!0})}),j(()=>{window.removeEventListener("touchstart",P),window.removeEventListener("touchmove",M),window.removeEventListener("touchend",Y)});const g=w(()=>["left","right"].includes(a.value)),{addMovement:E,endTouch:b,getVelocity:v}=Oe();let d=!1;const c=V(!1),h=V(0),y=V(0);let k;function B(n,o){return(a.value==="left"?n:a.value==="right"?document.documentElement.clientWidth-n:a.value==="top"?n:a.value==="bottom"?document.documentElement.clientHeight-n:C())-(o?t.value:0)}function D(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const l=a.value==="left"?(n-y.value)/t.value:a.value==="right"?(document.documentElement.clientWidth-n-y.value)/t.value:a.value==="top"?(n-y.value)/t.value:a.value==="bottom"?(document.documentElement.clientHeight-n-y.value)/t.value:C();return o?Math.max(0,Math.min(1,l)):l}function P(n){if(r.value)return;const o=n.changedTouches[0].clientX,l=n.changedTouches[0].clientY,u=25,f=a.value==="left"?o<u:a.value==="right"?o>document.documentElement.clientWidth-u:a.value==="top"?l<u:a.value==="bottom"?l>document.documentElement.clientHeight-u:C(),m=i.value&&(a.value==="left"?o<t.value:a.value==="right"?o>document.documentElement.clientWidth-t.value:a.value==="top"?l<t.value:a.value==="bottom"?l>document.documentElement.clientHeight-t.value:C());(f||m||i.value&&T.value)&&(k=[o,l],y.value=B(g.value?o:l,i.value),h.value=D(g.value?o:l),d=y.value>-20&&y.value<80,b(n),E(n))}function M(n){const o=n.changedTouches[0].clientX,l=n.changedTouches[0].clientY;if(d){if(!n.cancelable){d=!1;return}const f=Math.abs(o-k[0]),m=Math.abs(l-k[1]);(g.value?f>m&&f>3:m>f&&m>3)?(c.value=!0,d=!1):(g.value?m:f)>3&&(d=!1)}if(!c.value)return;n.preventDefault(),E(n);const u=D(g.value?o:l,!1);h.value=Math.max(0,Math.min(1,u)),u>1?y.value=B(g.value?o:l,!0):u<0&&(y.value=B(g.value?o:l,!1))}function Y(n){if(d=!1,!c.value)return;E(n),c.value=!1;const o=v(n.changedTouches[0].identifier),l=Math.abs(o.x),u=Math.abs(o.y);(g.value?l>u&&l>400:u>l&&u>3)?i.value=o.direction===({left:"right",right:"left",top:"down",bottom:"up"}[a.value]||C()):i.value=h.value>.5}const R=w(()=>c.value?{transform:a.value==="left"?`translateX(calc(-100% + ${h.value*t.value}px))`:a.value==="right"?`translateX(calc(100% - ${h.value*t.value}px))`:a.value==="top"?`translateY(calc(-100% + ${h.value*t.value}px))`:a.value==="bottom"?`translateY(calc(100% - ${h.value*t.value}px))`:C(),transition:"none"}:void 0);return L(c,()=>{var l,u;const n=((l=s.value)==null?void 0:l.style.transform)??null,o=((u=s.value)==null?void 0:u.style.transition)??null;ae(()=>{var f,m,x,I;(m=s.value)==null||m.style.setProperty("transform",((f=R.value)==null?void 0:f.transform)||"none"),(I=s.value)==null||I.style.setProperty("transition",((x=R.value)==null?void 0:x.transition)||null)}),ne(()=>{var f,m;(f=s.value)==null||f.style.setProperty("transform",n),(m=s.value)==null||m.style.setProperty("transition",o)})}),{isDragging:c,dragProgress:h,dragStyles:R}}function C(){throw new Error}const $e=["start","end","left","right","top","bottom"],ze=oe({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>$e.includes(e)},sticky:Boolean,...le(),...ue(),...ie(),...re({mobile:null}),...se(),...ce(),...ve(),...de({tag:"nav"}),...me()},"VNavigationDrawer"),Ze=he()({name:"VNavigationDrawer",props:ze(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,s){let{attrs:i,emit:T,slots:t}=s;const{isRtl:r}=fe(),{themeClasses:a}=ge(e),{borderClasses:g}=ye(e),{backgroundColorClasses:E,backgroundColorStyles:b}=z(F(e,"color")),{elevationClasses:v}=we(e),{displayClasses:d,mobile:c}=be(e),{roundedClasses:h}=Se(e),y=ke(),k=Ee(e,"modelValue",null,S=>!!S),{ssrBootStyles:B}=Ye(),{scopeId:D}=Te(),P=pe(),M=V(!1),{runOpenDelay:Y,runCloseDelay:R}=Re(e,S=>{M.value=S}),n=w(()=>e.rail&&e.expandOnHover&&M.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),o=w(()=>Me(e.location,r.value)),l=w(()=>e.persistent),u=w(()=>!e.permanent&&(c.value||e.temporary)),f=w(()=>e.sticky&&!u.value&&o.value!=="bottom");L(()=>e.expandOnHover&&e.rail!=null,()=>{H(M,S=>T("update:rail",!S))}),L(()=>!e.disableResizeWatcher,()=>{H(u,S=>!e.permanent&&He(()=>k.value=!S))}),L(()=>!e.disableRouteWatcher&&!!y,()=>{H(y.currentRoute,()=>u.value&&(k.value=!1))}),H(()=>e.permanent,S=>{S&&(k.value=!0)}),e.modelValue==null&&!u.value&&(k.value=e.permanent||!c.value);const{isDragging:m,dragProgress:x}=Xe({el:P,isActive:k,isTemporary:u,width:n,touchless:F(e,"touchless"),position:o}),I=w(()=>{const S=u.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):n.value;return m.value?S*x.value:S}),G=w(()=>["top","bottom"].includes(e.location)?0:n.value),{layoutItemStyles:N,layoutItemScrimStyles:Q}=Pe({id:e.name,order:w(()=>parseInt(e.order,10)),position:o,layoutSize:I,elementSize:G,active:w(()=>k.value||m.value),disableTransitions:w(()=>m.value),absolute:w(()=>e.absolute||f.value&&typeof W.value!="string")}),{isStuck:W,stickyStyles:J}=Le({rootEl:P,isSticky:f,layoutItemStyles:N}),O=z(w(()=>typeof e.scrim=="string"?e.scrim:null)),K=w(()=>({...m.value?{opacity:x.value*.2,transition:"none"}:void 0,...Q.value}));return xe({VList:{bgColor:"transparent"}}),Ce(()=>{const S=t.image||e.image;return p(De,null,[p(e.tag,q({ref:P,onMouseenter:Y,onMouseleave:R,class:["v-navigation-drawer",`v-navigation-drawer--${o.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":M.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":u.value,"v-navigation-drawer--persistent":l.value,"v-navigation-drawer--active":k.value,"v-navigation-drawer--sticky":f.value},a.value,E.value,g.value,d.value,v.value,h.value,e.class],style:[b.value,N.value,B.value,J.value,e.style,["top","bottom"].includes(o.value)?{height:"auto"}:{}]},D,i),{default:()=>{var _,X,$;return[S&&p("div",{key:"image",class:"v-navigation-drawer__img"},[t.image?p(Ve,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:e.image}}},t.image):p(Ie,{key:"image-img",alt:"",cover:!0,height:"inherit",src:e.image},null)]),t.prepend&&p("div",{class:"v-navigation-drawer__prepend"},[(_=t.prepend)==null?void 0:_.call(t)]),p("div",{class:"v-navigation-drawer__content"},[(X=t.default)==null?void 0:X.call(t)]),t.append&&p("div",{class:"v-navigation-drawer__append"},[($=t.append)==null?void 0:$.call(t)])]}}),p(Be,{name:"fade-transition"},{default:()=>[u.value&&(m.value||k.value)&&!!e.scrim&&p("div",q({class:["v-navigation-drawer__scrim",O.backgroundColorClasses.value],style:[K.value,O.backgroundColorStyles.value],onClick:()=>{l.value||(k.value=!1)}},D),null)]})])}),{isStuck:W}}});export{Ze as V};

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.