1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7586],{93759:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z"}}]},name:"backward",theme:"outlined"},a=n(42135),o=function(e,t){return r.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:s}))};var c=r.forwardRef(o)},94155:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),s={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"},a=n(42135),o=function(e,t){return r.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:s}))};var c=r.forwardRef(o)},14313:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),s={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"},a=n(42135),o=function(e,t){return r.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:s}))};var c=r.forwardRef(o)},82129:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z"}}]},name:"forward",theme:"outlined"},a=n(42135),o=function(e,t){return r.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:s}))};var c=r.forwardRef(o)},34447:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),s={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"},a=n(42135),o=function(e,t){return r.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:s}))};var c=r.forwardRef(o)},26346:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),s={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"},a=n(42135),o=function(e,t){return r.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:s}))};var c=r.forwardRef(o)},34765:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z"}}]},name:"printer",theme:"filled"},a=n(42135),o=function(e,t){return r.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:s}))};var c=r.forwardRef(o)},56741:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/complexes/[id]/units/[unitId]/videos",function(){return n(22349)}])},9148:function(e,t,n){"use strict";var i=n(85893);n(67294);t.Z=function(e){var t=e.backToText,n=e.backToUrl,r=e.backImageNeeded;return(0,i.jsxs)("p",{style:{display:"flex",alignItems:"center",gap:"3px",marginTop:"5px",fontSize:"20px",marginBottom:0},children:[(0,i.jsx)("img",{style:{display:"".concat(r)},src:"https://static.redstone.net/resources/images/pathway.png",alt:""}),(0,i.jsx)("a",{href:n,children:t})]})}},34352:function(e,t,n){"use strict";var i=n(1129);t.Z=function(e,t,n,r){if(e){var s=[];e.forEach((function(e){if(!r||-1==e[r]){var t=e[n];s.push(t)}if("allItemIds"===n){var i=e;s.push(i)}}));var a=function(){return Math.random().toString(36).substr(2)},o=a()+a();return t((0,i.Hd)({pageToken:o,pageIds:s,createdDate:new Date})),o}}},50824:function(e,t,n){"use strict";var i=n(85893),r=n(93759),s=n(94155),a=n(14313),o=n(82129),c=n(11163),d=n(67294),l=n(41248),u=n(1129);t.Z=function(e){var t=e.context,n=e.pagePath,p=e.pagingType,m=(0,l.v9)((function(e){return e.detailedPageInfo})).pageInfo,x=(0,d.useState)({first:"",previous:"",current:"",next:"",last:"",currentToken:"",currentPosition:"",totalPosition:""}),f=x[0],h=x[1],v=(0,d.useState)({first:"",previous:"",current:"",next:"",last:"",currentToken:"",currentPosition:"",totalPosition:""}),g=v[0],j=v[1],b=(0,l.I0)(),y=(0,c.useRouter)();return(0,d.useEffect)((function(){for(var e=0;e<(null===m||void 0===m?void 0:m.length);e++){var n=new Date(m[e].createdDate),i=new Date,r=void 0;if(""!==m[e].createdDate&&(r=parseInt(Math.abs(n.getTime()-i.getTime())/36e5)),r>24&&b((0,u.Oe)(m[e].pageToken)),m[e].pageToken==t.token)for(var s,a=0;a<(null===(s=m[e].pageIds)||void 0===s?void 0:s.length);a++)if(m[e].pageIds[a]==t.id){var o,c,d=m[e].pageIds[a-1],l=m[e].pageIds[a],p=m[e].pageIds[a+1],x=m[e].pageIds[0],f=m[e].pageIds[(null===(o=m[e].pageIds)||void 0===o?void 0:o.length)-1];h({first:x,previous:d,current:l,next:p,last:f,currentToken:m[e].pageToken,currentPosition:a+1,totalPosition:null===(c=m[e].pageIds)||void 0===c?void 0:c.length})}}}),[t]),(0,d.useEffect)((function(){for(var e=0;e<(null===m||void 0===m?void 0:m.length);e++){var n=new Date(m[e].createdDate),i=new Date,r=void 0;if(""!==m[e].createdDate&&(r=parseInt(Math.abs(n.getTime()-i.getTime())/36e5)),r>24&&b((0,u.Oe)(m[e].pageToken)),m[e].pageToken==t.tokenCompUnit)for(var s,a=0;a<(null===(s=m[e].pageIds)||void 0===s?void 0:s.length);a++)if(m[e].pageIds[a]==t.unitId){var o,c,d=m[e].pageIds[a-1],l=m[e].pageIds[a],p=m[e].pageIds[a+1],x=m[e].pageIds[0],f=m[e].pageIds[(null===(o=m[e].pageIds)||void 0===o?void 0:o.length)-1];j({first:x,previous:d,current:l,next:p,last:f,currentToken:m[e].pageToken,currentPosition:a+1,totalPosition:null===(c=m[e].pageIds)||void 0===c?void 0:c.length})}}}),[t]),(0,i.jsx)(i.Fragment,{children:""!==f.current&&f.totalPosition>1&&(0,i.jsxs)("div",{className:"d-flex justify-content-center align-item-center my-2 gap-1",children:[(("Unit"!==p||!n.includes("units"))&&f.currentPosition>1||"Unit"==p&&g.currentPosition>1)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",height:"22px",width:"34px",border:"1px solid lightgrey",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",backgroundColor:"#f0f0f0"},children:(0,i.jsx)(r.Z,{style:{fontSize:"20px"},onClick:function(){return y.push("/".concat(n,"/").concat("Unit"===p&&n.includes("units")?g.first:f.first,"?token=").concat(f.currentToken,"&tokenCompUnit=").concat(g.currentToken))}})}),(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",height:"22px",width:"34px",border:"1px solid lightgrey",borderTopRightRadius:"4px",borderBottomRightRadius:"4px",backgroundColor:"#f0f0f0"},children:(0,i.jsx)(s.Z,{style:{fontSize:"17px"},onClick:function(){return y.push("/".concat(n,"/").concat("Unit"===p&&n.includes("units")?g.previous:f.previous,"?token=").concat(f.currentToken,"&tokenCompUnit=").concat(g.currentToken))}})})]}),(0,i.jsxs)("div",{style:{whiteSpace:"nowrap"},children:[p," ","Unit"===p&&n.includes("units")?g.currentPosition:f.currentPosition," ","of"," ","Unit"===p&&n.includes("units")?g.totalPosition:f.totalPosition]}),(("Unit"!==p||!n.includes("units"))&&f.currentPosition!=f.totalPosition||"Unit"==p&&g.currentPosition!=g.totalPosition)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",height:"22px",width:"34px",border:"1px solid lightgrey",borderTopLeftRadius:"4px",borderBottomLeftRadius:"4px",backgroundColor:"#f0f0f0"},children:(0,i.jsx)(a.Z,{style:{fontSize:"17px"},onClick:function(){return y.push("/".concat(n,"/").concat("Unit"===p&&n.includes("units")?g.next:f.next,"?token=").concat(f.currentToken,"&tokenCompUnit=").concat(g.currentToken))}})}),(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",height:"22px",width:"34px",border:"1px solid lightgrey",borderTopRightRadius:"8px",borderBottomRightRadius:"8px",backgroundColor:"#f0f0f0"},children:(0,i.jsx)(o.Z,{style:{fontSize:"20px"},onClick:function(){return y.push("/".concat(n,"/").concat("Unit"===p&&n.includes("units")?g.last:f.last,"?token=").concat(f.currentToken,"&tokenCompUnit=").concat(g.currentToken))}})})]})]})})}},53538:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(85893),r=n(34765),s=n(47116);function a(e){var t=e.componentRef,n=(0,s.useReactToPrint)({pageStyle:"@page { margin: .5in; }",content:function(){var e;return null!==(e=t.current)&&void 0!==e?e:t}});return(0,i.jsxs)("button",{className:"px-3 py-1 rounded-start bg-black text-white text-nowrap border-0 d-print-none",onClick:function(){setTimeout((function(){n()}),250)},children:[(0,i.jsx)(r.Z,{})," Print"]})}},42237:function(e,t,n){"use strict";var i=n(26042),r=n(69396),s=n(85893),a=n(92398),o=n(11163),c=n(67294),d=n(41248),l=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,r.Z)((0,i.Z)({},e),{value:e.label})),e}));var u=(0,o.useRouter)(),p=(0,d.v9)((function(e){return e.tabs})),m=p.unit,x=p.complex,f=p.review,h=(0,d.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?u.push({pathname:n+"/calendar"}).then((function(){h((0,l.kf)("calendar"))})):u.push({pathname:n+"/"+t}).then((function(){h((0,l.kf)(e.toLowerCase()))})):n.includes("complexes")?u.push({pathname:n+"/"+t}).then((function(){h((0,l.ad)(e.toLowerCase()))})):u.push({pathname:n,query:{t:e.toLowerCase(),pageNumber:1}}).then((function(){h((0,l.C9)(e.toLowerCase()))}))};return(0,c.useEffect)((function(){var e,t,n,i;(e=u.asPath.match(/^\/complexes\/\d+(?:\/([a-z-]+))?/))&&h((0,l.ad)(null!==(t=e[1])&&void 0!==t?t:"overview"));(e=u.asPath.match(/^\/(?:vacation-rentals|complexes\/\d+\/units)\/\d+(?:\/([a-z-]+))?/))&&h((0,l.kf)(null!==(n=e[1])&&void 0!==n?n:"overview"));i=u.asPath.match(/([^=]+)\=([^&]+)/),h((0,l.C9)(i?i[2]:u.asPath.includes("insurance")?"insurance01":"consumerreview"))}),[u]),(0,s.jsx)(s.Fragment,{children:n.includes("units")?(0,s.jsx)(a.Z,{activeKey:n.includes("vacation-rentals")||n.includes("units")?m.toLowerCase():n.includes("complexes")?x.toLowerCase():f.toLowerCase(),onChange:v,tabPosition:"top",children:t.map((function(e){return e&&(0,s.jsx)(a.Z.TabPane,{tab:e.value},e.key.toLowerCase())}))}):(0,s.jsx)(a.Z,{activeKey:n.includes("vacation-rentals")||n.includes("units")?m.toLowerCase():n.includes("complexes")?x.toLowerCase():f.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,s.jsx)(a.Z.TabPane,{tab:e.value},e.key.toLowerCase())}))})})}},60203:function(e,t,n){"use strict";var i=n(85893),r=n(8874),s=n(50430),a=n(84251),o=n(47221),c=n(11163),d=n(67294),l=n(41248),u=n(57990),p=n(88549);t.Z=function(e){var t=e.unitName,n=e.complexName,m=e.basePath,x=e.tabs,f=e.usingFrom,h=e.indexLink,v=(0,c.useRouter)(),g=o.Z.Panel,j=(0,d.useState)("end"),b=j[0],y=(j[1],(0,l.v9)((function(e){return e.tabs}))),w=y.compUnit,Z=y.complexMobile,k=(0,l.I0)(),C=function(e){return e.children?e.isActive?(0,i.jsx)(r.Z,{style:{fontSize:"25px",marginTop:"5px",backgroundColor:"white",color:"#1b4db3",border:"none",borderRadius:"50%"}}):(0,i.jsx)(s.Z,{style:{fontSize:"25px",marginTop:"5px",backgroundColor:"white",color:"gray",border:"none",borderRadius:"50%"}}):(0,i.jsx)(a.Z,{style:{fontSize:"25px",marginTop:"5px",backgroundColor:"white",color:"gray",border:"none",borderRadius:"50%"}})};return(0,d.useEffect)((function(){var e;(e=v.asPath.match(/^\/complexes\/\d+(?:\/([a-z-]+))?/))&&k((0,u.CF)(e[1]?e[1][0].toUpperCase()+e[1].slice(1):"Overview")),(e=v.asPath.match(/^\/(?:vacation-rentals|complexes\/\d+\/units)\/\d+(?:\/([a-z-]+))?/))&&k((0,u.uR)(e[1]?e[1][0].toUpperCase()+e[1].slice(1):"Overview"))}),[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{style:{marginInline:"0.5em",marginBlock:"0.5em"},children:[(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[(0,i.jsx)("div",{children:(0,i.jsx)("h1",{style:{margin:"0.75em 0.25em",overflow:"hidden",fontSize:"1em",fontWeight:"bold",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"200px"},children:n})}),(0,i.jsx)(o.Z,{accordion:!0,bordered:!1,expandIcon:function(e){return C(e)},expandIconPosition:b,className:"tabsList",style:{width:"150px"},children:(0,i.jsx)(g,{header:Z,children:(0,i.jsxs)(o.Z,{accordion:!0,bordered:!1,className:"tabsList",expandIconPosition:b,expandIcon:function(e){return C(e)},style:{borderRadius:"0px",position:"absolute",zIndex:"999",top:"120px",right:"8px",width:"180px"},children:[x.map((function(e){return(0,i.jsx)(g,{header:e.label,style:{backgroundColor:e.key===Z.toLowerCase()?"lightgray":""},onClick:function(){return v.push({pathname:"overview"===e.key?m:"rates"===e.key?m+"/calendar":m+"/"+e.key})}},e.key)})),(0,i.jsx)(g,{header:"Back",onClick:function(){return v.push("/complexes")}})]})})})]}),t&&"overview"===f&&(0,i.jsx)("div",{className:"text-center",children:(0,i.jsx)("h1",{style:{margin:"0.75em 0.25em",overflow:"hidden",fontSize:"1em",fontWeight:"bold",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"100%"},children:t})})]}),"overview"!==f&&"complexDirectory"!==f&&(0,i.jsx)(p.Z,{unitName:t,tabName:t?w:Z,indexLink:h})]})}},25536:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(85893),r=n(47221),s=n(67294),a=n(66073),o=n(53538);function c(e){var t=e.item,n=e.domainVideo,c=(0,s.useRef)(),d=Boolean(n),l=0==Boolean(n);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("iframe",{src:t.videoURL,allowFullScreen:!0,style:{display:"block",width:"100%",aspectRatio:"16 / 9"}}),(0,i.jsxs)("div",{ref:c,children:[d&&(0,i.jsxs)("div",{className:"d-flex justify-content-between gap-3 my-3 align-items-end",children:[(0,i.jsx)("h3",{className:"mb-0",children:t.caption}),(0,i.jsx)(o.Z,{componentRef:c})]}),(0,i.jsxs)("dl",{className:"d-flex flex-wrap justify-content-between gap-3 my-3 bg-light rounded",children:[t.idVideo&&(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Video ID"}),(0,i.jsx)("dd",{className:"mb-0",children:t.idVideo})]}),t.videographed&&(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Date"}),(0,i.jsx)("dd",{className:"mb-0",children:(0,a.Jw)(t.videographed)})]}),t.videographer&&(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Videographer"}),(
10,i.jsx)("dd",{className:"mb-0",children:t.videographer})]}),t.videoFormat&&(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{children:"Format"}),(0,i.jsx)("dd",{className:"mb-0",children:t.videoFormat})]}),l&&t.caption&&(0,i.jsxs)("div",{className:"w-100",children:[(0,i.jsx)("dt",{children:"Caption"}),(0,i.jsx)("dd",{className:"mb-0",children:t.caption})]}),t.description&&(0,i.jsxs)("div",{className:"w-100",children:[(0,i.jsx)("dt",{children:"Description"}),(0,i.jsx)("dd",{className:"mb-0 preserve-newlines",children:t.description})]})]}),t.transcriptContent&&1===t.displayTranscript&&(0,i.jsxs)("div",{className:"my-3",children:[(0,i.jsx)("h3",{children:"Transcript"}),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:t.transcriptContent}})]}),t.transcriptContent&&2===t.displayTranscript&&(0,i.jsx)(r.Z,{className:"my-3",items:[{label:"Transcript",children:(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:t.transcriptContent}})}]})]})]})}},24487:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(85893),r=n(67294),s=n(25536);function a(e){var t=e.items,n=(0,r.useState)(0===t.length?null:t[0]),a=n[0],o=n[1];if(0!==t.length)return(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("div",{className:"col-sm-8",children:(0,i.jsx)(s.Z,{item:a,domainVideo:!1})}),(0,i.jsx)("div",{className:"col-sm-4 d-flex flex-wrap align-content-start gap-3",children:t.map((function(e){var t=null;return e.remoteThumbnail?t=e.remoteThumbnail:e.localThumbnail&&e.localThumbnail.length&&(t=e.localThumbnail[0]),(0,i.jsx)("a",{href:"#",onClick:function(t){t.preventDefault(),o(e)},children:(0,i.jsx)("img",{src:t,style:{width:"150px",border:"1px solid #333333",padding:".25rem",boxShadow:"2px 2px 2px #666666"}})},e.idVideo)}))})]})}},22349:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return F}});var i=n(47568),r=n(26042),s=n(69396),a=n(97582),o=n(85893),c=n(34447),d=n(26346),l=n(57434),u=n(51828),p=n(78428),m=n.n(p),x=n(33299),f=n(11163),h=n(67294),v=n(10682),g=n(34051),j=n(31555),b=n(35005),y=n(85518),w=n(41248),Z=n(9148),k=n(76910),C=n(34352),I=n(50824),T=n(64913),N=n(50752),P=n(42237),R=n(74054),L=n(60203),z=n(24487),U=n(66073),S=n(82990),F=!0;t.default=function(e){var t=e.content,n=e.complexResponse,p=e.context,F=e.params,D=e.apiStatus,E=e.redirectURL,_=e.countries,M=e.state,B=e.city,V=e.profile,A=e.hostUser,q=e.inquiryContent,O=e.mainApiResponse,W=e.mainUnitApiResponse,H=(0,x.useSession)(),X=H.data,K=H.status,Y=(0,f.useRouter)();if(200==D){var J=(0,w.I0)(),G=((0,w.v9)((function(e){return e.inquiry})).showInquiry,(0,h.useState)(t.items[0])),Q=(G[0],G[1],(0,h.useState)({unit:{fav:"Favorite",add:"Add to favorites"},complex:{fav:"Favorite",add:"Add to favorites"}})),$=Q[0],ee=Q[1],te=(0,h.useState)(""),ne=te[0],ie=te[1],re=(0,h.useState)(""),se=re[0],ae=re[1];(0,h.useLayoutEffect)((function(){p.token||ie((0,C.Z)(O.allItemIds,J,"allItemIds","displaysExpanded"))}),[]),(0,h.useLayoutEffect)((function(){p.tokenCompUnit||ae((0,C.Z)(W.allItemIds,J,"allItemIds","displaysExpanded"))}),[]),(0,h.useEffect)((function(){""!==ne&&""!==se&&Y.push({pathname:"/complexes/".concat(p.id,"/units/").concat(p.unitId,"/videos"),query:{token:ne,tokenCompUnit:se}})}),[ne,se]);var oe=function(){var e=(0,i.Z)((function(e){var t,n,i,o;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:if("authenticated"!==K)return[3,5];i="unit"===e?F.unitId:F.id,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,u.Z.post("/api/postRequests",null,{httpsAgent:new(m().Agent)({rejectUnauthorized:!1}),headers:{IDMember:X.user.idMember,IDPerson:X.user.idPerson,IDMembership:X.user.idMembership,IDPersonType:X.user.idPersonType,IDDomain_Member:X.user.idDomain_Member},params:{url:"dashboard/favorites/".concat(e,"/").concat(i)}})];case 2:return t=a.sent(),n=t.status,[3,4];case 3:return o=a.sent(),t=o,[3,4];case 4:return 200==n?(l.ZP.success(t.data),t.data.includes("added")&&"unit"===e?ee((0,s.Z)((0,r.Z)({},$),{unit:{fav:"Favorite",add:"Favorite"}})):t.data.includes("removed")&&"unit"===e&&ee((0,s.Z)((0,r.Z)({},$),{unit:{fav:"Add to favorites",add:"Add to favorites"}})),t.data.includes("added")&&"complex"===e?ee((0,s.Z)((0,r.Z)({},$),{complex:{fav:"Favorite",add:"Favorite"}})):t.data.includes("removed")&&"complex"===e&&ee((0,s.Z)((0,r.Z)({},$),{complex:{fav:"Add to favorites",add:"Add to favorites"}}))):l.ZP.error("Error: ",t),[3,6];case 5:l.ZP.error("You are not logged in.").then(Y.push({pathname:"/login",query:{redirectURL:E}})),a.label=6;case 6:return[2]}}
1))}));return function(t){return e.apply(this,arguments)}}();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(T.Z,{headTitle:t.unitName}),y.nI?(0,o.jsxs)(v.Z,{children:[(0,o.jsxs)(g.Z,{children:[(0,o.jsxs)(j.Z,{xs:12,md:7,children:[(0,o.jsx)(Z.Z,{backToText:"Browse Inns & Resorts",backToUrl:"/complexes"}),(0,o.jsx)("h1",{children:n.complexName})]}),(0,o.jsxs)(j.Z,{xs:12,md:5,children:[(0,o.jsxs)(j.Z,{className:"d-flex justify-content-end align-items-center gap-1 my-1",children:[(0,o.jsx)(I.Z,{context:p,pagePath:"complexes",pagingType:"Property"}),(0,o.jsxs)(b.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:function(){return oe("complex")},children:[(0,o.jsx)(c.Z,{style:{color:"red",marginRight:"5px"}})," ",n.idFavorite?$.complex.fav:$.complex.add]})]}),(0,o.jsxs)(j.Z,{className:"d-flex gap-1 justify-content-center my-1",children:[(0,o.jsxs)(b.Z,{size:"sm",className:"w-50 bg-dark text-white",children:["Property #",(0,U.Yb)(p.id)]}),(0,o.jsx)(b.Z,{className:"bg-dark text-white w-50",variant:"dark",size:"sm",onClick:function(){return J((0,S.lf)(!0))},children:"Email Manager"}),(0,o.jsx)(N.Z,{content:q,countries:_,redirectURL:E,idContext:p.id,hostUser:A,inquiryFor:n.complexName,submitFrom:"complexes",state:M,city:B,profile:V})]})]})]}),(0,o.jsx)(g.Z,{children:(0,o.jsx)(P.Z,{path:"/complexes/".concat(p.id),tabs:n.tabs})}),(0,o.jsxs)(g.Z,{children:[(0,o.jsxs)(j.Z,{xs:12,md:7,className:"d-flex align-items-center gap-2",children:[(0,o.jsx)("a",{href:"/complexes/".concat(p.id,"/units"),children:(0,o.jsx)(d.Z,{className:"fs-4"})}),(0,o.jsx)("h1",{className:"m-0",children:t.unitName})]}),(0,o.jsxs)(j.Z,{xs:12,md:5,children:[(0,o.jsxs)(j.Z,{className:"d-flex justify-content-end align-items-center gap-1 my-1",children:[(0,o.jsx)(I.Z,{context:p,pagePath:"complexes/".concat(p.id,"/units"),pagingType:"Unit"}),(0,o.jsxs)(b.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:function(){return oe("unit")},children:[(0,o.jsx)(c.Z,{style:{color:"red",marginRight:"5px"}})," ",t.idFavorite?$.unit.fav:$.unit.add]})]}),(0,o.jsx)(j.Z,{className:"d-flex justify-content-center my-1",children:(0,o.jsx)(R.qX,{unit:t,idUnit:p.unitId,idComplex:p.id,usingFrom:"complexes-units",className:"w-100 btn btn-sm btn-dark"})})]})]}),(0,o.jsx)("div",{children:(0,o.jsx)(P.Z,{path:"/complexes/".concat(p.id,"/units/").concat(p.unitId),tabs:t.tabs,complexId:p.id,unitsId:p.unitId,context:p})})]}):(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(L.Z,{unitName:t.unitName,complexName:n.complexName,basePath:"/complexes/".concat(p.id),indexLink:"/complexes/".concat(p.id,"/units/").concat(p.unitId),tabs:n.tabs})}),(0,o.jsxs)(v.Z,{children:[(0,o.jsx)(z.Z,{items:t.items}),(0,o.jsx)(R.sX,{unit:t,idUnit:p.unitId,idComplex:p.id,usingFrom:"complexes-units",className:"jt-button"})]}),(0,o.jsx)(v.Z,{children:!y.nI&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"d-flex flex-column justify-content-end align-items-center gap-1 my-1",children:[(0,o.jsx)(I.Z,{context:p,pagePath:"complexes",pagingType:"Property"}),(0,o.jsxs)(b.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:function(){return oe("complex")},children:[(0,o.jsx)(c.Z,{style:{color:"red",marginRight:"5px"}})," ",n.idFavorite?$.complex.fav:$.complex.add]})]}),(0,o.jsxs)("div",{className:"d-flex flex-column justify-content-end align-items-center gap-1 my-1",children:[(0,o.jsx)(I.Z,{context:p,pagePath:"complexes/".concat(p.id,"/units"),pagingType:"Unit"}),(0,o.jsxs)(b.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:function(){return oe("unit")},children:[(0,o.jsx)(c.Z,{style:{color:"red",marginRight:"5px"}}
1)," ",t.idFavorite?$.unit.fav:$.unit.add]})]})]})})]})}return(0,o.jsx)(k.Z,{message:t,errorCode:D})}}},function(e){e.O(0,[7604,8529,8872,8428,6892,9860,1664,8791,2398,7116,7457,7327,4506,9774,2888,179],(function(){return t=56741,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.