PageSourceSearch

https://musiquedujour.com/_next/static/chunks/pages/vacation-rentals/[id]/images-9db9491af6e11470.js

js musiquedujour.com collected 2026-10-02 14:26:53 UTC 21,728 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1169],{53073:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},94155:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"outlined"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},14313:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},34447:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},26346:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"left-circle",theme:"outlined"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},33328:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z"}}]},name:"pause-circle",theme:"filled"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},67874:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},17598:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.
16.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},40246:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},41683:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(87462),s=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},i=n(42135),o=function(e,t){return s.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:r}))};var c=s.forwardRef(o)},61807:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/vacation-rentals/[id]/images",function(){return n(80869)}])},59143:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var a=n(85893),s=n(26346),r=n(14313),i=n(67294),o=n(41248),c=n(68966);function l(e){var t=e.links,n=t.length-1,l=t[n],u=(0,o.v9)((function(e){var t;return l&&(null===(t=e.itemNavigation[l.href])||void 0===t?void 0:t.query)}));return(0,a.jsx)("div",{className:"d-flex align-self-start gap-2",children:t.map((function(e,t){var o=t===n&&u?e.href+(0,c.WH)(u):e.href;return(0,a.jsxs)(i.Fragment,{children:[0===t?(0,a.jsx)(s.Z,{className:"fs-4"}):(0,a.jsx)(r.Z,{}),(0,a.jsx)("a",{href:o,children:e.text})]},t)}))})}},88861:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var a=n(85893),s=n(67874),r=n(6171),i=n(18073),o=n(53073),c=n(91978),l=n(67294),u=n(85518),d=n(41248),f=n(85655),h=n(69369),m=n.n(h),x=n(69190),p=n(84251),v=n(33328),g=n(17598),b=n(32835),j=function(e){var t,n,r,i=e.content,o=e.unitInfo,h=(0,l.useState)(!0),m=h[0],j=h[1],w=(0,l.useState)("Pause"),y=w[0],Z=w[1],N=(0,l.useState)("hidden"),L=N[0],C=N[1],k=(0,l.useState)(1),S=k[0],I=k[1],P=(0,l.createRef)(),z=(0,d.v9)((function(e){return e.imageZooming})).zoomImage,_=(0,d.I0)(),R=function(){j(!m)};return(0,l.useEffect)((function(){Z(!0===m?"Pause":"Play"),C(!0===m?"hidden":"visible")}),[m]),(0,a.jsx)(a.Fragment,{children:z&&(0,a.jsx)(b.Z,{className:"popupModel",keyboard:!0,open:z,centered:!0,bodyStyle:{padding:"0px"},width:"80vw",closable:!1,onCancel:function(){return _((0,f.rw)(!1))},footer:[(0,a.jsxs)("div",{style:{display:"flex",flexWrap:"".concat(u.tq?"wrap":"nowrap"),flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:"".concat(u.tq?"5px":"")},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,a.jsx)(x.Z,{className:"bgShadow mx-1",style:{fontSize:"40px",color:"white"},onClick:function(){return P.current.prev()}}),(0,a.jsx)(p.Z,{className:"bgShadow mx-1",style:{fontSize:"40px",color:"white"},onClick:function(){return P.current.next()}}),(0,a.jsx)("span",{className:"bgShadow mx-3 text",style:{fontSize:"18px"},children:"".concat(S," of ").concat(i.length)})]}),o&&(0,a.jsx)("div",{children:(0,a.jsx)("h4",{children:null!==(r=null!==(n=null===(t=o.details)||void 0===t?void 0:t.unitName)&&void 0!==n?n:o.unitName)&&void 0!==r?r:o.complexName})}),(0,a.jsxs)("div",{children:[(0,a.jsx)(s.Z,{className:"bgShadow mx-1",style:{fontSize:"40px",color:"white"},onClick:function(){return j(!1)}}),(0,a.jsx)(v.Z,{className:"bgShadow mx-1",style:{fontSize:"40px",color:"white"},onClick:function(){return j(!0)}})]})]},Math.random())],children:(0,a.jsx)(c.Z,{autoplay:m,autoplaySpeed:5e3,dots:!1,speed:500,pauseOnHover:!1,fade:!0,ref:P,afterChange:function(e){return I(e+1)},children:null===i||void 0===i?void 0:i.map((function(e,t){return(0,a.jsxs)("div",{title:y,style:{position:"relative"},children:[i.length>1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onClick:R,style:{position:"absolute",width:"80%",height:" 100%",left:"10%",cursor:"pointer"},children:(0,a.jsx)(s.Z,{className:"bgShadow",style:{position:"absolute",left:"50%",top:"50%",fontSize:"50px",color:"white",visibility:"".concat(L)}})}),(0,a.jsx)(g.Z,{className:"bgShadow",style:{position:"absolute",right:"1%",top:"1%",fontSize:"50px",color:"white"},onClick:function(){return _((0,f.rw)(!1))}})]}),(0,a.jsx)("img",{id:"carousalImage",style:{objectFit:"contain",width:"100%",maxHeight:"calc(90vh - 60px - 1px)"},src:e[6]})]},t)}))})})})},w=function(e){var t=e.content,n=e.needPhotosList,h=e.usingFrom,x=e.unitInfo,p=e.carouselClassName,v=(0,l.useState)(!0),g=v[0],b=v[1],w=(0,l.useState)("Pause"),y=w[0],Z=w[1],N=(0,l.useState)("hidden"),L=N[0],C=N[1],k=(0,l.createRef)(),S=(0,d.I0)(),I=function(){b(!g)};return(0,l.useEffect)((function(){Z(!0===g?"Pause":"Play"),C(!0===g?"hidden":"visible")}),[g]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.Z,{autoplay:g,auto
1playSpeed:5e3,dots:!1,speed:500,pauseOnHover:!1,fade:!0,ref:k,className:p,children:null===t||void 0===t?void 0:t.map((function(e,n){return(0,a.jsxs)("div",{style:{position:"relative"},children:[t.length>1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onClick:I,style:{position:"absolute",top:"15%",bottom:"15%",left:"10%",right:"10%",cursor:"pointer"},title:t.length>1&&y,children:(0,a.jsx)(s.Z,{className:"bgShadow",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",fontSize:"50px",color:"white",visibility:L}})}),(0,a.jsx)(r.Z,{className:"bgShadow",style:{position:"absolute",left:"1%",top:"50%",transform:"translateY(-50%)",fontSize:"50px",color:"white"},onClick:function(){return k.current.prev()}}),(0,a.jsx)(i.Z,{className:"bgShadow",style:{position:"absolute",right:"1%",top:"50%",transform:"translateY(-50%)",fontSize:"50px",color:"white"},onClick:function(){return k.current.next()}}),"home"!==h&&(0,a.jsx)("div",{style:{position:"absolute",bottom:"0px",left:"50%",transform:"translateX(-50%)",color:"white"},children:(0,a.jsxs)("span",{className:"bgShadow mx-3",style:{fontSize:"18px"},children:[n+1," of ",t.length]})}),"home"!==h&&e.length>6&&u.nI&&(0,a.jsx)(o.Z,{className:"bgShadow",style:{position:"absolute",right:"1%",top:"1%",fontSize:"50px",color:"white"},onClick:function(){return S((0,f.rw)(!0))}})]}),"home"===h?-1===e.externalRedirect&&e.clickURL?(0,a.jsx)("a",{href:e.clickURL,target:-1===e.ditto?"_blank":null,className:"d-block",title:"Visit website",children:(0,a.jsx)("img",{className:"w-100",src:e.imageURL})}):(0,a.jsx)("img",{className:"w-100",src:e.imageURL}):(0,a.jsx)("img",{className:"w-100",src:e[5]})]},n)}))}),n&&(0,a.jsx)("div",{className:m().photosList,children:null===t||void 0===t?void 0:t.map((function(e,t){return(0,a.jsx)("img",{className:m().photoItem,src:e[0],style:{minWidth:"100px"},onClick:function(){return k.current.goTo(t)}},t)}))}),(0,a.jsx)(j,{content:t,unitInfo:x})]})}},83833:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var a=n(47568),s=n(97582),r=n(85893),i=n(40246),o=n(94155),c=n(14313),l=n(41683),u=n(51828),d=n(67294),f=n(41248),h=n(37521);function m(e){var t=e.basePath,n=e.proxyPath,m=e.currItem,x=e.itemLabel,p=(0,f.I0)(),v=(0,f.v9)((function(e){var n;return null===(n=e.itemNavigation[t])||void 0===n?void 0:n.itemList})),g=(0,d.useState)(!1),b=g[0],j=g[1];if(console.log("[itemNavigation][render] %o",{basePath:t,proxyPath:n,currItem:m,itemLabel:x}),(0,d.useEffect)((function(){console.log("[itemNavigation][effect] %o",v),v||(j(!0),(0,a.Z)((function(){var e,a,r;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,3,4]),[4,u.Z.get("/api/requestProxy",{params:{path:n}})];case 1:return e=s.sent(),a={basePath:t,query:{},itemList:e.data.allItemIds},p((0,h.xo)(a)),[3,4];case 2:return s.sent(),r={basePath:t,query:{},itemList:[]},p((0,h.xo)(r)),[3,4];case 3:return j(!1),[7];case 4:return[2]}}
1))}))())}),[t,p,v,n]),b)return(0,r.jsx)("div",{className:"text-muted",children:"Loading..."});if(null==v)return(0,r.jsx)("div",{className:"text-muted",children:"Widget pending"});var w,y,Z,N,L=v.indexOf(m);return-1===L?(0,r.jsx)("div",{className:"text-muted",children:"Widget error"}):(L>0&&(w=v[0],y=v[L-1]),L<v.length-1&&(Z=v[L+1],N=v[v.length-1]),(0,r.jsxs)("div",{className:"d-flex align-self-center align-self-sm-start gap-2",children:[w?(0,r.jsx)("a",{href:"".concat(t,"/").concat(w),className:"px-2 text-black bg-secondary-subtle rounded-start-2",children:(0,r.jsx)(i.Z,{})}):(0,r.jsx)("span",{className:"px-2 text-muted opacity-50 bg-secondary-subtle rounded-start-2",children:(0,r.jsx)(i.Z,{})}),y?(0,r.jsx)("a",{href:"".concat(t,"/").concat(y),className:"px-2 text-black bg-secondary-subtle",children:(0,r.jsx)(o.Z,{})}):(0,r.jsx)("span",{className:"px-2 text-muted opacity-50 bg-secondary-subtle",children:(0,r.jsx)(o.Z,{})}),(0,r.jsxs)("span",{children:[x," ",L+1," of ",v.length]}),Z?(0,r.jsx)("a",{href:"".concat(t,"/").concat(Z),className:"px-2 text-black bg-secondary-subtle",children:(0,r.jsx)(c.Z,{})}):(0,r.jsx)("span",{className:"px-2 text-muted opacity-50 bg-secondary-subtle",children:(0,r.jsx)(c.Z,{})}),N?(0,r.jsx)("a",{href:"".concat(t,"/").concat(N),className:"px-2 text-black bg-secondary-subtle rounded-end-2",children:(0,r.jsx)(l.Z,{})}):(0,r.jsx)("span",{className:"px-2 text-muted opacity-50 bg-secondary-subtle rounded-end-2",children:(0,r.jsx)(l.Z,{})})]}))}},42237:function(e,t,n){"use strict";var a=n(26042),s=n(69396),r=n(85893),i=n(92398),o=n(11163),c=n(67294),l=n(41248),u=n(57990);t.Z=function(e){var t=e.tabs,n=e.path;null!==t&&"object"===typeof t&&!1===Array.isArray(t)&&(t=Object.entries(t).filter((function(e){return e[1]})).map((function(e){return{key:e[0],value:e[1]}}))),t=t.map((function(e){return"value"in e===!1&&(e=(0,s.Z)((0,a.Z)({},e),{value:e.label})),e}));var d=(0,o.useRouter)(),f=(0,l.v9)((function(e){return e.tabs})),h=f.unit,m=f.complex,x=f.review,p=(0,l.I0)(),v=function(e){var t="overview"==e.toLowerCase()||"consumerreview"==e.toLowerCase()?"":e.toLowerCase();n.includes("vacation-rentals")||n.includes("units")||n.includes("complexes")?"rates"===t?d.push({pathname:n+"/calendar"}).then((function(){p((0,u.kf)("calendar"))})):d.push({pathname:n+"/"+t}).then((function(){p((0,u.kf)(e.toLowerCase()))})):n.includes("complexes")?d.push({pathname:n+"/"+t}).then((function(){p((0,u.ad)(e.toLowerCase()))})):d.push({pathname:n,query:{t:e.toLowerCase(),pageNumber:1}}).then((function(){p((0,u.C9)(e.toLowerCase()))}))};return(0,c.useEffect)((function(){var e,t,n,a;(e=d.asPath.match(/^\/complexes\/\d+(?:\/([a-z-]+))?/))&&p((0,u.ad)(null!==(t=e[1])&&void 0!==t?t:"overview"));(e=d.asPath.match(/^\/(?:vacation-rentals|complexes\/\d+\/units)\/\d+(?:\/([a-z-]+))?/))&&p((0,u.kf)(null!==(n=e[1])&&void 0!==n?n:"overview"));a=d.asPath.match(/([^=]+)\=([^&]+)/),p((0,u.C9)(a?a[2]:d.asPath.includes("insurance")?"insurance01":"consumerreview"))}),[d]),(0,r.jsx)(r.Fragment,{children:n.includes("units")?(0,r.jsx)(i.Z,{activeKey:n.includes("vacation-rentals")||n.includes("units")?h.toLowerCase():n.includes("complexes")?m.toLowerCase():x.toLowerCase(),onChange:v,tabPosition:"top",children:t.map((function(e){return e&&(0,r.jsx)(i.Z.TabPane,{tab:e.value},e.key.toLowerCase())}))}):(0,r.jsx)(i.Z,{activeKey:n.includes("vacation-rentals")||n.includes("units")?h.toLowerCase():n.includes("complexes")?m.toLowerCase():x.toLowerCase(),onChange:v,tabPosition:"top",type:"card",style:{paddingLeft:"1em",paddingRight:"1em"},children:null===t||void 0===t?void 0:t.map((function(e){return e&&(0,r.jsx)(i.Z.TabPane,{tab:e.value},e.key.toLowerCase())}))})})}},80869:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return I}});var a=n(47568),s=n(97582),r=n(85893),i=n(34447),o=n(57434),c=n(51828),l=n(78428),u=n.n(l),d=n(33299),f=n(11163),h=n(67294),m=n(10682),x=n(34051),p=n(31555),v=n(35005),g=n(85518),b=n(41248),j=n(59143),w=n(76910),y=n(64913),Z=n(88861),N=n(50752),L=(n(83833),n(42237)),C=n(74054),k=n(88549),S=n(82990),I=!0;t.default=function(e){var t=e.content,n=e.context,l=e.params,I=e.status,P=e.redirectURL,z=e.countries,_=e.state,R=e.city,M=e.profile,E=e.hostUser,F=e.inquiryContent,q=(e.mainApiResponse,(0,f.useRouter)());if(200==I){var V=(0,d.useSession)(),U=V.data,A=V.status,B=(0,b.I0)(),D=((0,b.v9)((function(e){return e.inquiry})).showInquiry,(0,h.useState)({fav:"Favorite",add:"Add to favorites"}
1)),T=D[0],O=D[1],W=(0,h.useState)(""),X=W[0];W[1],function(){var e=(0,a.Z)((function(){return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return[4,c.Z.get("/api/getRequestProxy",{params:{url:"units"}})];case 1:return[2,e.sent().data.allItemIds]}}))}))}();(0,h.useEffect)((function(){""!==X&&q.push({pathname:"/vacation-rentals/".concat(n.id,"/images"),query:{token:X}})}),[X]);var H=function(){var e=(0,a.Z)((function(){var e,t,n;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:if("authenticated"!==A)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,c.Z.post("/api/postRequests",null,{httpsAgent:new(u().Agent)({rejectUnauthorized:!1}),headers:{IDMember:U.user.idMember,IDPerson:U.user.idPerson,IDMembership:U.user.idMembership,IDPersonType:U.user.idPersonType,IDDomain_Member:U.user.idDomain_Member},params:{url:"dashboard/favorites/unit/".concat(l.id)}})];case 2:return e=a.sent(),t=e.status,[3,4];case 3:return n=a.sent(),e=n,[3,4];case 4:return 200==t?(o.ZP.success(e.data),e.data.includes("added")?O({fav:"Favorite",add:"Favorite"}):e.data.includes("removed")&&O({fav:"Add to favorites",add:"Add to favorites"})):o.ZP.error("Error: ",e),[3,6];case 5:o.ZP.error("You are not logged in.").then(q.push({pathname:"/login",query:{redirectURL:P}})),a.label=6;case 6:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),Y=(0,h.useState)(0);Y[0],Y[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.Z,{headTitle:t.unitName}),g.nI?(0,r.jsxs)(m.Z,{children:[(0,r.jsxs)(x.Z,{children:[(0,r.jsxs)(p.Z,{xs:12,md:7,children:[(0,r.jsx)(j.Z,{links:[{text:"Vacation Rentals",href:"/vacation-rentals"}]}),(0,r.jsx)("h1",{children:t.unitName})]}),(0,r.jsxs)(p.Z,{xs:12,md:5,children:[(0,r.jsx)(p.Z,{className:"d-flex justify-content-end align-items-center gap-1 my-1",children:(0,r.jsxs)(v.Z,{className:"bg-white text-secondary",variant:"dark",size:"sm",title:"Click to add this item to favorites",style:{display:"flex",justifyContent:"center",alignItems:"center",width:"150px",height:"33px",border:"none",fontWeight:"bold"},onClick:H,children:[(0,r.jsx)(i.Z,{style:{color:"red",marginRight:"5px"}})," ",t.idFavorite?T.fav:T.add]})}),(0,r.jsxs)(p.Z,{className:"d-flex gap-1 my-1",children:[(0,r.jsx)(C.qX,{unit:t,idUnit:n.id,usingFrom:"units",className:"w-50 btn btn-sm btn-dark"}),(0,r.jsx)(v.Z,{className:"w-50 bg-dark text-white",size:"sm",onClick:function(){return B((0,S.lf)(!0))},children:"Email Manager"}),(0,r.jsx)(N.Z,{content:F,countries:z,status:A,redirectURL:P,idContext:l.id,hostUser:E,inquiryFor:t.unitName,submitFrom:"units",state:_,city:R,profile:M})]})]})]}),(0,r.jsx)(x.Z,{children:(0,r.jsx)(L.Z,{path:"/vacation-rentals/".concat(n.id),tabs:t.tabs,context:n})}
1),(0,r.jsx)(Z.Z,{content:t.photos,unitInfo:t,needPhotosList:!0})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k.Z,{unitName:t.unitName,tabName:"Images",indexLink:"/vacation-rentals/".concat(n.id)}),(0,r.jsx)(Z.Z,{content:t.photos,unitInfo:t,needPhotosList:!0})]}),(0,r.jsxs)(m.Z,{children:[(0,r.jsx)(p.Z,{className:"my-2",children:(0,r.jsx)(C.sX,{unit:t,idUnit:n.id,usingFrom:"units",className:"jt-button"})}),!g.nI&&(0,r.jsx)("div",{className:"d-flex flex-column justify-content-end align-items-center gap-1 my-1",children:(0,r.jsxs)(v.Z,{className:"bg-white text-secondary",variant:"dark",size:"sm",title:"Click to add this item to favorites",style:{display:"flex",justifyContent:"center",alignItems:"center",width:"150px",height:"33px",border:"none",fontWeight:"bold"},onClick:H,children:[(0,r.jsx)(i.Z,{style:{color:"red",marginRight:"5px"}})," ",t.idFavorite?T.fav:T.add]})})]})]})}return(0,r.jsx)(w.Z,{message:t,errorCode:I})}},69369:function(e){e.exports={photosList:"Album_photosList__L7SnL",photoItem:"Album_photoItem__oO4VN"}}},function(e){e.O(0,[7604,8529,2441,8872,8428,6892,9860,1664,8791,2398,7457,7327,4506,9774,2888,179],(function(){return t=61807,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.