PageSourceSearch

https://urvana.net/_next/static/chunks/pages/propietario/inicio-cd5dd7a53b6819e2.js

js urvana.net collected 2026-10-08 19:26:00 UTC 29,148 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4593],{84442:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var o=n(2784),r=n(63955),i=function(e){var t=e.as,n=e.errors,i=e.name,a=e.message,u=e.render,s=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)t.indexOf(n=i[o])>=0||(r[n]=e[n]);return r}(e,["as","errors","name","message","render"]),l=(0,r.Gc)(),c=(0,r.U2)(n||l.formState.errors,i);if(!c)return null;var d=c.message,f=c.types,p=Object.assign({},s,{children:d||a});return o.isValidElement(t)?o.cloneElement(t,p):u?u({message:d||a,messages:f}):o.createElement(t||o.Fragment,p)}},30187:function(e,t,n){"use strict";var o=n(2784);t.Z=e=>{const t=o.useRef(e);return o.useEffect((()=>{t.current=e})),t}},89068:function(e,t,n){"use strict";n.d(t,{f:function(){return s},z:function(){return u}});var o=n(2784),r=n(30187);const i="undefined"!==typeof performance?performance:Date,a=()=>i.now();function u(e,t=30,n=!1){const i=(0,r.Z)(e),u=1e3/t,s=o.useRef(0),l=o.useRef(),c=()=>l.current&&clearTimeout(l.current),d=[t,n,i];function f(){s.current=0,c()}return o.useEffect((()=>f),d),o.useCallback((function(){const e=arguments,t=a(),o=()=>{s.current=t,c(),i.current.apply(null,e)},r=s.current;if(n&&0===r)return o();if(t-r>u){if(r>0)return o();s.current=t}c(),l.current=setTimeout((()=>{o(),s.current=0}),u)}),d)}function s(e,t,n){const r=o.useState(e);return[r[0],u(r[1],t,n)]}},81953:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/propietario/inicio",function(){return n(82905)}])},23608:function(e,t,n){"use strict";n.d(t,{NY:function(){return c},Ol:function(){return u},d7:function(){return l},vi:function(){return a}});var o=n(52322),r=n(84442),i=n(6277);const a=(0,i.W)("text-sm text-red-600 dark:text-red-400");function u(e){let{className:t,name:n,...u}=e;return(0,o.jsx)(r.B,{name:n,as:"p",className:(0,i.W)(a,t),...u})}const s=(0,i.W)("block","text-sm font-medium text-gray-700 dark:text-gray-300","after:content-[attr(data-after)] after:ml-0.5 after:text-skin-600 dark:after:text-skin-400");function l(e){let{className:t,required:n,...r}=e;return(0,o.jsx)("label",{"data-after":!0===n?"*":n||void 0,className:(0,i.W)(s,t),...r})}function c(e){let{className:t,required:n,...r}=e;return(0,o.jsx)("legend",{"data-after":!0===n?"*":n||void 0,className:(0,i.W)(s,t),...r})}},82905:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Oe}});var o,r,i=n(52322),a=n(2784),u=n(70778),s=n(58314),l=n(55559),c=n(80586),d=n(88064),f=n(61742),p=n(32994),m=n(37352),b=n(33401),x=n(68685),g=n(13199),v=n(6173),h=n(90544),R=n(15426),y=n(3703),T=n(60567),O=n(52929),E=n(36799),w=n(47215),C=n(99108),I=n(84407),P=n(63575),k=((r=k||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),_=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(_||{}),S=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(S||{}),N=((o=N||{})[o.OpenCombobox=0]="OpenCombobox",o[o.CloseCombobox=1]="CloseCombobox",o[o.GoToOption=2]="GoToOption",o[o.RegisterOption=3]="RegisterOption",o[o.UnregisterOption=4]="UnregisterOption",o[o.RegisterLabel=5]="RegisterLabel",o);function L(e,t=(e=>e)){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=(0,O.z2)(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),r=n?o.indexOf(n):null;return-1===r&&(r=null),{options:o,activeOptionIndex:r}}let M={1:e=>e.dataRef.current.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1},0(e){if(e.dataRef.current.disabled||0===e.comboboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,o=e.options.findIndex((e=>n(e.dataRef.current.value)));return-1!==o&&(t=o),{...e,comboboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||e.dataRef.current.optionsRef.current&&!e.dataRef.current.optionsPropsRef.current.static&&1===e.comboboxState)return e;let o=L(e);if(null===o.activeOptionIndex){let e=o.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(o.activeOptionIndex=e)}let r=(0,g.d)(t,{resolveItems:()=>o.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...o,activeOptionIndex:r,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>
1{let n={id:t.id,dataRef:t.dataRef},o=L(e,(e=>[...e,n]));null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(n));let r={...e,...o,activationTrigger:1};return e.dataRef.current.__demoMode&&void 0===e.dataRef.current.value&&(r.activeOptionIndex=0),r},4:(e,t)=>{let n=L(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},j=(0,a.createContext)(null);function F(e){let t=(0,a.useContext)(j);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,F),t}return t}j.displayName="ComboboxActionsContext";let A=(0,a.createContext)(null);function z(e){let t=(0,a.useContext)(A);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,z),t}return t}function D(e,t){return(0,y.E)(t.type,M,e,t)}A.displayName="ComboboxDataContext";let V=a.Fragment;let B=(0,h.yV)((function(e,t){let{value:n,defaultValue:o,onChange:r,name:i,by:u=((e,t)=>e===t),disabled:s=!1,__demoMode:c=!1,nullable:f=!1,multiple:m=!1,...b}=e,[x,v]=(0,I.q)(n,r,o),[R,O]=(0,a.useReducer)(D,{dataRef:(0,a.createRef)(),comboboxState:c?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),C=(0,a.useRef)(!1),P=(0,a.useRef)({static:!1,hold:!1}),k=(0,a.useRef)(null),_=(0,a.useRef)(null),S=(0,a.useRef)(null),N=(0,a.useRef)(null),L=(0,l.z)("string"==typeof u?(e,t)=>{let n=u;return(null==e?void 0:e[n])===(null==t?void 0:t[n])}:u),M=(0,a.useCallback)((e=>(0,y.E)(F.mode,{1:()=>x.some((t=>L(t,e))),0:()=>L(x,e)})),[x]),F=(0,a.useMemo)((()=>({...R,optionsPropsRef:P,labelRef:k,inputRef:_,buttonRef:S,optionsRef:N,value:x,disabled:s,mode:m?1:0,get activeOptionIndex(){if(C.current&&null===R.activeOptionIndex&&R.options.length>0){let e=R.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return R.activeOptionIndex},compare:L,isSelected:M,nullable:f,__demoMode:c})),[x,s,m,f,c,R]);(0,d.e)((()=>{R.dataRef.current=F}),[F]),(0,p.O)([F.buttonRef,F.inputRef,F.optionsRef],(()=>O({type:1})),0===F.comboboxState);let z=(0,a.useMemo)((()=>({open:0===F.comboboxState,disabled:s,activeIndex:F.activeOptionIndex,activeOption:null===F.activeOptionIndex?null:F.options[F.activeOptionIndex].dataRef.current.value,value:x})),[F,s,x]),B=(0,l.z)((e=>{let t=F.options.find((t=>t.id===e));!t||Y(t.dataRef.current.value)})),G=(0,l.z)((()=>{if(null!==F.activeOptionIndex){let{dataRef:e,id:t}=F.options[F.activeOptionIndex];Y(e.current.value),O({type:2,focus:g.T.Specific,id:t})}})),W=(0,l.z)((()=>{O({type:0}),C.current=!0})),q=(0,l.z)((()=>{O({type:1}),C.current=!1})),H=(0,l.z)(((e,t,n)=>(C.current=!1,e===g.T.Specific?O({type:2,focus:g.T.Specific,id:t,trigger:n}):O({type:2,focus:e,trigger:n})))),U=(0,l.z)(((e,t)=>(O({type:3,id:e,dataRef:t}),()=>O({type:4,id:e})))),Z=(0,l.z)((e=>(O({type:5,id:e}),()=>O({type:5,id:null})))),Y=(0,l.z)((e=>(0,y.E)(F.mode,{0:()=>null==v?void 0:v(e),1(){let t=F.value.slice(),n=t.findIndex((t=>L(t,e)));return-1===n?t.push(e):t.splice(n,1),null==v?void 0:v(t)}}))),$=(0,a.useMemo)((()=>({onChange:Y,registerOption:U,registerLabel:Z,goToOption:H,closeCombobox:q,openCombobox:W,selectActiveOption:G,selectOption:B})),[]),K=null===t?{}:{ref:t};return a.createElement(j.Provider,{value:$},a.createElement(A.Provider,{value:F},a.createElement(w.up,{value:(0,y.E)(F.comboboxState,{0:w.ZM.Open,1:w.ZM.Closed})},null!=i&&null!=x&&(0,T.t)({[i]:x}).map((([e,t])=>a.createElement(E._,{features:E.A.Hidden,...(0,h.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})}))),(0,h.sY)({ourProps:K,theirProps:b,slot:z,defaultTag:V,name:"Combobox"}))))})),G=(0,h.yV)((function(e,t){var n,o;let{value:r,onChange:i,displayValue:d,type:f="text",...p}=e,m=z("Combobox.Input"),x=F("Combobox.Input"),v=(0,b.T)(m.inputRef,t),R=`headlessui-combobox-input-${(0,c.M)()}`,T=(0,s.G)(),O=!1;let E=(0,a.useMemo)((()=>{var e;return"function"==typeof d?null!=(e=d(m.value))?e:"":"string"==typeof m.value?m.value:""}),[m.value]);(0,P.q)((([e,t],[n,o])=>{!m.inputRef.current||(0===o&&1===t?function(e){var t;let n=m.inputRef.current;if(!n||n.value===e)return;let o=Object.getOwnPropertyDescriptor(n.constructor.prototype,"value");null==(t=null==o?void 0:o.set)||t.call(n,e),O=!0,n.dispatchEvent(new Event("input",{bubbles:!0})),n.value=e,O=!1}(e):e!==n&&(m.inputRef.current.value=e))}),[E,m.comboboxState]);let w=(0,a.useRef)(!1),I=(0,l.z)((()=>{w.current=!0})),k=(0,l.z)((()=>{setTimeout((()=>{w.current=!1}))})),_=(0,l.z)((e=>{switch(e.key){case C.R.Backspace:case C.R.Delete:if(0!==m.mode||!m.nullable)return;let t=e.currentTarget;T.requestAnimationFrame((()=>{""===t.value&&(x.onChange(null),m.optionsRef.current&&(m.optionsRef.current.scrollTop=0),x.goToOption(g.T.Nothing))}));break;case C.R.Enter:if(0!==m.comboboxState||w.current)return;if(e.preventDefault(),e.stopPropagation(),null===m.activeOptionIndex)return void x.closeCombobox();x.selectActiveOption(),0===m.mode&&x.closeCombobox();break;case C.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),(0,y.E)(m.comboboxState,{0:()=>{x.goToOption(g.T.Next)},1:()=>{x.openCombobox()}});case C.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),(0,y.E)(m.comboboxState,{0:()=>{x.goToOption(g.T.Previous)},1:()=>{x.openCombobox(),T.nextFrame((()=>{m.value||x.goToOption(g.T.Last)}))}});case C.R.Home:case C.R.PageUp:return e.preventDefault(),e.stopPropagation(),x.goToOption(g.T.First);case C.R.End:case C.R.PageDown:return e.preventDefault(),e.stopPropagation(),x.goToOption(g.T.Last);case C.R.Escape:return 0!==m.comboboxState?void 0:(e.preventDefault(),m.optionsRef.current&&!m.optionsPropsRef.current.static&&e.stopPropagation(),x.closeCombobox());case C.R.Tab:if(0!==m.comboboxState)return;0===m.mode&&x.selectActiveOption(),x.closeCombobox()}})),S=(0,l.z)((e=>{O||x.openCombobox(),null==i||i(e)})),N=(0,u.v)((()=>
1{if(m.labelId)return[m.labelId].join(" ")}),[m.labelId]),L=(0,a.useMemo)((()=>({open:0===m.comboboxState,disabled:m.disabled})),[m]),M={ref:v,id:R,role:"combobox",type:f,"aria-controls":null==(n=m.optionsRef.current)?void 0:n.id,"aria-expanded":m.disabled?void 0:0===m.comboboxState,"aria-activedescendant":null===m.activeOptionIndex||null==(o=m.options[m.activeOptionIndex])?void 0:o.id,"aria-multiselectable":1===m.mode||void 0,"aria-labelledby":N,disabled:m.disabled,onCompositionStart:I,onCompositionEnd:k,onKeyDown:_,onChange:S};return(0,h.sY)({ourProps:M,theirProps:p,slot:L,defaultTag:"input",name:"Combobox.Input"})})),W=(0,h.yV)((function(e,t){var n;let o=z("Combobox.Button"),r=F("Combobox.Button"),i=(0,b.T)(o.buttonRef,t),d=`headlessui-combobox-button-${(0,c.M)()}`,f=(0,s.G)(),p=(0,l.z)((e=>{switch(e.key){case C.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&r.openCombobox(),f.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case C.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&(r.openCombobox(),f.nextFrame((()=>{o.value||r.goToOption(g.T.Last)}))),f.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}
1));case C.R.Escape:return 0!==o.comboboxState?void 0:(e.preventDefault(),o.optionsRef.current&&!o.optionsPropsRef.current.static&&e.stopPropagation(),r.closeCombobox(),f.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),x=(0,l.z)((e=>{if((0,R.P)(e.currentTarget))return e.preventDefault();0===o.comboboxState?r.closeCombobox():(e.preventDefault(),r.openCombobox()),f.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),v=(0,u.v)((()=>{if(o.labelId)return[o.labelId,d].join(" ")}),[o.labelId,d]),y=(0,a.useMemo)((()=>({open:0===o.comboboxState,disabled:o.disabled,value:o.value})),[o]),T=e,O={ref:i,id:d,type:(0,m.f)(e,o.buttonRef),tabIndex:-1,"aria-haspopup":!0,"aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":o.disabled?void 0:0===o.comboboxState,"aria-labelledby":v,disabled:o.disabled,onClick:x,onKeyDown:p};return(0,h.sY)({ourProps:O,theirProps:T,slot:y,defaultTag:"button",name:"Combobox.Button"})})),q=(0,h.yV)((function(e,t){let n=z("Combobox.Label"),o=`headlessui-combobox-label-${(0,c.M)()}`,r=F("Combobox.Label"),i=(0,b.T)(n.labelRef,t);(0,d.e)((()=>r.registerLabel(o)),[o]);let u=(0,l.z)((()=>{var e;return null==(e=n.inputRef.current)?void 0:e.focus({preventScroll:!0})}
1)),s=(0,a.useMemo)((()=>({open:0===n.comboboxState,disabled:n.disabled})),[n]);return(0,h.sY)({ourProps:{ref:i,id:o,onClick:u},theirProps:e,slot:s,defaultTag:"label",name:"Combobox.Label"})})),H=h.AN.RenderStrategy|h.AN.Static,U=(0,h.yV)((function(e,t){var n;let{hold:o=!1,...r}=e,i=z("Combobox.Options"),s=(0,b.T)(i.optionsRef,t),l=`headlessui-combobox-options-${(0,c.M)()}`,f=(0,w.oJ)(),p=null!==f?f===w.ZM.Open:0===i.comboboxState;(0,d.e)((()=>{var t;i.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[i.optionsPropsRef,e.static]),(0,d.e)((()=>{i.optionsPropsRef.current.hold=o}),[i.optionsPropsRef,o]),(0,x.B)({container:i.optionsRef.current,enabled:0===i.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let m=(0,u.v)((()=>{var e,t;return null!=(t=i.labelId)?t:null==(e=i.buttonRef.current)?void 0:e.id}),[i.labelId,i.buttonRef.current]),g=(0,a.useMemo)((()=>({open:0===i.comboboxState})),[i]),v={"aria-activedescendant":null===i.activeOptionIndex||null==(n=i.options[i.activeOptionIndex])?void 0:n.id,"aria-labelledby":m,role:"listbox",id:l,ref:s};return(0,h.sY)({ourProps:v,theirProps:r,slot:g,defaultTag:"ul",features:H,visible:p,name:"Combobox.Options"})})),Z=(0,h.yV)((function(e,t){var n,o;let{disabled:r=!1,value:i,...u}=e,s=z("Combobox.Option"),p=F("Combobox.Option"),m=`headlessui-combobox-option-${(0,c.M)()}`,x=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===m,R=s.isSelected(i),y=(0,a.useRef)(null),T=(0,f.E)({disabled:r,value:i,domRef:y,textValue:null==(o=null==(n=y.current)?void 0:n.textContent)?void 0:o.toLowerCase()}),O=(0,b.T)(t,y),E=(0,l.z)((()=>p.selectOption(m)));(0,d.e)((()=>p.registerOption(m,T)),[T,m]);let w=(0,a.useRef)(!s.__demoMode);(0,d.e)((()=>{if(!s.__demoMode)return;let e=(0,v.k)();return e.requestAnimationFrame((()=>{w.current=!0})),e.dispose}),[]),(0,d.e)((()=>{if(0!==s.comboboxState||!x||!w.current||0===s.activationTrigger)return;let e=(0,v.k)();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=y.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[y,x,s.comboboxState,s.activationTrigger,s.activeOptionIndex]);let C=(0,l.z)((e=>{if(r)return e.preventDefault();E(),0===s.mode&&p.closeCombobox()})),I=(0,l.z)((()=>{if(r)return p.goToOption(g.T.Nothing);p.goToOption(g.T.Specific,m)})),P=(0,l.z)((()=>{r||x||p.goToOption(g.T.Specific,m,0)})),k=(0,l.z)((()=>{r||!x||s.optionsPropsRef.current.hold||p.goToOption(g.T.Nothing)})),_=(0,a.useMemo)((()=>({active:x,selected:R,disabled:r})),[x,R,r]);return(0,h.sY)({ourProps:{id:m,ref:O,role:"option",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,"aria-selected":R,disabled:void 0,onClick:C,onFocus:I,onPointerMove:P,onMouseMove:P,onPointerLeave:k,onMouseLeave:k},theirProps:u,slot:_,defaultTag:"li",name:"Combobox.Option"})})),Y=Object.assign(B,{Input:G,Button:W,Label:q,Options:U,Option:Z});var $=a.forwardRef((function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),K=n(81123),X=n(89068),J=n(6277),Q=n(5632),ee=n(27071),te=n(32469),ne=n(13212),oe=n(51514),re=n(79381),ie=n(70524);const ae=(0,te.Z)("use-autocomplete");function ue(e,t,n){let{input:o}=t;return(0,re.ZP)(["autocomplete places",e,o],(async e=>{let[t,n,o]=e;if(o&&0!==o.length)return async function(e,t){const n=e+"/api/v1/places/autocomplete?input="+encodeURIComponent(t.trim()),o=await fetch(n,{method:"get",headers:ie.st});if(o.ok)return await o.json();throw ae("[AUTOCOMPLETE_REQUEST] error (%s): %s",o.status,await o.text()),new Error("Failed to get autocomplete suggestions")}(n,o)}),n)}const se=["establishment","landmark","premise","room","street_address","street_number","subway_station","point_of_interest","transit_station","subpremise"];var le;!function(e){e.PRECISE="PRECISE",e.LEVEL3="LEVEL3",e.LEVEL2="LEVEL2",e.LEVEL1="LEVEL1",e.OTHER="OTHER"}(le||(le={}));le.PRECISE,le.LEVEL3,le.LEVEL2,le.LEVEL1,le.OTHER;function ce(e){return e.types.some((e=>se.includes(e)))}function de(e){if(se.includes(e))return le.PRECISE;switch(e){case"political":case"locality":case"route":return le.LEVEL3;case"geocode":return null;default:return ae("[GROUP_FOR_TYPE] unknown: %s",e),null}}function fe(e){for(const t of e){const e=de(t);if(e)return e}return le.OTHER}const pe=(0,te.Z)("use-autocomplete");async function me(e,t){const n=e+"/api/v1/places/geocode?input="+encodeURIComponent(t.trim()),o=await fetch(n,{method:"get",headers:ie.st});if(o.ok){return await o.json()}throw pe("[GEOCODE_REQUEST] error (%s): %s",o.status,await o.text()),new Error("Failed to get autocomplete suggestions")}var be=n(116),xe=(n(23608),n(39936)),ge=n(63530);const ve=(0,te.Z)("page:propietario:inicio"),he={predictions:[]};function Re(e){let{value:t,className:n,...o}=e;const r=t.structured_formatting,a=r.main_text,u=r.secondary_text;return(0,i.jsx)(Y.Option,{as:"li",value:t,className:e=>{let{active:t}=e;return(0,J.W)("cursor-pointer select-none","rounded px-3 py-2",t?"bg-skin-600 dark:bg-skin-600":"",n)},...o,children:e=>{let{active:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:(0,J.W)("block",t?"text-white":"text-gray-800 dark:text-gray-100"),children:a}),(0,i.jsx)("span",{className:(0,J.W)("block text-xs mt-0",t?"text-gray-200":"text-gray-600 dark:text-gray-400"),children:u})]})}})}function ye(e){let{className:t,...n}=e;const o=(0,Q.useRouter)(),r=(0,ee.m8)(),{data:u}=(0,be.e)(),[s,l]=(0,a.useState)(""),[c,d]=(0,X.f)("",30,!0),{data:f,isValidating:p}
1=ue("",{input:c},{keepPreviousData:!0,fallbackData:he}),m=f&&f.predictions;(0,a.useEffect)((()=>{ve("[useEffect] predictions: %o",m)}),[m]);const b=(0,a.useMemo)((()=>{if(!m)return null;const e=new Map;for(const t of m){const n=fe(t.types),o=e.get(n)||[];o.push(t),e.set(n,o)}return e}),[m]),[x,g]=(0,a.useState)(),v=(0,a.useRef)(null);return(0,i.jsxs)("main",{className:(0,J.W)("py-10",t),...n,children:[(0,i.jsx)("header",{children:(0,i.jsxs)("div",{className:"max-w-screen-sm mx-auto px-6 lg:px-8",children:[u?(0,i.jsxs)("h1",{className:"text-3xl font-bold leading-tight text-gray-900 dark:text-gray-100",children:["Hola ",u.nickname||u.full_name||"Editar"," \ud83d\udc4b"]}):(0,i.jsx)("h1",{className:"text-3xl font-bold leading-tight text-gray-900 dark:text-gray-100",children:"Hola \ud83d\udc4b"}),(0,i.jsxs)("p",{className:"mt-2 text-gray-700 dark:text-gray-300",children:["Tu casa puede ser m\xe1s valiosa de lo que crees.",(0,i.jsx)("br",{}),"Descubre su potencial inmobiliario aqu\xed."]})]})}),(0,i.jsx)("section",{className:"max-w-screen-sm mx-auto px-6 lg:px-8 mt-8",children:(0,i.jsxs)(Y,{value:x,as:"div",className:(0,J.W)("w-full transform rounded overflow-hidden shadow-2xl transition-all","bg-white dark:bg-gray-800","ring-2 ring-black/5 dark:ring-white/5","divide-y divide-gray-100 dark:divide-gray-600","hover:ring-skin-500 hover:border-skin-500","focus-within:ring-skin-400 dark:focus-within:ring-skin-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 ring-offset-white dark:ring-offset-gray-900"),onChange:async e=>{if(!e)return;const t=e.description;l(t),g(e);const n={},i=await me("",t);ve("[handleSelect] results are: %o",i.results);for(const o of i.results||[]){const e=o.geometry.location,t=(0,ne.pg)(e).geometry;if(t){const[e,i]=t.coordinates;if(n.lng=e,n.lat=i,ce(o)){n.zoom=oe.R7;const e=["id","disabled"],o=await r.rpc("estates_intersecting_with_geography",{geometry:t}).select(e.join(",")).eq("disabled",!1).limit(1).maybeSingle();ve("[handleSelect] got for estate query: %o: %O",t,o),o.data&&(n.id=o.data.id);break}n.zoom=oe.Rw}}t&&(n.q=t),await o.push({pathname:"/propietario/evaluar",query:n})},children:[(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(K.Z,{className:"pointer-events-none absolute top-3.5 left-4 h-5 w-5 text-gray-400 dark:text-gray-500","aria-hidden":"true"}),(0,i.jsx)(Y.Input,{ref:v,as:"input",className:(0,J.W)("h-12 w-full border-0 bg-transparent pl-11 pr-4 text-gray-800 placeholder-gray-400 dark:text-white dark:placeholder-gray-500 focus:ring-1 focus:ring-skin-500 "),placeholder:"Buscar direcci\xf3n o comuna",type:"search",inputMode:"search",autoComplete:"street_address",displayValue:e=>(ve("[displayValue] will show: %o",e),e?e.description:s),onChange:e=>{return t=e.target.value,l(t),void d(t);var t}})]}),m&&m.length>0&&(0,i.jsx)(Y.Options,{static:!0,className:"max-h-80 scroll-pt-11 scroll-pb-2 space-y-2 overflow-y-auto pb-2",children:(0,i.jsx)("ul",{className:(0,J.W)("mt-2 text-sm text-gray-800 dark:text-gray-200","px-2"),children:m.map((e=>(0,i.jsx)(Re,{value:e},e.place_id)))})}),false,""!==s&&b&&0===b.size&&!p&&(0,i.jsxs)("div",{className:"border-t border-gray-100 dark:border-gray-500/20 py-14 px-6 text-center text-sm sm:px-14",children:[(0,i.jsx)($,{className:"mx-auto h-6 w-6 text-gray-400 dark:text-gray-500","aria-hidden":"true"}),(0,i.jsx)("p",{className:"mt-4 font-semibold text-gray-900 dark:text-gray-100",children:"No encontramos resultados"}),(0,i.jsx)("p",{className:"mt-2 text-gray-500 dark:text-gray-500",children:"\xbfEscribiste bien la direcci\xf3n? \xbfRevisaste tu conexi\xf3n a internet?"})]})]})})]})}const Te=a.memo(ye);function Oe(e){let{className:t,...n}=e;return(0,i.jsxs)(ge.vW,{className:(0,J.W)("flex flex-col justify-between",t),...n,children:[(0,i.jsx)(xe.n,{index:!1,title:"Propietario: P\xe1gina de inicio | URVANA.net \u270c\ufe0f",description:"Tu casa puede ser m\xe1s valiosa de lo que crees cuando la puedes convertir en departamentos."}),(0,i.jsx)(ge.hU,{}),(0,i.jsx)(Te,{className:"flex-1 pb-32"}),(0,i.jsx)(ge.Lb,{})]})}},13212:function(e,t,n){"use strict";n.d(t,{B0:function(){return s},B1:function(){return a},Fc:function(){return y},IY:function(){return w},K_:function(){return h},OX:function(){return f},TX:function(){return R},Vh:function(){return u},ay:function(){return d},ex:function(){return x},gC:function(){return m},iR:function(){return C},m7:function(){return g},mF:function(){return c},oq:function(){return E},pg:function(){return v},qg:function(){return b},zB:function(){return p}});var o=n(95536),r=n(28192);const i=(0,n(32469).Z)("geo");function a(e){const{east:t,west:n,north:o,south:r}=e;return[n,r,t,o]}function u(e){const[t,n,o,r]=e;return{east:o,west:t,north:r,south:n}}function s(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"kilometers";const o=t?r.VWR(r.f3b(e,t,{units:n})):r.VWR(e);return u(o)}const l=r.yue([]);function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return null;let o=l;for(const i of t)if(i&&o){const e=r.G0j(o,i);e&&(o=e)}return o}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];try{return c(...t)}catch(o){return i("[UNION_POLYGONS_SAFE] error unioning polygons: %o",o),null}}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.Z)(...t)}function p(e){if("Feature"===e.type&&(e=r.wAR(e)),"Polygon"===e.type){if(e.coordinates.some((e=>0!==e.length)))return!1}else if("MultiPolygon"===e.type){if(e.coordinates.some((e=>!p({type:"Polygon",coordinates:e}))))return!1}return!0}function m(e){const t=e.features,n=t[0],o=n&&n.geometry;if(o){if("Polygon"===o.type){const e=t.map((e=>r.wAR(e))).map((e=>e.coordinates));return r.twK(e).geometry}if("Point"===o.type){const e=t.map((e=>r.wAR(e))).map((e=>e.coordinates));return r.otv(e).geometry}if("LineString"===o.type){const e=t.map((e=>r.wAR(e))).map((e=>e.coordinates));return r._Rk(e).geometry}return null}return null}function b(e){return"FeatureCollection"===e.type}function x(e){return"MultiPolygon"===e.type}function g(e){return"Polygon"===e.type}function v(e){return r.xmu([e.lng,e.lat])}function h(e){return r.xmu([e.longitude,e.latitude])}function*R(e,t,n,o){const[i,a,u,s]=e,l=t/r.TE$([i,a],[u,a],o)*(u-i),c=n/r.TE$([i,a],[i,s],o)*(s-a),d=u-i,f=s-a,p=Math.floor(d/l),m=Math.floor(f/c),b=(f-m*c)/2;let x=i+(d-p*l)/2;for(let g=0;g<p;g++){let e=a+b;
1for(let t=0;t<m;t++){const t=r.yue([[[x,e],[x,e+c],[x+l,e+c],[x+l,e],[x,e]]]);o&&o.mask?r.wfr(o.mask,t)&&(yield t):yield t,e+=c}x+=l}}function y(e){let[t,n]=e;return{lat:n,lng:t}}function T(e){return e.map(y)}function O(e){return e.map(T)}function E(e){if(x(e)){e.coordinates.length>1&&i("[LATLNG_FROM_POLYGONS] doesn't support MultiPolygons. Will use first Polygon from MultiPolygon");const t=e.coordinates[0];return t?O(t):[]}return O(e.coordinates)}function w(e){return O(e.coordinates)}function*C(e){if(x(e))for(const t of e.coordinates){const e=t?r.yue(t):r.yue([]);yield r.wAR(e)}else yield e}},51514:function(e,t,n){"use strict";n.d(t,{Jt:function(){return l},Nz:function(){return d},Pw:function(){return o},R7:function(){return a},Rw:function(){return s},Tk:function(){return c},Xn:function(){return i},_D:function(){return m},_W:function(){return f},fO:function(){return r},oe:function(){return u},y5:function(){return p}});const o="b354ca2e1c52cb58",r={lat:-33.431508,lng:-70.610712},i="single",a=19,u=18,s=14,l=18,c=17,d=14,f=17,p=12;var m;!function(e){e[e.BOTTOM_CENTER=0]="BOTTOM_CENTER",e[e.BOTTOM_LEFT=1]="BOTTOM_LEFT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.LEFT_BOTTOM=3]="LEFT_BOTTOM",e[e.LEFT_CENTER=4]="LEFT_CENTER",e[e.LEFT_TOP=5]="LEFT_TOP",e[e.RIGHT_BOTTOM=6]="RIGHT_BOTTOM",e[e.RIGHT_CENTER=7]="RIGHT_CENTER",e[e.RIGHT_TOP=8]="RIGHT_TOP",e[e.TOP_CENTER=9]="TOP_CENTER",e[e.TOP_LEFT=10]="TOP_LEFT",e[e.TOP_RIGHT=11]="TOP_RIGHT"}(m||(m={}))},70778:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var o=n(2784),r=n(88064),i=n(61742);function a(e,t){let[n,a]=(0,o.useState)(e),u=(0,i.E)(e);return(0,r.e)((()=>a(u.current)),[u,a,...t]),n}},84407:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var o=n(2784),r=n(55559);function i(e,t,n){let[i,a]=(0,o.useState)(n),u=void 0!==e,s=(0,o.useRef)(u),l=(0,o.useRef)(!1),c=(0,o.useRef)(!1);return!u||s.current||l.current?!u&&s.current&&!c.current&&(c.current=!0,s.current=u,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,s.current=u,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[u?e:i,(0,r.z)((e=>(u||a(e),null==t?void 0:t(e))))]}},63575:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var o=n(2784),r=n(55559);function i(e,t){let n=(0,o.useRef)([]),i=(0,r.z)(e);(0,o.useEffect)((()=>{let e=[...n.current];for(let[o,r]of t.entries())if(n.current[o]!==r){let o=i(t,e);return n.current=t,o}}),[i,...t])}},60567:function(e,t,n){"use strict";function o(e={},t=null,n=[]){for(let[o,a]of Object.entries(e))i(n,r(t,o),a);return n}function r(e,t){return e?e+"["+t+"]":t}function i(e,t,n){if(Array.isArray(n))for(let[o,a]of n.entries())i(e,r(t,o.toString()),a);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):o(n,t,e)}function a(e){var t;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n)for(let o of n.elements)if("INPUT"===o.tagName&&"submit"===o.type||"BUTTON"===o.tagName&&"submit"===o.type||"INPUT"===o.nodeName&&"image"===o.type)return void o.click()}n.d(t,{g:function(){return a},t:function(){return o}})},81123:function(e,t,n){"use strict";var o=n(2784);const r=o.forwardRef((function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))}));t.Z=r}},function(e){e.O(0,[2842,9097,6577,1268,3955,8192,1759,8678,8324,3530,9774,2888,179],(function(){return t=81953,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.