nestiq-component-library 1.2.0 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +63 -63
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +36 -36
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react");var ee={exports:{}},G={};var xe;function Be(){if(xe)return G;xe=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function o(r,l,n){var c=null;if(n!==void 0&&(c=""+n),l.key!==void 0&&(c=""+l.key),"key"in l){n={};for(var f in l)f!=="key"&&(n[f]=l[f])}else n=l;return l=n.ref,{$$typeof:e,type:r,key:c,ref:l!==void 0?l:null,props:n}}return G.Fragment=a,G.jsx=o,G.jsxs=o,G}var Y={};var ve;function Re(){return ve||(ve=1,process.env.NODE_ENV!=="production"&&(function(){function e(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===L?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case x:return"Fragment";case d:return"Profiler";case w:return"StrictMode";case N:return"Suspense";case v:return"SuspenseList";case R:return"Activity"}if(typeof s=="object")switch(typeof s.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),s.$$typeof){case g:return"Portal";case y:return s.displayName||"Context";case u:return(s._context.displayName||"Context")+".Consumer";case I:var b=s.render;return s=s.displayName,s||(s=b.displayName||b.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case j:return b=s.displayName||null,b!==null?b:e(s.type)||"Memo";case S:b=s._payload,s=s._init;try{return e(s(b))}catch{}}return null}function a(s){return""+s}function o(s){try{a(s);var b=!1}catch{b=!0}if(b){b=console;var E=b.error,z=typeof Symbol=="function"&&Symbol.toStringTag&&s[Symbol.toStringTag]||s.constructor.name||"Object";return E.call(b,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",z),a(s)}}function r(s){if(s===x)return"<>";if(typeof s=="object"&&s!==null&&s.$$typeof===S)return"<...>";try{var b=e(s);return b?"<"+b+">":"<...>"}catch{return"<...>"}}function l(){var s=B.A;return s===null?null:s.getOwner()}function n(){return Error("react-stack-top-frame")}function c(s){if(U.call(s,"key")){var b=Object.getOwnPropertyDescriptor(s,"key").get;if(b&&b.isReactWarning)return!1}return s.key!==void 0}function f(s,b){function E(){W||(W=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",b))}E.isReactWarning=!0,Object.defineProperty(s,"key",{get:E,configurable:!0})}function m(){var s=e(this.type);return
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react");var ee={exports:{}},G={};var xe;function Be(){if(xe)return G;xe=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function o(r,l,n){var c=null;if(n!==void 0&&(c=""+n),l.key!==void 0&&(c=""+l.key),"key"in l){n={};for(var f in l)f!=="key"&&(n[f]=l[f])}else n=l;return l=n.ref,{$$typeof:e,type:r,key:c,ref:l!==void 0?l:null,props:n}}return G.Fragment=a,G.jsx=o,G.jsxs=o,G}var Y={};var ve;function Re(){return ve||(ve=1,process.env.NODE_ENV!=="production"&&(function(){function e(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===L?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case x:return"Fragment";case d:return"Profiler";case w:return"StrictMode";case N:return"Suspense";case v:return"SuspenseList";case R:return"Activity"}if(typeof s=="object")switch(typeof s.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),s.$$typeof){case g:return"Portal";case y:return s.displayName||"Context";case u:return(s._context.displayName||"Context")+".Consumer";case I:var b=s.render;return s=s.displayName,s||(s=b.displayName||b.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case j:return b=s.displayName||null,b!==null?b:e(s.type)||"Memo";case S:b=s._payload,s=s._init;try{return e(s(b))}catch{}}return null}function a(s){return""+s}function o(s){try{a(s);var b=!1}catch{b=!0}if(b){b=console;var E=b.error,z=typeof Symbol=="function"&&Symbol.toStringTag&&s[Symbol.toStringTag]||s.constructor.name||"Object";return E.call(b,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",z),a(s)}}function r(s){if(s===x)return"<>";if(typeof s=="object"&&s!==null&&s.$$typeof===S)return"<...>";try{var b=e(s);return b?"<"+b+">":"<...>"}catch{return"<...>"}}function l(){var s=B.A;return s===null?null:s.getOwner()}function n(){return Error("react-stack-top-frame")}function c(s){if(U.call(s,"key")){var b=Object.getOwnPropertyDescriptor(s,"key").get;if(b&&b.isReactWarning)return!1}return s.key!==void 0}function f(s,b){function E(){W||(W=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",b))}E.isReactWarning=!0,Object.defineProperty(s,"key",{get:E,configurable:!0})}function m(){var s=e(this.type);return J[s]||(J[s]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),s=this.props.ref,s!==void 0?s:null}function h(s,b,E,z,$,ne){var M=E.ref;return s={$$typeof:_,type:s,key:b,props:E,_owner:z},(M!==void 0?M:null)!==null?Object.defineProperty(s,"ref",{enumerable:!1,get:m}):Object.defineProperty(s,"ref",{enumerable:!1,value:null}),s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(s,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(s,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:$}),Object.defineProperty(s,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ne}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}function A(s,b,E,z,$,ne){var M=b.children;if(M!==void 0)if(z)if(re(M)){for(z=0;z<M.length;z++)k(M[z]);Object.freeze&&Object.freeze(M)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else k(M);if(U.call(b,"key")){M=e(s);var F=Object.keys(b).filter(function(Le){return Le!=="key"});z=0<F.length?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}",ge[M+z]||(F=0<F.length?"{"+F.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
2
|
let props = %s;
|
|
3
3
|
<%s {...props} />
|
|
4
4
|
React keys must be passed directly to JSX without using spread:
|
|
5
5
|
let props = %s;
|
|
6
|
-
<%s key={someKey} {...props} />`,z,M,F,M),ge[M+z]=!0)}if(M=null,E!==void 0&&(o(E),M=""+E),c(b)&&(o(b.key),M=""+b.key),"key"in b){E={};for(var le in b)le!=="key"&&(E[le]=b[le])}else E=b;return M&&f(E,typeof s=="function"?s.displayName||s.name||"Unknown":s),h(s,M,E,l(),$,ne)}function k(s){C(s)?s._store&&(s._store.validated=1):typeof s=="object"&&s!==null&&s.$$typeof===S&&(s._payload.status==="fulfilled"?C(s._payload.value)&&s._payload.value._store&&(s._payload.value._store.validated=1):s._store&&(s._store.validated=1))}function C(s){return typeof s=="object"&&s!==null&&s.$$typeof===_}var p=i,_=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),y=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),L=Symbol.for("react.client.reference"),B=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,re=Array.isArray,J=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(s){return s()}};var W,V={},D=p.react_stack_bottom_frame.bind(p,n)(),pe=J(r(n)),ge={};Y.Fragment=x,Y.jsx=function(s,b,E){var z=1e4>B.recentlyCreatedOwnerStacks++;return A(s,b,E,!1,z?Error("react-stack-top-frame"):D,z?J(r(s)):pe)},Y.jsxs=function(s,b,E){var z=1e4>B.recentlyCreatedOwnerStacks++;return A(s,b,E,!0,z?Error("react-stack-top-frame"):D,z?J(r(s)):pe)}})()),Y}var ye;function Oe(){return ye||(ye=1,process.env.NODE_ENV==="production"?ee.exports=Be():ee.exports=Re()),ee.exports}var t=Oe();const Ue=({label:e})=>t.jsx("button",{children:e}),K="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARBAMAAAAmgTH3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAeUExURQAAAAAAAEdwTAAAAAAAAAAAAAAAAAAAAAAAAAAAAIkdp4sAAAAJdFJOUy/vAOAgYMoQT6jmf10AAABxSURBVAjXLY4xDoAgEARXX0BLRy7aW9DQkvgG30Br4gdsrAmJCb91l3jV3sAO4MrGWR6UTWF6UepsFvyLqTuCHhF8nYNvGdwcgYHnlYCBiEBh7f22nzgbdxqLplaUC3LIBTnkQqJDLqQ4Xm/Yz/Gf4wOFXB+IzUIgqAAAAABJRU5ErkJggg==",De=({onCloseClick:e,children:a})=>t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:"shareSection col-12 d-flex position-relative flex-column mx-auto justify-content-center col-5 col-lg-6 d-flex gap-4",children:[t.jsx("div",{className:"end-0 top-0 position-absolute ",children:t.jsx("img",{src:K,alt:"close",className:"closeIcon me-2",onClick:e})}),a]})}),Ae="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.046%209.9h-2.56a.937.937%200%201%200%200%201.875h2.56c.517%200%20.938.42.938.937v12.26c0%20.517-.42.938-.938.938H7.953a.939.939%200%200%201-.937-.938v-12.26c0-.517.42-.937.937-.937h2.56a.937.937%200%201%200%200-1.875h-2.56a2.816%202.816%200%200%200-2.812%202.812v12.26a2.816%202.816%200%200%200%202.812%202.813h14.093a2.816%202.816%200%200%200%202.813-2.813v-12.26A2.816%202.816%200%200%200%2022.046%209.9zM11.504%208.007l2.59-2.59V17.76a.937.937%200%201%200%201.874%200V5.418l2.59%202.59a.934.934%200%200%200%201.326%200%20.937.937%200%200%200%200-1.327l-4.19-4.19a.938.938%200%200%200-1.326%200l-4.19%204.19a.937.937%200%201%200%201.326%201.326z'%20fill='%23000'/%3e%3c/svg%3e",Qe="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-geo-alt'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M12.166%208.94c-.524%201.062-1.234%202.12-1.96%203.07A32%2032%200%200%201%208%2014.58a32%2032%200%200%201-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304%207.867%203%206.862%203%206a5%205%200%200%201%2010%200c0%20.862-.305%201.867-.834%202.94M8%2016s6-5.686%206-10A6%206%200%200%200%202%206c0%204.314%206%2010%206%2010'/%3e%3cpath%20d='M8%208a2%202%200%201%201%200-4%202%202%200%200%201%200%204m0%201a3%203%200%201%200%200-6%203%203%200%200%200%200%206'/%3e%3c/svg%3e",He="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-envelope-fill'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M.05%203.555A2%202%200%200%201%202%202h12a2%202%200%200%201%201.95%201.555L8%208.414zM0%204.697v7.104l5.803-3.558zM6.761%208.83l-6.57%204.027A2%202%200%200%200%202%2014h12a2%202%200%200%200%201.808-1.144l-6.57-4.027L8%209.586zm3.436-.586L16%2011.801V4.697z'/%3e%3c/svg%3e",Je="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-facebook'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M16%208.049c0-4.446-3.582-8.05-8-8.05C3.58%200-.002%203.603-.002%208.05c0%204.017%202.926%207.347%206.75%207.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017%201.195-3.131%203.022-3.131.876%200%201.791.157%201.791.157v1.98h-1.009c-.993%200-1.303.621-1.303%201.258v1.51h2.218l-.354%202.326H9.25V16c3.824-.604%206.75-3.934%206.75-7.951'/%3e%3c/svg%3e",Ve="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-linkedin'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M0%201.146C0%20.513.526%200%201.175%200h13.65C15.474%200%2016%20.513%2016%201.146v13.708c0%20.633-.526%201.146-1.175%201.146H1.175C.526%2016%200%2015.487%200%2014.854zm4.943%2012.248V6.169H2.542v7.225zm-1.2-8.212c.837%200%201.358-.554%201.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4%203.226%202.4%203.934c0%20.694.521%201.248%201.327%201.248zm4.908%208.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878%201.232-.878.869%200%201.216.662%201.216%201.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274%200-1.845.7-2.165%201.193v.025h-.016l.016-.025V6.169h-2.4c.03.678%200%207.225%200%207.225z'/%3e%3c/svg%3e",Fe="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-twitter-x'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M12.6.75h2.454l-5.36%206.142L16%2015.25h-4.937l-3.867-5.07-4.425%205.07H.316l5.733-6.57L0%20.75h5.063l3.495%204.633L12.601.75Zm-.86%2013.028h1.36L4.323%202.145H2.865z'/%3e%3c/svg%3e",We="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-whatsapp'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M13.601%202.326A7.85%207.85%200%200%200%207.994%200C3.627%200%20.068%203.558.064%207.926c0%201.399.366%202.76%201.057%203.965L0%2016l4.204-1.102a7.9%207.9%200%200%200%203.79.965h.004c4.368%200%207.926-3.558%207.93-7.93A7.9%207.9%200%200%200%2013.6%202.326zM7.994%2014.521a6.6%206.6%200%200%201-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56%206.56%200%200%201-1.007-3.505c0-3.626%202.957-6.584%206.591-6.584a6.56%206.56%200%200%201%204.66%201.931%206.56%206.56%200%200%201%201.928%204.66c-.004%203.639-2.961%206.592-6.592%206.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73%200%200%200-.529.247c-.182.198-.691.677-.691%201.654s.71%201.916.81%202.049c.098.133%201.394%202.132%203.383%202.992.47.205.84.326%201.129.418.475.152.904.129%201.246.08.38-.058%201.171-.48%201.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232'/%3e%3c/svg%3e";function we(e){var a,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(a=0;a<l;a++)e[a]&&(o=we(e[a]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function Q(){for(var e,a,o=0,r="",l=arguments.length;o<l;o++)(e=arguments[o])&&(a=we(e))&&(r&&(r+=" "),r+=a);return r}function Ge(e){if(typeof document>"u")return;let a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}Ge(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
7
|
-
`);var X=e=>typeof e=="number"&&!isNaN(e),H=e=>typeof e=="string",O=e=>typeof e=="function",Ye=e=>H(e)||X(e),ie=e=>H(e)||O(e)?e:null,Ze=(e,a)=>e===!1||X(e)&&e>0?e:a,ce=e=>i.isValidElement(e)||H(e)||O(e)||X(e);function Ke(e,a,o=300){let{scrollHeight:r,style:l}=e;requestAnimationFrame(()=>{l.minHeight="initial",l.height=r+"px",l.transition=`all ${o}ms`,requestAnimationFrame(()=>{l.height="0",l.padding="0",l.margin="0",setTimeout(a,o)})})}function Xe({enter:e,exit:a,appendPosition:o=!1,collapse:r=!0,collapseDuration:l=300}){return function({children:n,position:c,preventExitTransition:f,done:m,nodeRef:h,isIn:A,playToast:k}){let C=o?`${e}--${c}`:e,p=o?`${a}--${c}`:a,_=i.useRef(0);return i.useLayoutEffect(()=>{let g=h.current,x=C.split(" "),w=d=>{d.target===h.current&&(k(),g.removeEventListener("animationend",w),g.removeEventListener("animationcancel",w),_.current===0&&d.type!=="animationcancel"&&g.classList.remove(...x))};g.classList.add(...x),g.addEventListener("animationend",w),g.addEventListener("animationcancel",w)},[]),i.useEffect(()=>{let g=h.current,x=()=>{g.removeEventListener("animationend",x),r?Ke(g,m,l):m()};A||(f?x():(_.current=1,g.className+=` ${p}`,g.addEventListener("animationend",x)))},[A]),i.createElement(i.Fragment,null,n)}}function be(e,a){return{content:_e(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:a}}function _e(e,a,o=!1){return i.isValidElement(e)&&!H(e.type)?i.cloneElement(e,{closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:o}):O(e)?e({closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:o}):e}function qe({closeToast:e,theme:a,ariaLabel:o="close"}){return i.createElement("button",{className:`Toastify__close-button Toastify__close-button--${a}`,type:"button",onClick:r=>{r.stopPropagation(),e(!0)},"aria-label":o},i.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},i.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function $e({delay:e,isRunning:a,closeToast:o,type:r="default",hide:l,className:n,controlledProgress:c,progress:f,rtl:m,isIn:h,theme:A}){let k=l||c&&f===0,C={animationDuration:`${e}ms`,animationPlayState:a?"running":"paused"};c&&(C.transform=`scaleX(${f})`);let p=Q("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${A}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":m}),_=O(n)?n({rtl:m,type:r,defaultClassName:p}):Q(p,n),g={[c&&f>=1?"onTransitionEnd":"onAnimationEnd"]:c&&f<1?null:()=>{h&&o()}};return i.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":k},i.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${A} Toastify__progress-bar--${r}`}),i.createElement("div",{role:"progressbar","aria-hidden":k?"true":"false","aria-label":"notification timer",className:_,style:C,...g}))}var et=1,Te=()=>`${et++}`;function tt(e,a,o){let r=1,l=0,n=[],c=[],f=a,m=new Map,h=new Set,A=d=>(h.add(d),()=>h.delete(d)),k=()=>{c=Array.from(m.values()),h.forEach(d=>d())},C=({containerId:d,toastId:u,updateId:y})=>{let I=d?d!==e:e!==1,N=m.has(u)&&y==null;return I||N},p=(d,u)=>{m.forEach(y=>{var I;(u==null||u===y.props.toastId)&&((I=y.toggle)==null||I.call(y,d))})},_=d=>{var u,y;(y=(u=d.props)==null?void 0:u.onClose)==null||y.call(u,d.removalReason),d.isActive=!1},g=d=>{if(d==null)m.forEach(_);else{let u=m.get(d);u&&_(u)}k()},x=()=>{l-=n.length,n=[]},w=d=>{var u,y;let{toastId:I,updateId:N}=d.props,v=N==null;d.staleId&&m.delete(d.staleId),d.isActive=!0,m.set(I,d),k(),o(be(d,v?"added":"updated")),v&&((y=(u=d.props).onOpen)==null||y.call(u))};return{id:e,props:f,observe:A,toggle:p,removeToast:g,toasts:m,clearQueue:x,buildToast:(d,u)=>{if(C(u))return;let{toastId:y,updateId:I,data:N,staleId:v,delay:j}=u,S=I==null;S&&l++;let R={...f,style:f.toastStyle,key:r++,...Object.fromEntries(Object.entries(u).filter(([B,U])=>U!=null)),toastId:y,updateId:I,data:N,isIn:!1,className:ie(u.className||f.toastClassName),progressClassName:ie(u.progressClassName||f.progressClassName),autoClose:u.isLoading?!1:Ze(u.autoClose,f.autoClose),closeToast(B){m.get(y).removalReason=B,g(y)},deleteToast(){let B=m.get(y);if(B!=null){if(o(be(B,"removed")),m.delete(y),l--,l<0&&(l=0),n.length>0){w(n.shift());return}k()}}};R.closeButton=f.closeButton,u.closeButton===!1||ce(u.closeButton)?R.closeButton=u.closeButton:u.closeButton===!0&&(R.closeButton=ce(f.closeButton)?f.closeButton:!0);let L={content:d,props:R,staleId:v};f.limit&&f.limit>0&&l>f.limit&&S?n.push(L):X(j)?setTimeout(()=>{w(L)},j):w(L)},setProps(d){f=d},setToggle:(d,u)=>{let y=m.get(d);y&&(y.toggle=u)},isToastActive:d=>{var u;return(u=m.get(d))==null?void 0:u.isActive},getSnapshot:()=>c}}var P=new Map,Z=[],de=new Set,at=e=>de.forEach(a=>a(e)),je=()=>P.size>0;function st(){Z.forEach(e=>ke(e.content,e.options)),Z=[]}var ot=(e,{containerId:a})=>{var o;return(o=P.get(a||1))==null?void 0:o.toasts.get(e)};function Ne(e,a){var o;if(a)return!!((o=P.get(a))!=null&&o.isToastActive(e));let r=!1;return P.forEach(l=>{l.isToastActive(e)&&(r=!0)}),r}function rt(e){if(!je()){Z=Z.filter(a=>e!=null&&a.options.toastId!==e);return}if(e==null||Ye(e))P.forEach(a=>{a.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let a=P.get(e.containerId);a?a.removeToast(e.id):P.forEach(o=>{o.removeToast(e.id)})}}var nt=(e={})=>{P.forEach(a=>{a.props.limit&&(!e.containerId||a.id===e.containerId)&&a.clearQueue()})};function ke(e,a){ce(e)&&(je()||Z.push({content:e,options:a}),P.forEach(o=>{o.buildToast(e,a)}))}function lt(e){var a;(a=P.get(e.containerId||1))==null||a.setToggle(e.id,e.fn)}function Ie(e,a){P.forEach(o=>{(a==null||!(a!=null&&a.containerId)||a?.containerId===o.id)&&o.toggle(e,a?.id)})}function it(e){let a=e.containerId||1;return{subscribe(o){let r=tt(a,e,at);P.set(a,r);let l=r.observe(o);return st(),()=>{l(),P.delete(a)}},setProps(o){var r;(r=P.get(a))==null||r.setProps(o)},getSnapshot(){var o;return(o=P.get(a))==null?void 0:o.getSnapshot()}}}function ct(e){return de.add(e),()=>{de.delete(e)}}function dt(e){return e&&(H(e.toastId)||X(e.toastId))?e.toastId:Te()}function q(e,a){return ke(e,a),a.toastId}function te(e,a){return{...a,type:a&&a.type||e,toastId:dt(a)}}function ae(e){return(a,o)=>q(a,te(e,o))}function T(e,a){return q(e,te("default",a))}T.loading=(e,a)=>q(e,te("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...a}));function ft(e,{pending:a,error:o,success:r},l){let n;a&&(n=H(a)?T.loading(a,l):T.loading(a.render,{...l,...a}));let c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},f=(h,A,k)=>{if(A==null){T.dismiss(n);return}let C={type:h,...c,...l,data:k},p=H(A)?{render:A}:A;return n?T.update(n,{...C,...p}):T(p.render,{...C,...p}),k},m=O(e)?e():e;return m.then(h=>f("success",r,h)).catch(h=>f("error",o,h)),m}T.promise=ft;T.success=ae("success");T.info=ae("info");T.error=ae("error");T.warning=ae("warning");T.warn=T.warning;T.dark=(e,a)=>q(e,te("default",{theme:"dark",...a}));function mt(e){rt(e)}T.dismiss=mt;T.clearWaitingQueue=nt;T.isActive=Ne;T.update=(e,a={})=>{let o=ot(e,a);if(o){let{props:r,content:l}=o,n={delay:100,...r,...a,toastId:a.toastId||e,updateId:Te()};n.toastId!==e&&(n.staleId=e);let c=n.render||l;delete n.render,q(c,n)}};T.done=e=>{T.update(e,{progress:1})};T.onChange=ct;T.play=e=>Ie(!0,e);T.pause=e=>Ie(!1,e);function ut(e){var a;let{subscribe:o,getSnapshot:r,setProps:l}=i.useRef(it(e)).current;l(e);let n=(a=i.useSyncExternalStore(o,r,r))==null?void 0:a.slice();function c(f){if(!n)return[];let m=new Map;return e.newestOnTop&&n.reverse(),n.forEach(h=>{let{position:A}=h.props;m.has(A)||m.set(A,[]),m.get(A).push(h)}),Array.from(m,h=>f(h[0],h[1]))}return{getToastToRender:c,isToastActive:Ne,count:n?.length}}function ht(e){let[a,o]=i.useState(!1),[r,l]=i.useState(!1),n=i.useRef(null),c=i.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:f,pauseOnHover:m,closeToast:h,onClick:A,closeOnClick:k}=e;lt({id:e.toastId,containerId:e.containerId,fn:o}),i.useEffect(()=>{if(e.pauseOnFocusLoss)return C(),()=>{p()}},[e.pauseOnFocusLoss]);function C(){document.hasFocus()||w(),window.addEventListener("focus",x),window.addEventListener("blur",w)}function p(){window.removeEventListener("focus",x),window.removeEventListener("blur",w)}function _(v){if(e.draggable===!0||e.draggable===v.pointerType){d();let j=n.current;c.canCloseOnClick=!0,c.canDrag=!0,j.style.transition="none",e.draggableDirection==="x"?(c.start=v.clientX,c.removalDistance=j.offsetWidth*(e.draggablePercent/100)):(c.start=v.clientY,c.removalDistance=j.offsetHeight*(e.draggablePercent===80?e.draggablePercent*1.5:e.draggablePercent)/100)}}function g(v){let{top:j,bottom:S,left:R,right:L}=n.current.getBoundingClientRect();v.nativeEvent.type!=="touchend"&&e.pauseOnHover&&v.clientX>=R&&v.clientX<=L&&v.clientY>=j&&v.clientY<=S?w():x()}function x(){o(!0)}function w(){o(!1)}function d(){c.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",I)}function u(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",I)}function y(v){let j=n.current;if(c.canDrag&&j){c.didMove=!0,a&&w(),e.draggableDirection==="x"?c.delta=v.clientX-c.start:c.delta=v.clientY-c.start,c.start!==v.clientX&&(c.canCloseOnClick=!1);let S=e.draggableDirection==="x"?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`;j.style.transform=`translate3d(${S},0)`,j.style.opacity=`${1-Math.abs(c.delta/c.removalDistance)}`}}function I(){u();let v=n.current;if(c.canDrag&&c.didMove&&v){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance){l(!0),e.closeToast(!0),e.collapseAll();return}v.style.transition="transform 0.2s, opacity 0.2s",v.style.removeProperty("transform"),v.style.removeProperty("opacity")}}let N={onPointerDown:_,onPointerUp:g};return f&&m&&(N.onMouseEnter=w,e.stacked||(N.onMouseLeave=x)),k&&(N.onClick=v=>{A&&A(v),c.canCloseOnClick&&h(!0)}),{playToast:x,pauseToast:w,isRunning:a,preventExitTransition:r,toastRef:n,eventHandlers:N}}var pt=typeof window<"u"?i.useLayoutEffect:i.useEffect,se=({theme:e,type:a,isLoading:o,...r})=>i.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${a})`,...r});function gt(e){return i.createElement(se,{...e},i.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function xt(e){return i.createElement(se,{...e},i.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function vt(e){return i.createElement(se,{...e},i.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function yt(e){return i.createElement(se,{...e},i.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function bt(){return i.createElement("div",{className:"Toastify__spinner"})}var fe={info:xt,warning:gt,success:vt,error:yt,spinner:bt},At=e=>e in fe;function wt({theme:e,type:a,isLoading:o,icon:r}){let l=null,n={theme:e,type:a};return r===!1||(O(r)?l=r({...n,isLoading:o}):i.isValidElement(r)?l=i.cloneElement(r,n):o?l=fe.spinner():At(a)&&(l=fe[a](n))),l}var _t=e=>{let{isRunning:a,preventExitTransition:o,toastRef:r,eventHandlers:l,playToast:n}=ht(e),{closeButton:c,children:f,autoClose:m,onClick:h,type:A,hideProgressBar:k,closeToast:C,transition:p,position:_,className:g,style:x,progressClassName:w,updateId:d,role:u,progress:y,rtl:I,toastId:N,deleteToast:v,isIn:j,isLoading:S,closeOnClick:R,theme:L,ariaLabel:B}=e,U=Q("Toastify__toast",`Toastify__toast-theme--${L}`,`Toastify__toast--${A}`,{"Toastify__toast--rtl":I},{"Toastify__toast--close-on-click":R}),re=O(g)?g({rtl:I,position:_,type:A,defaultClassName:U}):Q(U,g),J=wt(e),W=!!y||!m,V={closeToast:C,type:A,theme:L},D=null;return c===!1||(O(c)?D=c(V):i.isValidElement(c)?D=i.cloneElement(c,V):D=qe(V)),i.createElement(p,{isIn:j,done:v,position:_,preventExitTransition:o,nodeRef:r,playToast:n},i.createElement("div",{id:N,tabIndex:0,onClick:h,"data-in":j,className:re,...l,style:x,ref:r,...j&&{role:u,"aria-label":B}},J!=null&&i.createElement("div",{className:Q("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!S})},J),_e(f,e,!a),D,!e.customProgressBar&&i.createElement($e,{...d&&!W?{key:`p-${d}`}:{},rtl:I,theme:L,delay:m,isRunning:a,isIn:j,closeToast:C,hide:k,type:A,className:w,controlledProgress:W,progress:y||0})))},Tt=(e,a=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:a}),jt=Xe(Tt("bounce",!0)),Nt={position:"top-right",transition:jt,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&e.code==="KeyT"};function kt(e){let a={...Nt,...e},o=e.stacked,[r,l]=i.useState(!0),n=i.useRef(null),{getToastToRender:c,isToastActive:f,count:m}=ut(a),{className:h,style:A,rtl:k,containerId:C,hotKeys:p}=a;function _(x){let w=Q("Toastify__toast-container",`Toastify__toast-container--${x}`,{"Toastify__toast-container--rtl":k});return O(h)?h({position:x,rtl:k,defaultClassName:w}):Q(w,ie(h))}function g(){o&&(l(!0),T.play())}return pt(()=>{var x;if(o){let w=n.current.querySelectorAll('[data-in="true"]'),d=12,u=(x=a.position)==null?void 0:x.includes("top"),y=0,I=0;Array.from(w).reverse().forEach((N,v)=>{let j=N;j.classList.add("Toastify__toast--stacked"),v>0&&(j.dataset.collapsed=`${r}`),j.dataset.pos||(j.dataset.pos=u?"top":"bot");let S=y*(r?.2:1)+(r?0:d*v);j.style.setProperty("--y",`${u?S:S*-1}px`),j.style.setProperty("--g",`${d}`),j.style.setProperty("--s",`${1-(r?I:0)}`),y+=j.offsetHeight,I+=.025})}},[r,m,o]),i.useEffect(()=>{function x(w){var d;let u=n.current;p(w)&&((d=u.querySelector('[tabIndex="0"]'))==null||d.focus(),l(!1),T.pause()),w.key==="Escape"&&(document.activeElement===u||u!=null&&u.contains(document.activeElement))&&(l(!0),T.play())}return document.addEventListener("keydown",x),()=>{document.removeEventListener("keydown",x)}},[p]),i.createElement("section",{ref:n,className:"Toastify",id:C,onMouseEnter:()=>{o&&(l(!1),T.pause())},onMouseLeave:g,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":a["aria-label"]},c((x,w)=>{let d=w.length?{...A}:{...A,pointerEvents:"none"};return i.createElement("div",{tabIndex:-1,className:_(x),"data-stacked":o,style:d,key:`c-${x}`},w.map(({content:u,props:y})=>i.createElement(_t,{...y,stacked:o,collapseAll:g,isIn:f(y.toastId,y.containerId),key:`t-${y.key}`},u)))}))}function ue(e){const[a,o]=i.useState(!0),r=()=>{e.onClick()},l=i.useRef(null),n=()=>{l.current.select(),document.execCommand("copy"),T.success("URL copied to clipboard!")};return t.jsx("div",{children:a&&t.jsx("div",{className:" popup-overlay",children:t.jsxs("div",{className:"shareSection col-12 d-flex position-relative flex-column mx-auto justify-content-center col-5 col-lg-6 d-flex gap-4",children:[t.jsx("div",{className:"end-0 top-0 position-absolute ",children:t.jsx("img",{src:K,alt:"close",className:"closeIcon_c me-2",onClick:r})}),t.jsx("div",{className:"popUpHeader col-lg-12 d-flex justify-content-center mb-2",children:"Jetzt teilen und weitersagen!"}),t.jsxs("div",{className:"h-25 col-lg-12 socialMediaIconsSection d-flex flex-row align-items-center justify-content-center mx-auto",children:[t.jsx("a",{href:"https://twitter.com/intent/tweet?url=https://www.nestiq.de&text=Nestiq",className:"text-decoration-none",target:"blank",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:Fe,alt:"twitter",className:"socialMediaIcons"}),t.jsx("span",{className:"socialMediaIconText",children:"X (Twitter)"})]})}),t.jsx("a",{href:"https://www.facebook.com/sharer/sharer.php?u=https://www.nestiq.de",className:"text-decoration-none",target:"blank",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:Je,alt:"facebook",className:"socialMediaIcons "}),t.jsx("span",{className:"socialMediaIconText",children:"Facebook"})]})}),t.jsx("a",{href:"https://api.whatsapp.com/send?text=https://www.nestiq.de",target:"blank",className:"text-decoration-none",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:We,alt:"whatsapp",className:" socialMediaIcons"}),t.jsx("span",{className:"socialMediaIconText",children:"WhatsApp"})]})}),t.jsx("a",{href:"https://www.linkedin.com/shareArticle?mini=true&url=https://www.nestiq.de",target:"blank",className:"text-decoration-none",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:Ve,alt:"linkedin",className:" socialMediaIcons"}),t.jsx("span",{className:"socialMediaIconText",children:"LinkedIn"})]})}),t.jsx("a",{href:"https://www.nestiq.de",target:"blank",className:"text-decoration-none",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:He,alt:"email",className:" socialMediaIcons"}),t.jsx("span",{className:"socialMediaIconText",children:"E-Mail"})]})})]}),t.jsx("div",{className:"col-10 mx-auto",children:t.jsxs("div",{className:" row align-items-center position-relative",children:[t.jsx("input",{ref:l,type:"text",className:"popup_search-input rounded-4 border border-0 ",placeholder:"Enter link here",value:window.location.href,readOnly:!0}),t.jsx("button",{onClick:n,className:"popupcustom-button border border-0 position-absolute me-2 col-lg-3 col-md-3 col-sm-3 rounded-4 fs-6",type:"button",id:"button",children:t.jsx("strong",{children:"Kopieren"})})]})})]})})})}function oe(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function he(e){return typeof e=="number"||typeof e=="string"?e.toString().replace(".",",").replace(/\B(?=(\d{3})+(?!\d))/g,"."):e}function It(e){const[a,o]=i.useState(!1);e.property?.propertyArea;const r=()=>o(!0),l=()=>o(!1),n={kaufpreis:e.translations?.kaufpreis||"Kaufpreis",wohnflache:e.translations?.wohnflache||"Wohnfläche",zimmer:e.translations?.zimmer||"Zimmer",grundriss:e.translations?.grundriss||"Grundriss"};return t.jsxs("div",{className:"compact_cc d-flex flex-column col-12 col-lg-12 mt-3 justify-content-between",children:[t.jsxs("div",{className:"col-12 d-flex flex-row",children:[t.jsx("div",{className:"header_Text d-flex col-lg-11 col-md-11 mt-0",children:t.jsx("strong",{children:e.title??"-"})}),t.jsx("div",{className:"d-flex col-lg-1 col-md-1 justify-content-end position-relative",children:t.jsx("img",{src:Ae,alt:"share icon",className:"v_share me-3 position-absolute",onClick:r})})]}),t.jsxs("div",{className:"d-flex flex-row justify-content-between",children:[t.jsx("div",{className:"col-6 d-flex flex-row align-items-end jsutify-content-start gap-1",children:t.jsxs("div",{className:"d-flex gap-1 justify-content-center",children:[t.jsx("div",{className:"d-flex gap-2 align-items-center",children:t.jsx("img",{src:Qe,className:"",alt:"location Icon"})}),t.jsx("div",{className:"textWrapper",children:e.property?.fullAddress})]})}),t.jsxs("div",{className:"d-flex align-items-end gap-3 justify-content-end flex-row col-lg-6 col-md-6 col-sm-5",children:[e&&t.jsxs("div",{className:"propText h-100 d-flex flex-column align-items-center justify-content-center",children:[t.jsxs("span",{className:"",children:[oe(e.property?.askingPrice??0),"€ ",t.jsx("br",{})]}),t.jsx("span",{className:"textWrapper",children:n.kaufpreis})]}),e&&t.jsxs("div",{className:"propText h-100 d-flex flex-column align-items-center justify-content-center",children:[t.jsx("span",{className:"",children:he(e.property.constructedArea)??0}),t.jsx("span",{className:"textWrapper",children:n.wohnflache})]}),e&&t.jsxs("div",{className:"propText h-100 d-flex flex-column align-items-center justify-content-center",children:[t.jsx("span",{className:"",children:e.property.rooms}),t.jsx("span",{className:"textWrapper",children:n.zimmer})]})]})]}),a&&t.jsx(ue,{onClick:()=>l()})]})}const Ct="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%23fff'%20class='bi%20bi-chevron-right'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20d='M4.646%201.646a.5.5%200%200%201%20.708%200l6%206a.5.5%200%200%201%200%20.708l-6%206a.5.5%200%200%201-.708-.708L10.293%208%204.646%202.354a.5.5%200%200%201%200-.708'/%3e%3c/svg%3e",Ce="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-chevron-right'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20d='M4.646%201.646a.5.5%200%200%201%20.708%200l6%206a.5.5%200%200%201%200%20.708l-6%206a.5.5%200%200%201-.708-.708L10.293%208%204.646%202.354a.5.5%200%200%201%200-.708'/%3e%3c/svg%3e",Ee="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-chevron-left'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20d='M11.354%201.646a.5.5%200%200%201%200%20.708L5.707%208l5.647%205.646a.5.5%200%200%201-.708.708l-6-6a.5.5%200%200%201%200-.708l6-6a.5.5%200%200%201%20.708%200'/%3e%3c/svg%3e",Et="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%23fff'%20class='bi%20bi-chevron-left'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20d='M11.354%201.646a.5.5%200%200%201%200%20.708L5.707%208l5.647%205.646a.5.5%200%200%201-.708.708l-6-6a.5.5%200%200%201%200-.708l6-6a.5.5%200%200%201%20.708%200'/%3e%3c/svg%3e",zt="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.242%201.29H4.297a1.76%201.76%200%200%200-1.758%201.757v.742h-.781A1.76%201.76%200%200%200%200%205.547v11.406c0%20.97.789%201.758%201.758%201.758h13.945a1.76%201.76%200%200%200%201.758-1.758v-.742h.781A1.76%201.76%200%200%200%2020%2014.453V3.047a1.76%201.76%200%200%200-1.758-1.758zM4.297%202.46h13.945c.323%200%20.586.264.586.587v5.508l-3.49-2.47a.586.586%200%200%200-.724.037L10%2010.159l-2.114-1.85a.586.586%200%200%200-.748-.02l-3.427%202.693V3.047c0-.323.263-.586.586-.586zm11.992%2014.493a.587.587%200%200%201-.586.586H1.758a.587.587%200%200%201-.586-.586V5.547c0-.323.263-.586.586-.586h.781v9.492c0%20.97.789%201.758%201.758%201.758h11.992v.742zm1.953-1.914H4.297a.587.587%200%200%201-.586-.586v-1.98L7.48%209.51l2.134%201.868c.221.193.55.193.772%200l4.652-4.071%203.79%202.683v4.462a.587.587%200%200%201-.586.586z'%20fill='%23fff'/%3e%3cpath%20d='M10%207.46a1.838%201.838%200%200%200%201.836-1.835A1.838%201.838%200%200%200%2010%203.789a1.838%201.838%200%200%200-1.836%201.836c0%201.012.824%201.836%201.836%201.836zm0-2.5a.665.665%200%201%201-.001%201.33A.665.665%200%200%201%2010%204.96z'%20fill='%23fff'/%3e%3c/svg%3e",Mt="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23bq66l33lna)'%3e%3cpath%20d='M19.286%200a.715.715%200%200%200-.32.075l-5.413%202.707-6.12-2.72C7.423.058%207.41.057%207.4.052a.741.741%200%200%200-.17-.044%201.063%201.063%200%200%200-.175%200%20.742.742%200%200%200-.171.044c-.01.005-.022.005-.032.01L.424%202.919A.714.714%200%200%200%200%203.572v15.714a.714.714%200%200%200%201.004.653l6.139-2.729%206.138%202.729c.01.004.022%200%20.033.006a.63.63%200%200%200%20.54-.012c.012-.005.025%200%20.036-.008l5.715-2.857a.714.714%200%200%200%20.395-.64V.716A.714.714%200%200%200%2019.286%200zM6.428%2015.964l-5%202.222V4.036l5-2.222v14.15zm6.429%202.222-5-2.222V1.814l5%202.222v14.15zm5.714-2.199-4.286%202.143V4.013l4.286-2.143v14.117z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='bq66l33lna'%3e%3cpath%20fill='%23fff'%20d='M0%200h20v20H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ze="data:image/svg+xml,%3csvg%20width='22'%20height='20'%20viewBox='0%200%2022%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m21.354%205.808-10-5.714a.714.714%200%200%200-.709%200l-10%205.714a.714.714%200%200%200%20.017%201.25l10%205.357a.714.714%200%200%200%20.675%200l10-5.357a.714.714%200%200%200%20.017-1.25zM11%2010.975%202.475%206.408%2011%201.537l8.525%204.871L11%2010.975z'%20fill='%23fff'/%3e%3cpath%20d='m11.34%2016.162%209.656-5.31V9.22l-10%205.5-10-5.5v1.63l9.656%205.31a.715.715%200%200%200%20.688%200z'%20fill='%23fff'/%3e%3cpath%20d='m.996%2014.762%209.664%205.154a.714.714%200%200%200%20.672%200l9.664-5.154v-1.62l-10%205.334-10-5.333v1.619z'%20fill='%23fff'/%3e%3c/svg%3e",Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTP///////////////////////////////////////////////////////////////////////308lk0AAAASdFJOUwAUewieGb7PD9mvXxrH74slIK+eL1kAAAC1SURBVDjLhZPZDoQgEARbRE6vnf//2MWsrigN8AKhKmQYGiAaq8CGU0Z/gChphLHkk09g3bEcgpiRcpENv7kw5nM/QAkzLi4Rzp7LxRXni+ij2NJ4cGK8eGZYR/nLIPxhUJ4bnGdGhb8NzR7PtnlucH7f7+xHnSdjaHNmPHlp3P2z1Mj6+7+LH3r58FMvH5dRz4efe/k4jHY+UqW6nY+ATj5WrO18eGztfKSPH03g339UJkR8AdmUH0nsMIanAAAAAElFTkSuQmCC";function me(e){const[a,o]=i.useState(!0),[r,l]=i.useState(0),n=i.useRef(null),c=m=>{if(e.pictureUrls.length===0)return;let h=r;m==="left"?h=(r-1+e.pictureUrls.length)%e.pictureUrls.length:m==="right"&&(h=(r+1)%e.pictureUrls.length),l(h),n.current.scrollTo({left:h*150,behavior:"smooth"})},f=()=>{e.onClose&&e.onClose()};return t.jsx("div",{children:a&&t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:" d-flex flex-column ",children:[t.jsx("div",{className:"d-flex align-self-end me-5 ",children:t.jsx("img",{src:Me,alt:"close",className:"closeIconNestiq",onClick:f})}),t.jsx("span",{className:"text-white align-self-center",children:e.pictureUrls[r].title}),t.jsxs("div",{className:"d-flex justify-content-center",children:[t.jsx("div",{className:"p-2 bd-highlight align-self-center align-items-center me-5",children:t.jsx("div",{className:"rounded-circle border onImageArrow d-flex justify-content-center",role:"button",onClick:()=>c("left"),children:t.jsx("img",{src:Ee,className:"blackArrow align-self-center",alt:"Left Arrow"})})}),t.jsx("div",{className:"p-2 bd-highlight",children:t.jsx("div",{className:" rounded-5",style:{backgroundImage:`url(${e.pictureUrls[r].url})`,height:"465px",width:"880px",backgroundSize:"cover",backgroundPosition:"center"}})}),t.jsxs("div",{className:"p-2 bd-highlight align-self-center ms-5",children:[" ",t.jsx("div",{role:"button",className:"rounded-circle border onImageArrow d-flex justify-content-center",onClick:()=>c("right"),children:t.jsx("img",{src:Ce,className:"blackArrow align-self-center",alt:"Right Arrow"})})]})]}),t.jsx("div",{className:"d-flex flex-row"}),t.jsx("div",{className:"d-flex flex-row justify-content-center w-100 mt-5",children:t.jsx("div",{className:"d-flex flex-row gap-4 overflow-auto px-3",ref:n,style:{maxWidth:"100%",scrollbarWidth:"thin"},children:e.pictureUrls.length>0&&t.jsx(t.Fragment,{children:e.pictureUrls.map((m,h)=>t.jsx("div",{className:`flex-shrink-0 activeStyle ${h===r?"active":""}`,onClick:()=>{l(h),n.current.scrollTo({left:h*170,behavior:"smooth"})},role:"button",style:{cursor:"pointer",width:"150px",height:"150px"},children:t.jsx("img",{src:m.url,alt:`Image ${h+1}`,className:"w-100 h-100 rounded-3 object-fit-cover",style:{display:"block"}})},h))})})})]})})})}function St(e){const[a,o]=i.useState(0),[r,l]=i.useState(!1),[n,c]=i.useState(!1),f=i.useRef(null),m=_=>{e.pictureUrls.length&&o(g=>{let x;return _==="left"?x=(g-1+e.pictureUrls.length)%e.pictureUrls.length:x=(g+1)%e.pictureUrls.length,f.current&&f.current.scrollTo({left:x*150,behavior:"smooth"}),x||0})},h=e.property.pictures?.filter(_=>_.pictureType?.id===2).map((_,g)=>({url:e.baseUrl+_.contentUrl,title:`Photo ${g+1}`}))||[],A=e.property.pictures?.filter(_=>_.pictureType?.id===1).map((_,g)=>({url:e.baseUrl+_.contentUrl,title:`Floor Plan ${g+1}`}))||[],k=()=>{l(!r)},C=()=>{c(!0)},p={allPhotos:e.translations?.allPhotos||"Alle Fotos",map:e.translations?.map||"Karte",grundriss:e.translations?.grundriss||"Grundriss"};return t.jsxs("div",{className:"col-8 Pimagelist ",children:[t.jsxs("div",{className:"col-12 rounded-5 mainImage d-flex position-relative align-items-center",style:{backgroundImage:`url(${e.pictureUrls[a]?.url})`,backgroundSize:"cover",backgroundPosition:"center"},children:[t.jsx("div",{className:"rounded-circle border onImageArrow d-flex position-absolute start-0 ms-2 align-items-center justify-content-center",role:"button",onClick:()=>m("left"),children:t.jsx("img",{src:Ee,className:"blackArrow",alt:"Left Arrow"})}),t.jsx("div",{role:"button",className:"rounded-circle border onImageArrow d-flex position-absolute end-0 me-2 align-items-center justify-content-center",onClick:()=>m("right"),children:t.jsx("img",{src:Ce,className:"blackArrow",alt:"Right Arrow"})})]}),t.jsx("div",{className:"d-none d-md-block",children:t.jsxs("div",{className:"mt-1 d-flex flex-row gap-1 col-12 secondList",children:[t.jsx("div",{className:" col-lg-6 col-6 d-flex flex-row py-0 px-1",children:t.jsxs("div",{className:" col-12 position-relative d-flex justify-content-center",children:[t.jsx("div",{className:"col-1 h-100 d-flex position-absolute start-0",onClick:()=>m("left"),role:"button",children:t.jsx("div",{className:"col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:t.jsx("img",{src:Et,className:"arroIconColour",alt:"Left Arrow"})})}),t.jsx("div",{className:"col-lg-10 rounded-3 h-100 d-flex flex-row gap-2 overflow-hidden",ref:f,children:e.pictureUrls.length>0&&t.jsx("div",{className:"col-lg-5 h-100 d-flex gap-2 flex-row rounded-3",children:e.pictureUrls.map((_,g)=>t.jsx("div",{className:`col-lg-12 h-100 d-flex image-thumbnail ${g===a?"selected":"greyed-out"} ${g===0?"ms-1":g===e.pictureUrls.length-1?"me-1":""}`,onClick:()=>{o(g),f.current.scrollTo({left:g*150,behavior:"smooth"})},role:"button",children:t.jsx("img",{src:_.url,alt:`Image ${g+1}`,className:"col-12 h-100 rounded-3 object-fit-cover"})},g))})}),t.jsx("div",{className:"col-1 h-100 d-flex position-absolute end-0 top-0",onClick:()=>m("right"),role:"button",children:t.jsx("div",{className:"col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:t.jsx("img",{src:Ct,className:"arroIconColour ",alt:"Right Arrow"})})})]})}),t.jsxs("div",{className:"col-7 col-lg-6 d-flex flex-row",children:[t.jsx("div",{className:"col-lg-4 col-4 py-0 px-1",role:"button",onClick:k,children:t.jsxs("div",{className:"border col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:[t.jsx("img",{src:zt,alt:"Gallery Icon"}),t.jsxs("span",{className:"listImgText",children:[" ",p.allPhotos]})]})}),t.jsx("div",{className:"col-lg-4 col-3 py-0 px-1",role:"button",onClick:C,children:t.jsxs("div",{className:"border col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:[t.jsx("img",{src:ze,alt:"Layers Icon"}),t.jsx("span",{className:"listImgText",children:p.grundriss})]})}),t.jsx("div",{className:"col-lg-4 col-3 py-0 px-1",role:"button",onClick:()=>window.scrollTo({top:document.documentElement.scrollHeight}),children:t.jsxs("div",{className:"border col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:[t.jsx("img",{src:Mt,alt:"Map Icon"}),t.jsx("span",{className:"listImgText",children:p.map})]})})]})]})}),r&&t.jsx(me,{pictureUrls:h,onClose:()=>l(!1)}),n&&t.jsx(me,{pictureUrls:A,onClose:()=>c(!1)})]})}const Pt="data:image/svg+xml,%3csvg%20width='18'%20height='17'%20viewBox='0%200%2018%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m16.855%205.147-8-4.572a.571.571%200%200%200-.567%200l-8%204.572a.571.571%200%200%200%20.014%201l8%204.285a.571.571%200%200%200%20.54%200l8-4.285a.571.571%200%200%200%20.013-1zM8.572%209.28l-6.82-3.653%206.82-3.897%206.82%203.897-6.82%203.653z'%20fill='%23031012'/%3e%3cpath%20d='M8.846%2013.43%2016.57%209.18V7.877l-8%204.4-8-4.4V9.18l7.725%204.249a.572.572%200%200%200%20.55%200z'%20fill='%23031012'/%3e%3cpath%20d='m.57%2012.309%207.731%204.123a.572.572%200%200%200%20.538%200l7.731-4.123v-1.295l-8%204.266-8-4.266v1.295z'%20fill='%23031012'/%3e%3c/svg%3e",Se="data:image/svg+xml,%3csvg%20width='12'%20height='18'%20viewBox='0%200%2012%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%204.725a2.208%202.208%200%201%200%20.001%204.416%202.208%202.208%200%200%200%200-4.416zm0%203.312a1.104%201.104%200%201%201%20.001-2.208%201.104%201.104%200%200%201%200%202.208z'%20fill='%23344041'/%3e%3cpath%20d='M10.243%202.687a6%206%200%200%200-9.27%207.518l4.17%206.403a1.022%201.022%200%200%200%201.713%200l4.171-6.404a6%206%200%200%200-.784-7.517zm-.14%206.915L6%2015.9%201.897%209.602a4.919%204.919%200%200%201%20.64-6.135%204.896%204.896%200%200%201%206.925%200%204.919%204.919%200%200%201%20.64%206.135z'%20fill='%23344041'/%3e%3c/svg%3e",Pe="data:image/jpeg;base64,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";function Lt(e){const[a,o]=i.useState(!1),r=e.property.pictures&&e.property.pictures.length>0?`${e.baseUrl}${e.property.pictures[0].contentUrl}`:Pe;return t.jsxs("div",{className:"card-body me-4 mb-4 position-relative cardStyle",style:{backgroundImage:`url(${r})`,backgroundSize:"cover",backgroundPosition:"center"},onClick:e.onClick,role:"button",children:[t.jsxs("div",{className:"labelTopClass position-absolute top-0 start-0 col-sm-5 col-lg-8",children:[t.jsxs("div",{className:"d-flex align-items-center ms-2 mb-1 mt-2 gap-2",children:[t.jsxs("label",{className:"p-1 firstLabel d-flex flex-row justify-content-center align-items-center",children:[t.jsx("img",{src:Pt,alt:"Location Icon",className:"layersVector"}),t.jsx("span",{className:"layersText",children:"Grundriss"})]}),e.property.historicalProtection&&t.jsx("label",{className:"thirdLabels d-flex flex-row justify-content-center align-items-center",children:t.jsx("span",{className:"layersText p-1",children:"Denkmalschutz"})}),e.property.basement&&t.jsx("label",{className:"secondLabel d-flex flex-row justify-content-center align-items-center",children:t.jsx("span",{className:"layersText p-1",children:"Keller"})})]}),t.jsxs("div",{className:"d-flex align-items-center ms-2 start-0 gap-2",children:[e.property.terrace&&t.jsx("label",{className:"p-1 thirdLabels d-flex flex-row justify-content-center align-items-center ",children:t.jsx("span",{className:"layersText",children:"Terrace"})}),e.property.balcony&&t.jsx("label",{className:"secondLabel d-flex flex-row justify-content-center align-items-center",children:t.jsx("span",{className:"layersText p-1",children:"Balkon"})}),e.property.guestBathroom&&t.jsx("label",{className:"col-1 fourthLabels d-flex flex-row justify-content-center align-items-center ",children:t.jsx("span",{className:"layersText p-1",children:"Gäste-WC"})})]})]}),t.jsx("div",{className:"d-flex align-items-center position-absolute top-0 end-0 p-3"}),t.jsx("div",{className:"d-flex align-items-center mb-3 position-absolute bottom-0 start-0 p-2",children:t.jsxs("span",{className:"Price col-lg-12 col-md-12 col-sm-12 text-truncate p-1",children:[oe(e.property?.evaluation?.askingPrice??0)," €"]})}),t.jsxs("div",{className:"d-flex w-50 align-items-center position-absolute bottom-0 start-0 p-2",children:[t.jsx("img",{src:Se,alt:"Location Icon",className:"Vector"}),t.jsx("span",{className:"locationText text-truncate",children:e.property.city||"N/A"})]}),t.jsxs("div",{className:"d-flex col-lg-6 col-md-6 col-sm-5 me-lg-0 me-md-0 me-sm-3 justify-content-center mb-2 position-absolute bottom-0 end-0",children:[t.jsxs("span",{className:"detail col-lg-4 col-md-4 col-sm-6 text-truncate border-end ",children:[+e.property.rooms,t.jsx("br",{}),t.jsx("span",{children:"Zimmer"})]}),t.jsxs("span",{className:"detail col-lg-3 col-md-3 col-sm-4 text-truncate ",children:[+e.property.bathrooms,t.jsx("br",{}),t.jsx("span",{children:"Bad"})]}),t.jsxs("span",{className:"detail col-lg-5 col-md-5 col-sm-7 text-truncate border-start me-3",children:[he(e.property?.constructedArea)," m²",t.jsx("br",{}),t.jsx("span",{children:"Wohnfläche"})]})]})]},e.property.id)}const Bt=({contentUrl:e,onCloseClick:a})=>{const[o,r]=i.useState(!1);i.useEffect(()=>{if(e){const n=e.split(".").pop()?.toLowerCase();(n==="png"||n==="jpg"||n==="jpeg"||n==="svg")&&r(!0)}},[e]);const l=()=>{const n=document.createElement("a");n.href=e,n.setAttribute("download",""),document.body.appendChild(n),n.click(),document.body.removeChild(n)};return t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:" d-flex w-50 flex-column col-6 ",children:[t.jsx("div",{className:"d-flex align-self-end me-5 mt-5",children:t.jsx("img",{src:Me,alt:"close",className:"closeIcon mt-5",onClick:a})}),t.jsx("div",{className:"d-flex justify-content-center",children:t.jsxs("div",{className:"p-2 bd-highlight",children:[o&&t.jsx("div",{className:"rounded-5 mainImage",style:{backgroundImage:`url(${e})`,height:"350px",width:"600px",backgroundSize:"cover",backgroundPosition:"center"}}),!o&&t.jsxs("div",{className:"text-white text-center",children:["No Preview Available",t.jsxs("button",{className:"btn btn-info",onClick:l,children:[" ","Download"," "]})]})]})})]})})},Rt="data:image/svg+xml,%3csvg%20width='4'%20height='20'%20viewBox='0%200%204%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23fxcoqj8dma)'%20fill='%23313131'%3e%3ccircle%20cx='2'%20cy='2'%20r='2'/%3e%3ccircle%20cx='2'%20cy='10'%20r='2'/%3e%3ccircle%20cx='2'%20cy='18'%20r='2'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='fxcoqj8dma'%3e%3cpath%20fill='%23fff'%20d='M0%200h4v20H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ot="data:image/svg+xml,%3csvg%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='50'%20height='50'%20rx='25'%20fill='%23fff'%20fill-opacity='.8'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M29.127%2017.18a.614.614%200%200%201%200%20.872L22.177%2025l6.95%206.948a.617.617%200%200%201-.871.872l-7.384-7.384a.616.616%200%200%201%200-.872l7.384-7.383a.616.616%200%200%201%20.871%200z'%20fill='%23000'/%3e%3c/svg%3e",Ut="data:image/svg+xml,%3csvg%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='50'%20height='50'%20rx='25'%20fill='%23fff'%20fill-opacity='.8'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.873%2032.82a.614.614%200%200%201%200-.872L27.823%2025l-6.95-6.948a.617.617%200%200%201%20.871-.872l7.384%207.384a.616.616%200%200%201%200%20.872l-7.384%207.383a.616.616%200%200%201-.871%200z'%20fill='%23000'/%3e%3c/svg%3e",Dt="data:image/svg+xml,%3csvg%20width='150'%20height='45'%20viewBox='0%200%20150%2045'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.324%2037.932s5.001-6.516%204.403-14.405c0%200%200-.705.598-.88.564-.282%202.254.352%202.959%202.183.07.14.176.67.246%201.092.141%201.127.282%203.733-.21%207.713%200%200%2016.094-1.233%2017.292.246%200%200%20.387.282.563.74.282.67.282%201.55-1.021%201.655%200%200-4.085-.176-7.678%201.339%200%200-5.67%202.395-9.157%202.958-.035%200-4.93%201.55-7.995-2.641z'%20fill='%23FDC500'/%3e%3cpath%20d='M18.738%2038.53s2.571-1.162%207.08-1.655c0%200%201.62-.176%201.655.845%200%200%20.07.423-.67.458l-8.065.352zM26.06%203.17S19.72.74%2013.451%208.065l-7.255%2010.53s-.74%201.48.176%201.938c0%200%201.374.67%202.607-.352l9.157-7.925s1.76-1.444%203.803.423c0%200%204.332%204.508%206.305%205.389%200%200%202.324.88%203.346-.282%200%200%20.704-.81-.634-1.867%200%200-2.889-2.712-3.91-5.67%200%20.035-.986-2.818-.986-7.08zM11.41%209.791l-2.713%204.015s-2.254%203.31-3.486%202.747c0%200-1.198-.563-.035-1.726l6.233-5.036z'%20fill='%23FDC500'/%3e%3cpath%20d='M23.21%2019.441v4.825l-1.126-.458-.423-.176h-.07v-1.726h-1.515v1.726h1.55l.282.176v.106h-3.91v-.106l.282-.176h1.515v-1.726h-1.48v1.726h-.035l-.422.176-1.163.458v-4.825l1.163.352.387.106.07.035v1.69h1.48V19.9H18.28l-.282-.106v-.14h3.91v.14l-.282.106h-1.55v1.726h1.515v-1.69l.07-.036.423-.106%201.127-.352z'%20fill='%23FDC500'/%3e%3cpath%20d='M42.016%2012.75h2.395v12.96h-2.395V12.75zM59.803%2025.71l-.036-8.558-4.261%207.08h-1.057l-4.261-6.974v8.452h-2.29V12.75h1.973l5.142%208.558%205.036-8.559h1.973l.035%2012.926h-2.254v.035zM77.447%2025.71l-.035-8.558-4.262%207.08h-1.056l-4.262-6.974v8.452h-2.289V12.75h1.972l5.142%208.558%205.037-8.559h1.972l.035%2012.926h-2.254v.035zM82.309%2019.23c0-3.839%202.958-6.657%206.973-6.657s6.974%202.818%206.974%206.657-2.959%206.657-6.974%206.657c-4.015%200-6.973-2.818-6.973-6.657zm11.481%200c0-2.642-1.937-4.543-4.543-4.543s-4.543%201.902-4.543%204.543%201.937%204.543%204.543%204.543%204.543-1.902%204.543-4.543zM108.546%2019.3h.916v4.825c-1.162%201.092-2.853%201.656-4.614%201.656-3.909%200-6.762-2.782-6.762-6.551s2.853-6.55%206.797-6.55c1.867%200%203.522.598%204.649%201.76l-.598.634c-1.127-1.092-2.466-1.55-4.051-1.55-3.346%200-5.846%202.43-5.846%205.706%200%203.24%202.5%205.706%205.846%205.706%201.374%200%202.607-.317%203.663-1.198V19.3zM121.577%2022.048h-7.502l-1.655%203.663h-1.022l5.953-12.926h.95l5.953%2012.925h-1.022l-1.655-3.662zm-.352-.775-3.417-7.467-3.381%207.467h6.798zM135.594%2025.71l-3.099-4.332c-.423.07-.81.106-1.268.106h-3.698v4.226h-.951V12.75h4.649c3.24%200%205.213%201.62%205.213%204.367%200%202.043-1.092%203.486-3.029%204.05l3.24%204.543h-1.057zm-4.367-5.071c2.782%200%204.262-1.303%204.262-3.522%200-2.22-1.48-3.522-4.262-3.522h-3.698v7.008h3.698v.036zM142.18%2013.63h-4.649v-.845h10.249v.845h-4.649v12.08h-.951V13.63z'%20fill='%23242423'/%3e%3cpath%20d='M42.05%2028.246h.459v7.396h-.458v-7.396zM44.059%2030.289h.387v1.092h.035c.176-.67.88-1.198%201.655-1.198%201.022%200%201.48.564%201.62%201.127h.036c.317-.74.845-1.127%201.69-1.127.951%200%201.656.564%201.656%201.797v3.627h-.423V31.98c0-1.374-.95-1.445-1.268-1.445-.95%200-1.655.67-1.655%201.973v3.134h-.388V31.98c0-1.338-.915-1.444-1.268-1.444-.74%200-1.69.6-1.69%201.973v3.134h-.387V30.29zM52.617%2030.289h.388v1.092h.035c.176-.67.88-1.198%201.655-1.198%201.022%200%201.48.564%201.62%201.127h.035c.317-.74.846-1.127%201.691-1.127.95%200%201.655.564%201.655%201.797v3.627h-.387V31.98c0-1.374-.951-1.445-1.268-1.445-.95%200-1.655.67-1.655%201.973v3.134h-.388V31.98c0-1.338-.915-1.444-1.268-1.444-.74%200-1.69.6-1.69%201.973v3.134h-.388V30.29h-.035zM63.36%2030.183c1.55%200%202.43%201.268%202.43%202.783%200%201.514-.88%202.782-2.43%202.782-1.55%200-2.43-1.268-2.43-2.782%200-1.515.845-2.783%202.43-2.783zm0%205.213c1.338%200%202.043-1.162%202.043-2.43%200-1.268-.705-2.43-2.043-2.43s-2.078%201.162-2.078%202.43c0%201.268.74%202.43%202.078%202.43zM67.129%2028.246h.387v3.205h.035c.317-.845%201.163-1.268%202.008-1.268%201.55%200%202.325%201.198%202.325%202.677%200%202.536-1.585%202.923-2.325%202.923-1.409%200-1.937-1.021-2.007-1.303h-.036v1.197h-.387v-7.43zm4.332%204.614c0-1.198-.634-2.325-1.902-2.325-1.373%200-2.043.986-2.043%202.325%200%201.303.564%202.57%202.043%202.57%201.374-.034%201.902-1.373%201.902-2.57zM73.184%2029.303v-1.057h.387v1.057h-.387zm0%206.34v-5.354h.387v5.318h-.387v.035zM75.614%2028.246v7.396h-.387v-7.396h.387zM77.27%2029.303v-1.057h.387v1.057h-.388zm0%206.34v-5.354h.387v5.318h-.388v.035zM79.385%2033.036c-.036%201.268.634%202.395%201.972%202.395%201.021%200%201.726-.599%201.902-1.585h.387c-.211%201.233-1.021%201.937-2.29%201.937-1.549%200-2.359-1.233-2.359-2.677-.035-1.444.74-2.888%202.36-2.888%201.655%200%202.43%201.304%202.324%202.853h-4.296v-.035zm3.909-.352c-.035-1.127-.74-2.148-1.937-2.148-1.198%200-1.867%201.091-1.972%202.148h3.909zM84.914%2030.289h.388v1.127h.035c.281-.81%201.091-1.268%201.901-1.268%201.867%200%201.902%201.514%201.902%202.148v3.311h-.387v-3.381c0-.564-.07-1.726-1.514-1.726-1.198%200-1.902.916-1.902%202.219v2.888h-.388v-5.318h-.035zM93.227%2030.641v-.352h.95v-1.092c0-.74.529-1.056%201.163-1.056.14%200%20.317.035.458.035v.352c-.141-.035-.317-.035-.458-.035-.423%200-.775.14-.775.74v1.056h1.092v.352h-1.092v4.966h-.388v-4.966h-.95zM100.832%2035.642h-.388v-1.127h-.035c-.282.81-1.092%201.268-1.902%201.268-1.866%200-1.901-1.514-1.901-2.148v-3.346h.387v3.381c0%20.564.07%201.726%201.514%201.726%201.198%200%201.902-.916%201.902-2.219v-2.888h.388v5.353h.035zm-3.17-6.163v-1.057h.458v1.057h-.458zm1.62%200v-1.057h.458v1.057h-.458zM102.7%2031.486c.246-.704%201.092-1.268%202.078-1.197v.387c-.423-.035-.986.036-1.479.529-.388.387-.564.74-.599%201.55v2.922h-.388V30.29h.388v1.197zM113.583%2030.36c-.035-1.269-1.021-1.902-2.359-1.902-.846%200-2.043.352-2.043%201.584%200%201.198%201.268%201.374%202.501%201.656%201.267.246%202.535.563%202.535%202.042%200%201.55-1.479%202.078-2.606%202.078-1.726%200-3.134-.704-3.134-2.606h.457c-.105%201.62%201.198%202.219%202.677%202.219.881%200%202.148-.387%202.148-1.69%200-1.269-1.267-1.48-2.535-1.726-1.268-.247-2.501-.564-2.501-1.973%200-1.408%201.303-1.972%202.501-1.972%201.549%200%202.747.67%202.817%202.29h-.458zM117.458%2030.641h-1.163v3.733c0%20.846.388.951%201.163.916v.352c-.81.035-1.585-.07-1.55-1.268v-3.733h-.986v-.352h.986v-1.655h.387v1.655h1.163v.352zM122.703%2035.642h-.388v-1.127h-.035c-.281.81-1.092%201.268-1.902%201.268-1.866%200-1.901-1.514-1.901-2.148v-3.346h.387v3.38c0%20.564.07%201.727%201.514%201.727%201.198%200%201.902-.916%201.902-2.22V30.29h.388v5.353h.035zM126.157%2030.641h-1.162v3.733c0%20.846.387.951%201.162.916v.352c-.81.035-1.585-.07-1.55-1.268v-3.733h-.986v-.352h.986v-1.655h.388v1.655h1.162v.352zM129.149%2030.641h-1.162v3.733c0%20.846.387.951%201.162.916v.352c-.81.035-1.585-.07-1.55-1.268v-3.733h-.986v-.352h.986v-1.655h.388v1.655h1.162v.352zM134.571%2030.289v5.036c0%20.423%200%202.395-2.289%202.325-1.127%200-2.008-.423-2.078-1.656h.387c.07.951.845%201.303%201.691%201.303%201.866%200%201.901-1.514%201.901-1.866v-1.233h-.035c-.387.775-1.021%201.198-1.937%201.198-1.55%200-2.289-1.163-2.289-2.642%200-1.409.81-2.606%202.289-2.606.845%200%201.62.423%201.937%201.233h.035v-1.092h.388zm-4.262%202.5c0%201.268.669%202.29%201.902%202.29%201.303%200%201.937-1.092%201.937-2.29%200-1.197-.634-2.289-1.937-2.289-1.268.035-1.902%201.162-1.902%202.29zM139.961%2034.656c0%20.317%200%20.634.352.634.07%200%20.176%200%20.282-.035v.317c-.106.035-.212.035-.317.035-.634%200-.705-.352-.705-.775v-.282h-.035c-.247.634-.951%201.198-1.972%201.198-1.022%200-1.796-.388-1.796-1.515%200-1.232%201.091-1.514%201.972-1.584%201.761-.141%201.831-.247%201.831-1.092%200-.247-.282-1.057-1.479-1.057-.951%200-1.585.493-1.62%201.409h-.387c.035-1.162.774-1.761%202.042-1.761.916%200%201.867.282%201.867%201.373v3.135h-.035zm-.388-2.043c-.317.352-1.162.317-1.937.423-.916.106-1.444.423-1.444%201.233%200%20.634.458%201.162%201.409%201.162%201.796%200%201.972-1.55%201.972-1.796v-1.022zM141.934%2031.486c.247-.704%201.092-1.268%202.078-1.197v.387c-.422-.035-.986.036-1.479.529-.387.387-.563.74-.599%201.55v2.922h-.387V30.29h.387v1.197zM146.688%2030.641h-1.162v3.733c0%20.846.387.951%201.162.916v.352c-.81.035-1.585-.07-1.55-1.268v-3.733h-.986v-.352h.986v-1.655h.388v1.655h1.162v.352z'%20fill='%23FDC500'/%3e%3c/svg%3e";function Qt(e){const[a,o]=i.useState(!1),[r,l]=i.useState(null),[n,c]=i.useState(0),f=i.useRef(null),[m,h]=i.useState(!1),[A,k]=i.useState(!1),[C,p]=i.useState(!1),[_,g]=i.useState(!1),x=e.property?.pictures?.length>0?e.property.pictures.filter(N=>N.pictureType.id===2).map(N=>`${e.baseUrl}${N.contentUrl}`):[Pe],w=e.property.pictures?.filter(N=>N.pictureType?.id===1).map((N,v)=>({url:e.baseUrl+N.contentUrl,title:`Floor Plan ${v+1}`}))||[],d=()=>{g(!0),e.onFloorPlanClick&&e.onFloorPlanClick(w)},u=()=>{p(!0)},y=N=>{if(!e.property||x.length===0)return;let v=n;N==="left"?v=(n-1+x.length)%x.length:N==="right"&&(v=(n+1)%x.length),c(v),l(x[v]),f.current?f.current.scrollTo({left:v*150,behavior:"smooth"}):console.warn("imageListRef is not set")},I={kaufpreis:e.translations?.kaufpreis||"Kaufpreis",wohnflache:e.translations?.wohnflache||"Wohnfläche",zimmer:e.translations?.zimmer||"Zimmer",grundriss:e.translations?.grundriss||"Grundriss"};return t.jsxs("div",{className:"d-flex flex-row property-card",children:[t.jsx("div",{className:"d-flex flex-column col-md-6 col-lg-6",children:t.jsxs("div",{className:"card-bod position-relative cardStyles h-100 w-100",style:{backgroundImage:`url(${r||x[0]})`,backgroundSize:"cover",backgroundPosition:"center",maxWidth:"640"},children:[t.jsxs("div",{className:"d-flex flex-row col-12 justify-content-between ",children:[t.jsx("div",{className:"d-felx align-self-start justify-items-start ms-4 ",style:{left:"16px"},onClick:()=>y("left"),role:"button",children:t.jsx("img",{src:Ot})}),t.jsx("div",{}),t.jsx("div",{className:"d-flex align-self-end justify-items-end me-4",onClick:()=>y("right"),role:"button",children:t.jsx("img",{src:Ut,style:{right:"16px"}})})]}),t.jsxs("div",{className:"d-flex flex-row align-self-end justify-item-start justify-content-between align-item-start gap-1 mb-2 ms-4",style:{position:"absolute",left:"0"},children:[t.jsx("div",{className:"cardTag",style:{marginBottom:"16px"},children:`${n+1}/${x.length}`}),t.jsxs("div",{className:"Grundriss kontact-button-text ms-2 ",role:"button",onClick:()=>d(),style:{marginBottom:"16px"},children:[t.jsx("img",{src:ze,className:"",style:{width:"18px"}})," ",I.grundriss]})]})]},e.property.id)}),t.jsxs("div",{className:`listing-compact_c justify-content-between d-flex flex-column col-6 ${e.Impliment?"cc-height":"listing-height"}`,children:[t.jsxs("div",{className:"col-12 d-flex justify-content-end gap-2",children:[t.jsx("img",{src:Ae,alt:"Share Icon",className:" ",onClick:u,style:{maxHeight:"24px",maxWidth:"24px"},role:"button"}),t.jsx("img",{src:Rt,alt:"More Icon",className:"",style:{maxHeight:"24px",maxWidth:"24px"},role:"button"})]}),t.jsx("div",{className:"col-11",children:t.jsx("span",{className:"propertyTitle align-items-start ",onClick:e.onClick,role:"button",children:e.property.expose?.title})}),t.jsx("div",{className:"col-12",children:t.jsxs("div",{className:"location-wrapper",children:[t.jsx("img",{src:Se,alt:"Location Icon",className:"location-icon"}),t.jsx("span",{className:"locationTexts ",children:e.property.city||"N/A"})]})}),t.jsxs("div",{className:"d-flex flex-row justify-content-between",children:[t.jsxs("span",{className:"priceValue justify-content-center align-items-center",children:[oe(e.property?.evaluation?.askingPrice??0)," €",t.jsx("div",{className:"price_label",style:{whiteSpace:"nowrap"},children:I.kaufpreis})]}),t.jsxs("span",{className:"text-dark value d-flex justify-content-center align-items-center",children:[e.property.constructedArea," m²",t.jsx("div",{className:"details",style:{whiteSpace:"nowrap"},children:I.wohnflache})]}),t.jsxs("span",{className:"text-dark value d-flex justify-content-center align-items-center",children:[+e.property?.rooms,t.jsx("div",{className:"details text-center",style:{whiteSpace:"nowrap"},children:I.zimmer})]})]}),t.jsx("div",{className:"d-lex flex-column ",children:t.jsxs("div",{className:"wrapperCompanySec d-flex justify-content-around flex-row",children:[t.jsx("div",{className:"d-flex flex-column col-4 justify-content-between ",children:t.jsx("img",{src:Dt,alt:"Logo",className:"immooly"})}),t.jsx("div",{className:"d-flex flex-column align-items-center justify-content-center",children:t.jsxs("div",{className:"d-flex flex-column text-center",children:[t.jsx("span",{className:"fw-bold",children:e.userData?`${e.userData.firstname} ${e.userData.lastname}`:"Firstname Lastname"}),t.jsx("span",{className:"fst-italic fw-normal",children:e.userData?.company?e.userData.company:"Your Company"})]})})]})})]}),C&&t.jsx(ue,{onClick:()=>p(!1)}),_&&t.jsx(me,{pictureUrls:w,onClose:()=>g(!1)})]})}const Ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAA5BAMAAABTxLEMAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAnUExURUdwTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH6NKgYAAAAMdFJOUwCfIL+AMO/drxBDj6+sC8sAAAH7SURBVEjHjZW/S8NAFMefqWKji8VBCg7Foc6OlQwODg4OmeziJHTrJHTLUNBFyBDoEnARXB38A1z81Qa8P8r37i65y+XukjeEQj58m/t+370HAOFJa2WAtRex1vp+QfCDdagfgH3Wqd7hthv4Cyk+Hy+9dYXIJ8zxOQNvTRFZA+luRj5uh7QYB/2SYybBAQqP/IIPHByi4ws3eIMnWXHwoI+SsVMwYWzZEyBZdO8RLKAEV27JYE5ACcIxY3ceQQWi5CZ2HXmogfSVM0coKKiBfXs8JLisgWFklRxTN9RA2LLFUwrqYGiLh0LJDBAs8fBQwAQt8QgPG2AjHhFKE2zEowQN0IhHhmIBjXimStAEa/FUHlrAWjxlKFYwVfGQ4HfmAFd02xbVkbU3BsjHmvCSQtEk62COVCTjIQ8TdZo6iC8WMh4eisvwnJsj4uEM/f2kCUpveDwyFOWQDvaE2yHKFGjTJhMWTUyQPOQtcSoG50T+Lkxwt+yIMFGD0HIVQtW2zwQ+VY3BvVSg3rWvjJ0bvavASL8HwUhvXpKswNw1SwMRTwUmzlFaH1K5e96LeCTomCdaA0uw51sgPB4BDlPnGC3jEeCRa4qa64N5Rn254SS4jn1gIFbcvE1QXLQ1X8NnA28d8jX81m2xf8F2N/AC4LoL90c+pe1cEcM/vxPDSd4VACsAAAAASUVORK5CYII=";function Jt(e){const[a,o]=i.useState(""),[r,l]=i.useState(""),[n,c]=i.useState(""),[f,m]=i.useState(""),[h,A]=i.useState(""),k=()=>{e.onCloseClick()};function C(){e.onSubmit({themeId:a,subject:r,messageText:n,firstName:f,lastName:h})}return i.useEffect(()=>{const p=JSON.parse(localStorage.getItem("user")||"{}");p&&(m(p.firstname||""),A(p.lastname||""))},[]),t.jsx("div",{children:t.jsx("div",{className:" popup-overlay",children:t.jsxs("div",{className:"MessageShareSections d-flex flex-column col-10 col-lg-7",children:[t.jsx("img",{src:K,alt:"close",className:"closeIcon d-flex flex-column align-self-end",onClick:k}),t.jsxs("div",{className:"",children:[t.jsxs("div",{className:"d-flex ms-md-5 mb-4",children:[t.jsx("div",{className:"circle align-self-center ms-md-2 me-4",children:t.jsx("img",{src:Ht,alt:"email",className:"align-self-center",style:{alignSelf:"center",justifyContent:"center",margin:"14px",width:"25px",height:"20px"}})}),t.jsxs("div",{className:"popUpHeader d-flex flex-column text-wrap mb-md-1 ",children:["Nachricht senden ",e.userData?.firstname," ",e.userData?.lastname]})]}),t.jsxs("div",{className:"d-flex flex-md-row flex-column ms-md-5 mt-md-0 ",children:[t.jsxs("div",{className:"d-flex flex-column mt-md-0 mt-4 col me-4 w-100 align-self-start justify-content-start",children:[t.jsx("span",{className:"popup-tags mb-2",children:"Betreff:*"}),t.jsx("div",{children:t.jsxs("select",{name:"theme",id:"theme",className:"mb-md-4 col-md-11 col-12",style:{height:"42px"},value:a,onChange:p=>o(p.target.value),children:[t.jsx("option",{value:"",children:"Select a theme"}),e.themesList.map(p=>t.jsx("option",{value:p.id,children:p.name},p.id))]})})]}),t.jsxs("div",{className:"d-flex flex-column mt-md-4 col me-4 w-100",children:[t.jsx("div",{}),t.jsx("textarea",{className:"popup_textarea col-12 col-md-10 mb-md-0 mt-2 ",placeholder:"Betreff deiner Nachricht",style:{height:"42px"},value:r,onChange:p=>l(p.target.value)})]})]}),t.jsxs("div",{className:"d-flex flex-column col ms-md-5 me-md-4",children:[t.jsx("span",{className:"popup-tags mb-2 ",children:"Deine Nachricht:*"}),t.jsx("textarea",{className:"popup_textarea mb-md-4 col-md-11 col-12 ",placeholder:"Deine Nachricht hier...",value:n,onChange:p=>c(p.target.value)})]}),t.jsxs("div",{className:"d-flex flex-md-row flex-column ms-md-5 ",children:[t.jsxs("div",{className:"d-flex flex-column col me-4 w-100",children:[t.jsx("span",{className:"popup-tags mb-2",children:"Vorname:"}),t.jsx("input",{className:"popup_textarea mb-md-4 col-12 col-md-11",placeholder:"Dein Vorname",type:"text",value:f,onChange:p=>m(p.target.value),style:{height:"42px"}})]}),t.jsxs("div",{className:"d-flex flex-column me-4 w-100 col ",children:[t.jsx("span",{className:"popup-tags mb-2",children:"Nachname:"}),t.jsx("input",{className:"popup_textarea col-12 mb-4 col-md-10",placeholder:"Dein Nachname",type:"text",value:h,onChange:p=>A(p.target.value),style:{height:"42px"}})]})]}),t.jsxs("div",{className:"d-flex gap-md-3 gap-3 flex-md-row flex-column align-self-center justify-content-center mb-4 mt-md-2",children:[t.jsx("button",{className:"main_button border-0 rounded-4 align-self-center ",type:"button",id:"button",onClick:C,children:t.jsx("strong",{children:"Nachricht senden"})}),t.jsx("button",{className:"button_icon-right border-1 col-sm-3 align-self-center",children:t.jsx("strong",{children:"Abbrechen"})})]})]})]})})})}const Vt="data:image/svg+xml,%3csvg%20width='80'%20height='81'%20viewBox='0%200%2080%2081'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23x941tpr7ca)'%3e%3cpath%20d='M57.682%2027.808a3.125%203.125%200%200%201%200%204.42L36.717%2053.191a3.126%203.126%200%200%201-4.419%200l-9.98-9.98a3.124%203.124%200%201%201%204.42-4.42l7.77%207.771%2018.754-18.755a3.126%203.126%200%200%201%204.42%200zM80%2040.5c0%2022.11-17.893%2040-40%2040-22.11%200-40-17.893-40-40C0%2018.39%2017.893.5%2040%20.5c22.11%200%2040%2017.893%2040%2040zm-6.25%200C73.75%2021.845%2058.653%206.75%2040%206.75%2021.345%206.75%206.25%2021.847%206.25%2040.5c0%2018.655%2015.097%2033.75%2033.75%2033.75%2018.655%200%2033.75-15.097%2033.75-33.75z'%20fill='%23FFB525'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='x941tpr7ca'%3e%3cpath%20fill='%23fff'%20transform='translate(0%20.5)'%20d='M0%200h80v80H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Ft(e){const[a,o]=i.useState(!0),r=()=>{e.onClick()};return t.jsx("div",{children:t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:"shareSection-Success d-flex flex-column col-7 ",children:[t.jsx("img",{src:K,alt:"close",className:"closeIcon d-flex flex-column align-self-end ms-5 ",onClick:r}),t.jsx("div",{className:" d-flex flex-column align-self-center ms-5 ",children:t.jsx("img",{src:Vt,alt:"facebook",className:" mb-4"})}),t.jsxs("div",{className:"popUpHeader d-flex flex-column col- text-center text-wrap mb-5 align-self-center",children:[t.jsx("span",{children:" Herzlichen Glückwunsch! "}),t.jsx("span",{children:" Deine Nachricht wurde erfolgreich gesendet. "})]}),t.jsx("div",{className:"d-flex flex-column mt-4 mb-4",children:t.jsx("span",{className:"text-center ms-5 text-wrap",children:"Neben vielen weiteren Einstellungen und Aktionen kannst du die Antwort auf deine Nachricht in deinem Control Center einsehen, sobald der Verkäufer darauf reagiert hat."})}),t.jsxs("div",{className:" d-flex flex-row align-self-center ",children:[t.jsx("button",{className:"d-flex button_success-left col-sm-5 border-0 rounded-4",type:"button",id:"button",onClick:r,children:t.jsx("strong",{children:" Zum Control Center"})}),t.jsx("button",{className:"button_success-right col-sm-3 border-1 ms-3 rounded-4",type:"button",id:"button",children:t.jsx("strong",{children:"Abbrechen"})})]})]})})})}const Wt="data:image/svg+xml,%3csvg%20width='80'%20height='81'%20viewBox='0%200%2080%2081'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23gyr7eoy9ma)'%20fill='%23FFB525'%3e%3cpath%20d='M49.585%209.407a11.03%2011.03%200%200%200-19.174%200L1.378%2061.134a10.594%2010.594%200%200%200%20.097%2010.63%2010.88%2010.88%200%200%200%209.49%205.403H69.03a10.88%2010.88%200%200%200%209.49-5.403%2010.593%2010.593%200%200%200%20.097-10.63L49.585%209.407zm23.183%2059a4.276%204.276%200%200%201-3.737%202.093H10.965a4.277%204.277%200%200%201-3.737-2.103%203.94%203.94%200%200%201-.037-4l29.034-51.73a4.517%204.517%200%200%201%207.546%200l29.034%2051.727a3.94%203.94%200%200%201-.037%204.003v.01z'/%3e%3cpath%20d='M39.997%2023.832a3.333%203.333%200%200%200-3.333%203.333v20a3.333%203.333%200%200%200%206.667%200v-20a3.334%203.334%200%200%200-3.334-3.333zM39.997%2063.835a3.333%203.333%200%201%200%200-6.667%203.333%203.333%200%200%200%200%206.667z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='gyr7eoy9ma'%3e%3cpath%20fill='%23fff'%20transform='translate(0%20.5)'%20d='M0%200h80v80H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Gt(e){const a=()=>{e.onClick()};return t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:"shareSection-Error d-flex flex-column col-6 ",children:[t.jsx("img",{src:K,alt:"close",className:"closeIcon d-flex flex-column align-self-end ms-5 ",onClick:a}),t.jsx("div",{className:" d-flex flex-column align-self-center ms-5 ",children:t.jsx("img",{src:Wt,alt:"facebook",className:" mb-4"})}),t.jsx("div",{className:"popUpHeader d-flex flex-column col- text-center text-wrap mb-1 align-self-center",children:t.jsx("span",{children:" Oops! Etwas ist schiefgelaufen."})}),t.jsx("div",{className:"d-flex flex-column mt-4 mb-4",children:t.jsx("span",{className:"text-center ms-5 text-wrap",children:"Beim Senden deiner Nachricht ist ein Fehler aufgetreten. Wenn das Problem weiterhin besteht, kontaktiere uns unter support@nestiq.de"})}),t.jsxs("div",{className:" d-flex flex-row align-self-center ",children:[t.jsx("button",{className:"d-flex button_success-left col-sm-5 border-0 rounded-4",type:"button",id:"button",children:t.jsx("strong",{children:" Erneut versuchen"})}),t.jsx("button",{className:"button_success-right w-50 border-1 ms-3 rounded-4",type:"button",id:"button",children:t.jsx("strong",{children:" Support kontaktieren"})})]})]})})}const Yt=(e,a="info")=>{T(e,{type:a})},Zt=()=>t.jsx(kt,{position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0});exports.Button=Ue;exports.ErrorPopup=Gt;exports.FloorPlanPopup=Bt;exports.MessagePopUp=Jt;exports.NewPropertyCard=Qt;exports.Popup=De;exports.PropertyCard=Lt;exports.PropertyDetailsHeader=It;exports.PropertyImageList=St;exports.SharePopup=ue;exports.SuccessPopUp=Ft;exports.ToastWrapper=Zt;exports.formatPrice=oe;exports.formatPropertyArea=he;exports.showToast=Yt;
|
|
6
|
+
<%s key={someKey} {...props} />`,z,M,F,M),ge[M+z]=!0)}if(M=null,E!==void 0&&(o(E),M=""+E),c(b)&&(o(b.key),M=""+b.key),"key"in b){E={};for(var le in b)le!=="key"&&(E[le]=b[le])}else E=b;return M&&f(E,typeof s=="function"?s.displayName||s.name||"Unknown":s),h(s,M,E,l(),$,ne)}function k(s){C(s)?s._store&&(s._store.validated=1):typeof s=="object"&&s!==null&&s.$$typeof===S&&(s._payload.status==="fulfilled"?C(s._payload.value)&&s._payload.value._store&&(s._payload.value._store.validated=1):s._store&&(s._store.validated=1))}function C(s){return typeof s=="object"&&s!==null&&s.$$typeof===_}var p=i,_=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),y=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),L=Symbol.for("react.client.reference"),B=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,re=Array.isArray,V=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(s){return s()}};var W,J={},D=p.react_stack_bottom_frame.bind(p,n)(),pe=V(r(n)),ge={};Y.Fragment=x,Y.jsx=function(s,b,E){var z=1e4>B.recentlyCreatedOwnerStacks++;return A(s,b,E,!1,z?Error("react-stack-top-frame"):D,z?V(r(s)):pe)},Y.jsxs=function(s,b,E){var z=1e4>B.recentlyCreatedOwnerStacks++;return A(s,b,E,!0,z?Error("react-stack-top-frame"):D,z?V(r(s)):pe)}})()),Y}var ye;function Oe(){return ye||(ye=1,process.env.NODE_ENV==="production"?ee.exports=Be():ee.exports=Re()),ee.exports}var t=Oe();const Ue=({label:e})=>t.jsx("button",{children:e}),K="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARBAMAAAAmgTH3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAeUExURQAAAAAAAEdwTAAAAAAAAAAAAAAAAAAAAAAAAAAAAIkdp4sAAAAJdFJOUy/vAOAgYMoQT6jmf10AAABxSURBVAjXLY4xDoAgEARXX0BLRy7aW9DQkvgG30Br4gdsrAmJCb91l3jV3sAO4MrGWR6UTWF6UepsFvyLqTuCHhF8nYNvGdwcgYHnlYCBiEBh7f22nzgbdxqLplaUC3LIBTnkQqJDLqQ4Xm/Yz/Gf4wOFXB+IzUIgqAAAAABJRU5ErkJggg==",De=({onCloseClick:e,children:a})=>t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:"shareSection col-12 d-flex position-relative flex-column mx-auto justify-content-center col-5 col-lg-6 d-flex gap-4",children:[t.jsx("div",{className:"end-0 top-0 position-absolute ",children:t.jsx("img",{src:K,alt:"close",className:"closeIcon me-2",onClick:e})}),a]})}),Ae="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.046%209.9h-2.56a.937.937%200%201%200%200%201.875h2.56c.517%200%20.938.42.938.937v12.26c0%20.517-.42.938-.938.938H7.953a.939.939%200%200%201-.937-.938v-12.26c0-.517.42-.937.937-.937h2.56a.937.937%200%201%200%200-1.875h-2.56a2.816%202.816%200%200%200-2.812%202.812v12.26a2.816%202.816%200%200%200%202.812%202.813h14.093a2.816%202.816%200%200%200%202.813-2.813v-12.26A2.816%202.816%200%200%200%2022.046%209.9zM11.504%208.007l2.59-2.59V17.76a.937.937%200%201%200%201.874%200V5.418l2.59%202.59a.934.934%200%200%200%201.326%200%20.937.937%200%200%200%200-1.327l-4.19-4.19a.938.938%200%200%200-1.326%200l-4.19%204.19a.937.937%200%201%200%201.326%201.326z'%20fill='%23000'/%3e%3c/svg%3e",Qe="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-geo-alt'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M12.166%208.94c-.524%201.062-1.234%202.12-1.96%203.07A32%2032%200%200%201%208%2014.58a32%2032%200%200%201-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304%207.867%203%206.862%203%206a5%205%200%200%201%2010%200c0%20.862-.305%201.867-.834%202.94M8%2016s6-5.686%206-10A6%206%200%200%200%202%206c0%204.314%206%2010%206%2010'/%3e%3cpath%20d='M8%208a2%202%200%201%201%200-4%202%202%200%200%201%200%204m0%201a3%203%200%201%200%200-6%203%203%200%200%200%200%206'/%3e%3c/svg%3e",He="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-envelope-fill'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M.05%203.555A2%202%200%200%201%202%202h12a2%202%200%200%201%201.95%201.555L8%208.414zM0%204.697v7.104l5.803-3.558zM6.761%208.83l-6.57%204.027A2%202%200%200%200%202%2014h12a2%202%200%200%200%201.808-1.144l-6.57-4.027L8%209.586zm3.436-.586L16%2011.801V4.697z'/%3e%3c/svg%3e",Ve="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-facebook'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M16%208.049c0-4.446-3.582-8.05-8-8.05C3.58%200-.002%203.603-.002%208.05c0%204.017%202.926%207.347%206.75%207.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017%201.195-3.131%203.022-3.131.876%200%201.791.157%201.791.157v1.98h-1.009c-.993%200-1.303.621-1.303%201.258v1.51h2.218l-.354%202.326H9.25V16c3.824-.604%206.75-3.934%206.75-7.951'/%3e%3c/svg%3e",Je="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-linkedin'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M0%201.146C0%20.513.526%200%201.175%200h13.65C15.474%200%2016%20.513%2016%201.146v13.708c0%20.633-.526%201.146-1.175%201.146H1.175C.526%2016%200%2015.487%200%2014.854zm4.943%2012.248V6.169H2.542v7.225zm-1.2-8.212c.837%200%201.358-.554%201.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4%203.226%202.4%203.934c0%20.694.521%201.248%201.327%201.248zm4.908%208.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878%201.232-.878.869%200%201.216.662%201.216%201.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274%200-1.845.7-2.165%201.193v.025h-.016l.016-.025V6.169h-2.4c.03.678%200%207.225%200%207.225z'/%3e%3c/svg%3e",Fe="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-twitter-x'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M12.6.75h2.454l-5.36%206.142L16%2015.25h-4.937l-3.867-5.07-4.425%205.07H.316l5.733-6.57L0%20.75h5.063l3.495%204.633L12.601.75Zm-.86%2013.028h1.36L4.323%202.145H2.865z'/%3e%3c/svg%3e",We="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-whatsapp'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M13.601%202.326A7.85%207.85%200%200%200%207.994%200C3.627%200%20.068%203.558.064%207.926c0%201.399.366%202.76%201.057%203.965L0%2016l4.204-1.102a7.9%207.9%200%200%200%203.79.965h.004c4.368%200%207.926-3.558%207.93-7.93A7.9%207.9%200%200%200%2013.6%202.326zM7.994%2014.521a6.6%206.6%200%200%201-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56%206.56%200%200%201-1.007-3.505c0-3.626%202.957-6.584%206.591-6.584a6.56%206.56%200%200%201%204.66%201.931%206.56%206.56%200%200%201%201.928%204.66c-.004%203.639-2.961%206.592-6.592%206.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73%200%200%200-.529.247c-.182.198-.691.677-.691%201.654s.71%201.916.81%202.049c.098.133%201.394%202.132%203.383%202.992.47.205.84.326%201.129.418.475.152.904.129%201.246.08.38-.058%201.171-.48%201.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232'/%3e%3c/svg%3e";function we(e){var a,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(a=0;a<l;a++)e[a]&&(o=we(e[a]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function Q(){for(var e,a,o=0,r="",l=arguments.length;o<l;o++)(e=arguments[o])&&(a=we(e))&&(r&&(r+=" "),r+=a);return r}function Ge(e){if(typeof document>"u")return;let a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}Ge(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
7
|
+
`);var X=e=>typeof e=="number"&&!isNaN(e),H=e=>typeof e=="string",O=e=>typeof e=="function",Ye=e=>H(e)||X(e),ie=e=>H(e)||O(e)?e:null,Ze=(e,a)=>e===!1||X(e)&&e>0?e:a,ce=e=>i.isValidElement(e)||H(e)||O(e)||X(e);function Ke(e,a,o=300){let{scrollHeight:r,style:l}=e;requestAnimationFrame(()=>{l.minHeight="initial",l.height=r+"px",l.transition=`all ${o}ms`,requestAnimationFrame(()=>{l.height="0",l.padding="0",l.margin="0",setTimeout(a,o)})})}function Xe({enter:e,exit:a,appendPosition:o=!1,collapse:r=!0,collapseDuration:l=300}){return function({children:n,position:c,preventExitTransition:f,done:m,nodeRef:h,isIn:A,playToast:k}){let C=o?`${e}--${c}`:e,p=o?`${a}--${c}`:a,_=i.useRef(0);return i.useLayoutEffect(()=>{let g=h.current,x=C.split(" "),w=d=>{d.target===h.current&&(k(),g.removeEventListener("animationend",w),g.removeEventListener("animationcancel",w),_.current===0&&d.type!=="animationcancel"&&g.classList.remove(...x))};g.classList.add(...x),g.addEventListener("animationend",w),g.addEventListener("animationcancel",w)},[]),i.useEffect(()=>{let g=h.current,x=()=>{g.removeEventListener("animationend",x),r?Ke(g,m,l):m()};A||(f?x():(_.current=1,g.className+=` ${p}`,g.addEventListener("animationend",x)))},[A]),i.createElement(i.Fragment,null,n)}}function be(e,a){return{content:_e(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:a}}function _e(e,a,o=!1){return i.isValidElement(e)&&!H(e.type)?i.cloneElement(e,{closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:o}):O(e)?e({closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:o}):e}function qe({closeToast:e,theme:a,ariaLabel:o="close"}){return i.createElement("button",{className:`Toastify__close-button Toastify__close-button--${a}`,type:"button",onClick:r=>{r.stopPropagation(),e(!0)},"aria-label":o},i.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},i.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function $e({delay:e,isRunning:a,closeToast:o,type:r="default",hide:l,className:n,controlledProgress:c,progress:f,rtl:m,isIn:h,theme:A}){let k=l||c&&f===0,C={animationDuration:`${e}ms`,animationPlayState:a?"running":"paused"};c&&(C.transform=`scaleX(${f})`);let p=Q("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${A}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":m}),_=O(n)?n({rtl:m,type:r,defaultClassName:p}):Q(p,n),g={[c&&f>=1?"onTransitionEnd":"onAnimationEnd"]:c&&f<1?null:()=>{h&&o()}};return i.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":k},i.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${A} Toastify__progress-bar--${r}`}),i.createElement("div",{role:"progressbar","aria-hidden":k?"true":"false","aria-label":"notification timer",className:_,style:C,...g}))}var et=1,Te=()=>`${et++}`;function tt(e,a,o){let r=1,l=0,n=[],c=[],f=a,m=new Map,h=new Set,A=d=>(h.add(d),()=>h.delete(d)),k=()=>{c=Array.from(m.values()),h.forEach(d=>d())},C=({containerId:d,toastId:u,updateId:y})=>{let I=d?d!==e:e!==1,N=m.has(u)&&y==null;return I||N},p=(d,u)=>{m.forEach(y=>{var I;(u==null||u===y.props.toastId)&&((I=y.toggle)==null||I.call(y,d))})},_=d=>{var u,y;(y=(u=d.props)==null?void 0:u.onClose)==null||y.call(u,d.removalReason),d.isActive=!1},g=d=>{if(d==null)m.forEach(_);else{let u=m.get(d);u&&_(u)}k()},x=()=>{l-=n.length,n=[]},w=d=>{var u,y;let{toastId:I,updateId:N}=d.props,v=N==null;d.staleId&&m.delete(d.staleId),d.isActive=!0,m.set(I,d),k(),o(be(d,v?"added":"updated")),v&&((y=(u=d.props).onOpen)==null||y.call(u))};return{id:e,props:f,observe:A,toggle:p,removeToast:g,toasts:m,clearQueue:x,buildToast:(d,u)=>{if(C(u))return;let{toastId:y,updateId:I,data:N,staleId:v,delay:j}=u,S=I==null;S&&l++;let R={...f,style:f.toastStyle,key:r++,...Object.fromEntries(Object.entries(u).filter(([B,U])=>U!=null)),toastId:y,updateId:I,data:N,isIn:!1,className:ie(u.className||f.toastClassName),progressClassName:ie(u.progressClassName||f.progressClassName),autoClose:u.isLoading?!1:Ze(u.autoClose,f.autoClose),closeToast(B){m.get(y).removalReason=B,g(y)},deleteToast(){let B=m.get(y);if(B!=null){if(o(be(B,"removed")),m.delete(y),l--,l<0&&(l=0),n.length>0){w(n.shift());return}k()}}};R.closeButton=f.closeButton,u.closeButton===!1||ce(u.closeButton)?R.closeButton=u.closeButton:u.closeButton===!0&&(R.closeButton=ce(f.closeButton)?f.closeButton:!0);let L={content:d,props:R,staleId:v};f.limit&&f.limit>0&&l>f.limit&&S?n.push(L):X(j)?setTimeout(()=>{w(L)},j):w(L)},setProps(d){f=d},setToggle:(d,u)=>{let y=m.get(d);y&&(y.toggle=u)},isToastActive:d=>{var u;return(u=m.get(d))==null?void 0:u.isActive},getSnapshot:()=>c}}var P=new Map,Z=[],de=new Set,at=e=>de.forEach(a=>a(e)),je=()=>P.size>0;function st(){Z.forEach(e=>ke(e.content,e.options)),Z=[]}var ot=(e,{containerId:a})=>{var o;return(o=P.get(a||1))==null?void 0:o.toasts.get(e)};function Ne(e,a){var o;if(a)return!!((o=P.get(a))!=null&&o.isToastActive(e));let r=!1;return P.forEach(l=>{l.isToastActive(e)&&(r=!0)}),r}function rt(e){if(!je()){Z=Z.filter(a=>e!=null&&a.options.toastId!==e);return}if(e==null||Ye(e))P.forEach(a=>{a.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let a=P.get(e.containerId);a?a.removeToast(e.id):P.forEach(o=>{o.removeToast(e.id)})}}var nt=(e={})=>{P.forEach(a=>{a.props.limit&&(!e.containerId||a.id===e.containerId)&&a.clearQueue()})};function ke(e,a){ce(e)&&(je()||Z.push({content:e,options:a}),P.forEach(o=>{o.buildToast(e,a)}))}function lt(e){var a;(a=P.get(e.containerId||1))==null||a.setToggle(e.id,e.fn)}function Ie(e,a){P.forEach(o=>{(a==null||!(a!=null&&a.containerId)||a?.containerId===o.id)&&o.toggle(e,a?.id)})}function it(e){let a=e.containerId||1;return{subscribe(o){let r=tt(a,e,at);P.set(a,r);let l=r.observe(o);return st(),()=>{l(),P.delete(a)}},setProps(o){var r;(r=P.get(a))==null||r.setProps(o)},getSnapshot(){var o;return(o=P.get(a))==null?void 0:o.getSnapshot()}}}function ct(e){return de.add(e),()=>{de.delete(e)}}function dt(e){return e&&(H(e.toastId)||X(e.toastId))?e.toastId:Te()}function q(e,a){return ke(e,a),a.toastId}function te(e,a){return{...a,type:a&&a.type||e,toastId:dt(a)}}function ae(e){return(a,o)=>q(a,te(e,o))}function T(e,a){return q(e,te("default",a))}T.loading=(e,a)=>q(e,te("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...a}));function ft(e,{pending:a,error:o,success:r},l){let n;a&&(n=H(a)?T.loading(a,l):T.loading(a.render,{...l,...a}));let c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},f=(h,A,k)=>{if(A==null){T.dismiss(n);return}let C={type:h,...c,...l,data:k},p=H(A)?{render:A}:A;return n?T.update(n,{...C,...p}):T(p.render,{...C,...p}),k},m=O(e)?e():e;return m.then(h=>f("success",r,h)).catch(h=>f("error",o,h)),m}T.promise=ft;T.success=ae("success");T.info=ae("info");T.error=ae("error");T.warning=ae("warning");T.warn=T.warning;T.dark=(e,a)=>q(e,te("default",{theme:"dark",...a}));function mt(e){rt(e)}T.dismiss=mt;T.clearWaitingQueue=nt;T.isActive=Ne;T.update=(e,a={})=>{let o=ot(e,a);if(o){let{props:r,content:l}=o,n={delay:100,...r,...a,toastId:a.toastId||e,updateId:Te()};n.toastId!==e&&(n.staleId=e);let c=n.render||l;delete n.render,q(c,n)}};T.done=e=>{T.update(e,{progress:1})};T.onChange=ct;T.play=e=>Ie(!0,e);T.pause=e=>Ie(!1,e);function ut(e){var a;let{subscribe:o,getSnapshot:r,setProps:l}=i.useRef(it(e)).current;l(e);let n=(a=i.useSyncExternalStore(o,r,r))==null?void 0:a.slice();function c(f){if(!n)return[];let m=new Map;return e.newestOnTop&&n.reverse(),n.forEach(h=>{let{position:A}=h.props;m.has(A)||m.set(A,[]),m.get(A).push(h)}),Array.from(m,h=>f(h[0],h[1]))}return{getToastToRender:c,isToastActive:Ne,count:n?.length}}function ht(e){let[a,o]=i.useState(!1),[r,l]=i.useState(!1),n=i.useRef(null),c=i.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:f,pauseOnHover:m,closeToast:h,onClick:A,closeOnClick:k}=e;lt({id:e.toastId,containerId:e.containerId,fn:o}),i.useEffect(()=>{if(e.pauseOnFocusLoss)return C(),()=>{p()}},[e.pauseOnFocusLoss]);function C(){document.hasFocus()||w(),window.addEventListener("focus",x),window.addEventListener("blur",w)}function p(){window.removeEventListener("focus",x),window.removeEventListener("blur",w)}function _(v){if(e.draggable===!0||e.draggable===v.pointerType){d();let j=n.current;c.canCloseOnClick=!0,c.canDrag=!0,j.style.transition="none",e.draggableDirection==="x"?(c.start=v.clientX,c.removalDistance=j.offsetWidth*(e.draggablePercent/100)):(c.start=v.clientY,c.removalDistance=j.offsetHeight*(e.draggablePercent===80?e.draggablePercent*1.5:e.draggablePercent)/100)}}function g(v){let{top:j,bottom:S,left:R,right:L}=n.current.getBoundingClientRect();v.nativeEvent.type!=="touchend"&&e.pauseOnHover&&v.clientX>=R&&v.clientX<=L&&v.clientY>=j&&v.clientY<=S?w():x()}function x(){o(!0)}function w(){o(!1)}function d(){c.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",I)}function u(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",I)}function y(v){let j=n.current;if(c.canDrag&&j){c.didMove=!0,a&&w(),e.draggableDirection==="x"?c.delta=v.clientX-c.start:c.delta=v.clientY-c.start,c.start!==v.clientX&&(c.canCloseOnClick=!1);let S=e.draggableDirection==="x"?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`;j.style.transform=`translate3d(${S},0)`,j.style.opacity=`${1-Math.abs(c.delta/c.removalDistance)}`}}function I(){u();let v=n.current;if(c.canDrag&&c.didMove&&v){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance){l(!0),e.closeToast(!0),e.collapseAll();return}v.style.transition="transform 0.2s, opacity 0.2s",v.style.removeProperty("transform"),v.style.removeProperty("opacity")}}let N={onPointerDown:_,onPointerUp:g};return f&&m&&(N.onMouseEnter=w,e.stacked||(N.onMouseLeave=x)),k&&(N.onClick=v=>{A&&A(v),c.canCloseOnClick&&h(!0)}),{playToast:x,pauseToast:w,isRunning:a,preventExitTransition:r,toastRef:n,eventHandlers:N}}var pt=typeof window<"u"?i.useLayoutEffect:i.useEffect,se=({theme:e,type:a,isLoading:o,...r})=>i.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${a})`,...r});function gt(e){return i.createElement(se,{...e},i.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function xt(e){return i.createElement(se,{...e},i.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function vt(e){return i.createElement(se,{...e},i.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function yt(e){return i.createElement(se,{...e},i.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function bt(){return i.createElement("div",{className:"Toastify__spinner"})}var fe={info:xt,warning:gt,success:vt,error:yt,spinner:bt},At=e=>e in fe;function wt({theme:e,type:a,isLoading:o,icon:r}){let l=null,n={theme:e,type:a};return r===!1||(O(r)?l=r({...n,isLoading:o}):i.isValidElement(r)?l=i.cloneElement(r,n):o?l=fe.spinner():At(a)&&(l=fe[a](n))),l}var _t=e=>{let{isRunning:a,preventExitTransition:o,toastRef:r,eventHandlers:l,playToast:n}=ht(e),{closeButton:c,children:f,autoClose:m,onClick:h,type:A,hideProgressBar:k,closeToast:C,transition:p,position:_,className:g,style:x,progressClassName:w,updateId:d,role:u,progress:y,rtl:I,toastId:N,deleteToast:v,isIn:j,isLoading:S,closeOnClick:R,theme:L,ariaLabel:B}=e,U=Q("Toastify__toast",`Toastify__toast-theme--${L}`,`Toastify__toast--${A}`,{"Toastify__toast--rtl":I},{"Toastify__toast--close-on-click":R}),re=O(g)?g({rtl:I,position:_,type:A,defaultClassName:U}):Q(U,g),V=wt(e),W=!!y||!m,J={closeToast:C,type:A,theme:L},D=null;return c===!1||(O(c)?D=c(J):i.isValidElement(c)?D=i.cloneElement(c,J):D=qe(J)),i.createElement(p,{isIn:j,done:v,position:_,preventExitTransition:o,nodeRef:r,playToast:n},i.createElement("div",{id:N,tabIndex:0,onClick:h,"data-in":j,className:re,...l,style:x,ref:r,...j&&{role:u,"aria-label":B}},V!=null&&i.createElement("div",{className:Q("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!S})},V),_e(f,e,!a),D,!e.customProgressBar&&i.createElement($e,{...d&&!W?{key:`p-${d}`}:{},rtl:I,theme:L,delay:m,isRunning:a,isIn:j,closeToast:C,hide:k,type:A,className:w,controlledProgress:W,progress:y||0})))},Tt=(e,a=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:a}),jt=Xe(Tt("bounce",!0)),Nt={position:"top-right",transition:jt,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&e.code==="KeyT"};function kt(e){let a={...Nt,...e},o=e.stacked,[r,l]=i.useState(!0),n=i.useRef(null),{getToastToRender:c,isToastActive:f,count:m}=ut(a),{className:h,style:A,rtl:k,containerId:C,hotKeys:p}=a;function _(x){let w=Q("Toastify__toast-container",`Toastify__toast-container--${x}`,{"Toastify__toast-container--rtl":k});return O(h)?h({position:x,rtl:k,defaultClassName:w}):Q(w,ie(h))}function g(){o&&(l(!0),T.play())}return pt(()=>{var x;if(o){let w=n.current.querySelectorAll('[data-in="true"]'),d=12,u=(x=a.position)==null?void 0:x.includes("top"),y=0,I=0;Array.from(w).reverse().forEach((N,v)=>{let j=N;j.classList.add("Toastify__toast--stacked"),v>0&&(j.dataset.collapsed=`${r}`),j.dataset.pos||(j.dataset.pos=u?"top":"bot");let S=y*(r?.2:1)+(r?0:d*v);j.style.setProperty("--y",`${u?S:S*-1}px`),j.style.setProperty("--g",`${d}`),j.style.setProperty("--s",`${1-(r?I:0)}`),y+=j.offsetHeight,I+=.025})}},[r,m,o]),i.useEffect(()=>{function x(w){var d;let u=n.current;p(w)&&((d=u.querySelector('[tabIndex="0"]'))==null||d.focus(),l(!1),T.pause()),w.key==="Escape"&&(document.activeElement===u||u!=null&&u.contains(document.activeElement))&&(l(!0),T.play())}return document.addEventListener("keydown",x),()=>{document.removeEventListener("keydown",x)}},[p]),i.createElement("section",{ref:n,className:"Toastify",id:C,onMouseEnter:()=>{o&&(l(!1),T.pause())},onMouseLeave:g,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":a["aria-label"]},c((x,w)=>{let d=w.length?{...A}:{...A,pointerEvents:"none"};return i.createElement("div",{tabIndex:-1,className:_(x),"data-stacked":o,style:d,key:`c-${x}`},w.map(({content:u,props:y})=>i.createElement(_t,{...y,stacked:o,collapseAll:g,isIn:f(y.toastId,y.containerId),key:`t-${y.key}`},u)))}))}function ue(e){const[a,o]=i.useState(!0),r=()=>{e.onClick()},l=i.useRef(null),n=()=>{l.current.select(),document.execCommand("copy"),T.success("URL copied to clipboard!")};return t.jsx("div",{children:a&&t.jsx("div",{className:" popup-overlay",children:t.jsxs("div",{className:"shareSection col-12 d-flex position-relative flex-column mx-auto justify-content-center col-5 col-lg-6 d-flex gap-4",children:[t.jsx("div",{className:"end-0 top-0 position-absolute ",children:t.jsx("img",{src:K,alt:"close",className:"closeIcon_c me-2",onClick:r})}),t.jsx("div",{className:"popUpHeader col-lg-12 d-flex justify-content-center mb-2",children:"Jetzt teilen und weitersagen!"}),t.jsxs("div",{className:"h-25 col-lg-12 socialMediaIconsSection d-flex flex-row align-items-center justify-content-center mx-auto",children:[t.jsx("a",{href:"https://twitter.com/intent/tweet?url=https://www.nestiq.de&text=Nestiq",className:"text-decoration-none",target:"blank",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:Fe,alt:"twitter",className:"socialMediaIcons"}),t.jsx("span",{className:"socialMediaIconText",children:"X (Twitter)"})]})}),t.jsx("a",{href:"https://www.facebook.com/sharer/sharer.php?u=https://www.nestiq.de",className:"text-decoration-none",target:"blank",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:Ve,alt:"facebook",className:"socialMediaIcons "}),t.jsx("span",{className:"socialMediaIconText",children:"Facebook"})]})}),t.jsx("a",{href:"https://api.whatsapp.com/send?text=https://www.nestiq.de",target:"blank",className:"text-decoration-none",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:We,alt:"whatsapp",className:" socialMediaIcons"}),t.jsx("span",{className:"socialMediaIconText",children:"WhatsApp"})]})}),t.jsx("a",{href:"https://www.linkedin.com/shareArticle?mini=true&url=https://www.nestiq.de",target:"blank",className:"text-decoration-none",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:Je,alt:"linkedin",className:" socialMediaIcons"}),t.jsx("span",{className:"socialMediaIconText",children:"LinkedIn"})]})}),t.jsx("a",{href:"https://www.nestiq.de",target:"blank",className:"text-decoration-none",children:t.jsxs("div",{className:" flex-column d-flex align-items-center",children:[t.jsx("img",{src:He,alt:"email",className:" socialMediaIcons"}),t.jsx("span",{className:"socialMediaIconText",children:"E-Mail"})]})})]}),t.jsx("div",{className:"col-10 mx-auto",children:t.jsxs("div",{className:" row align-items-center position-relative",children:[t.jsx("input",{ref:l,type:"text",className:"popup_search-input rounded-4 border border-0 ",placeholder:"Enter link here",value:window.location.href,readOnly:!0}),t.jsx("button",{onClick:n,className:"popupcustom-button border border-0 position-absolute me-2 col-lg-3 col-md-3 col-sm-3 rounded-4 fs-6",type:"button",id:"button",children:t.jsx("strong",{children:"Kopieren"})})]})})]})})})}function oe(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function he(e){return typeof e=="number"||typeof e=="string"?e.toString().replace(".",",").replace(/\B(?=(\d{3})+(?!\d))/g,"."):e}function It(e){const[a,o]=i.useState(!1);e.property?.propertyArea;const r=()=>o(!0),l=()=>o(!1),n={kaufpreis:e.translations?.kaufpreis||"Kaufpreis",wohnflache:e.translations?.wohnflache||"Wohnfläche",zimmer:e.translations?.zimmer||"Zimmer",grundriss:e.translations?.grundriss||"Grundriss"};return t.jsxs("div",{className:"compact_cc d-flex flex-column col-12 col-lg-12 mt-3 justify-content-between",children:[t.jsxs("div",{className:"col-12 d-flex flex-row",children:[t.jsx("div",{className:"header_Text d-flex col-lg-11 col-md-11 mt-0",children:t.jsx("strong",{children:e.title??"-"})}),t.jsx("div",{className:"d-flex col-lg-1 col-md-1 justify-content-end position-relative",children:t.jsx("img",{src:Ae,alt:"share icon",className:"v_share me-3 position-absolute",onClick:r})})]}),t.jsxs("div",{className:"d-flex flex-row justify-content-between",children:[t.jsx("div",{className:"col-6 d-flex flex-row align-items-end jsutify-content-start gap-1",children:t.jsxs("div",{className:"d-flex gap-1 justify-content-center",children:[t.jsx("div",{className:"d-flex gap-2 align-items-center",children:t.jsx("img",{src:Qe,className:"",alt:"location Icon"})}),t.jsx("div",{className:"textWrapper",children:e.property?.fullAddress})]})}),t.jsxs("div",{className:"d-flex align-items-end gap-3 justify-content-end flex-row col-lg-6 col-md-6 col-sm-5",children:[e&&t.jsxs("div",{className:"propText h-100 d-flex flex-column align-items-center justify-content-center",children:[t.jsxs("span",{className:"propValue",children:[oe(e.property?.askingPrice??0),"€ ",t.jsx("br",{})]}),t.jsx("span",{className:"textWrapper",children:n.kaufpreis})]}),e&&t.jsxs("div",{className:"propText h-100 d-flex flex-column align-items-center justify-content-center",children:[t.jsxs("span",{className:"propValue",children:[he(e.property?.constructedArea??0)," m²",t.jsx("br",{})]}),t.jsx("span",{className:"textWrapper",children:n.wohnflache})]}),e&&t.jsxs("div",{className:"propText h-100 d-flex flex-column align-items-center justify-content-center",children:[t.jsx("span",{className:"propValue",children:e.property.rooms}),t.jsx("span",{className:"textWrapper",children:n.zimmer})]})]})]}),a&&t.jsx(ue,{onClick:()=>l()})]})}const Ct="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%23fff'%20class='bi%20bi-chevron-right'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20d='M4.646%201.646a.5.5%200%200%201%20.708%200l6%206a.5.5%200%200%201%200%20.708l-6%206a.5.5%200%200%201-.708-.708L10.293%208%204.646%202.354a.5.5%200%200%201%200-.708'/%3e%3c/svg%3e",Ce="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-chevron-right'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20d='M4.646%201.646a.5.5%200%200%201%20.708%200l6%206a.5.5%200%200%201%200%20.708l-6%206a.5.5%200%200%201-.708-.708L10.293%208%204.646%202.354a.5.5%200%200%201%200-.708'/%3e%3c/svg%3e",Ee="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='currentColor'%20class='bi%20bi-chevron-left'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20d='M11.354%201.646a.5.5%200%200%201%200%20.708L5.707%208l5.647%205.646a.5.5%200%200%201-.708.708l-6-6a.5.5%200%200%201%200-.708l6-6a.5.5%200%200%201%20.708%200'/%3e%3c/svg%3e",Et="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%23fff'%20class='bi%20bi-chevron-left'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20d='M11.354%201.646a.5.5%200%200%201%200%20.708L5.707%208l5.647%205.646a.5.5%200%200%201-.708.708l-6-6a.5.5%200%200%201%200-.708l6-6a.5.5%200%200%201%20.708%200'/%3e%3c/svg%3e",zt="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.242%201.29H4.297a1.76%201.76%200%200%200-1.758%201.757v.742h-.781A1.76%201.76%200%200%200%200%205.547v11.406c0%20.97.789%201.758%201.758%201.758h13.945a1.76%201.76%200%200%200%201.758-1.758v-.742h.781A1.76%201.76%200%200%200%2020%2014.453V3.047a1.76%201.76%200%200%200-1.758-1.758zM4.297%202.46h13.945c.323%200%20.586.264.586.587v5.508l-3.49-2.47a.586.586%200%200%200-.724.037L10%2010.159l-2.114-1.85a.586.586%200%200%200-.748-.02l-3.427%202.693V3.047c0-.323.263-.586.586-.586zm11.992%2014.493a.587.587%200%200%201-.586.586H1.758a.587.587%200%200%201-.586-.586V5.547c0-.323.263-.586.586-.586h.781v9.492c0%20.97.789%201.758%201.758%201.758h11.992v.742zm1.953-1.914H4.297a.587.587%200%200%201-.586-.586v-1.98L7.48%209.51l2.134%201.868c.221.193.55.193.772%200l4.652-4.071%203.79%202.683v4.462a.587.587%200%200%201-.586.586z'%20fill='%23fff'/%3e%3cpath%20d='M10%207.46a1.838%201.838%200%200%200%201.836-1.835A1.838%201.838%200%200%200%2010%203.789a1.838%201.838%200%200%200-1.836%201.836c0%201.012.824%201.836%201.836%201.836zm0-2.5a.665.665%200%201%201-.001%201.33A.665.665%200%200%201%2010%204.96z'%20fill='%23fff'/%3e%3c/svg%3e",Mt="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23bq66l33lna)'%3e%3cpath%20d='M19.286%200a.715.715%200%200%200-.32.075l-5.413%202.707-6.12-2.72C7.423.058%207.41.057%207.4.052a.741.741%200%200%200-.17-.044%201.063%201.063%200%200%200-.175%200%20.742.742%200%200%200-.171.044c-.01.005-.022.005-.032.01L.424%202.919A.714.714%200%200%200%200%203.572v15.714a.714.714%200%200%200%201.004.653l6.139-2.729%206.138%202.729c.01.004.022%200%20.033.006a.63.63%200%200%200%20.54-.012c.012-.005.025%200%20.036-.008l5.715-2.857a.714.714%200%200%200%20.395-.64V.716A.714.714%200%200%200%2019.286%200zM6.428%2015.964l-5%202.222V4.036l5-2.222v14.15zm6.429%202.222-5-2.222V1.814l5%202.222v14.15zm5.714-2.199-4.286%202.143V4.013l4.286-2.143v14.117z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='bq66l33lna'%3e%3cpath%20fill='%23fff'%20d='M0%200h20v20H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ze="data:image/svg+xml,%3csvg%20width='22'%20height='20'%20viewBox='0%200%2022%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m21.354%205.808-10-5.714a.714.714%200%200%200-.709%200l-10%205.714a.714.714%200%200%200%20.017%201.25l10%205.357a.714.714%200%200%200%20.675%200l10-5.357a.714.714%200%200%200%20.017-1.25zM11%2010.975%202.475%206.408%2011%201.537l8.525%204.871L11%2010.975z'%20fill='%23fff'/%3e%3cpath%20d='m11.34%2016.162%209.656-5.31V9.22l-10%205.5-10-5.5v1.63l9.656%205.31a.715.715%200%200%200%20.688%200z'%20fill='%23fff'/%3e%3cpath%20d='m.996%2014.762%209.664%205.154a.714.714%200%200%200%20.672%200l9.664-5.154v-1.62l-10%205.334-10-5.333v1.619z'%20fill='%23fff'/%3e%3c/svg%3e",Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTP///////////////////////////////////////////////////////////////////////308lk0AAAASdFJOUwAUewieGb7PD9mvXxrH74slIK+eL1kAAAC1SURBVDjLhZPZDoQgEARbRE6vnf//2MWsrigN8AKhKmQYGiAaq8CGU0Z/gChphLHkk09g3bEcgpiRcpENv7kw5nM/QAkzLi4Rzp7LxRXni+ij2NJ4cGK8eGZYR/nLIPxhUJ4bnGdGhb8NzR7PtnlucH7f7+xHnSdjaHNmPHlp3P2z1Mj6+7+LH3r58FMvH5dRz4efe/k4jHY+UqW6nY+ATj5WrO18eGztfKSPH03g339UJkR8AdmUH0nsMIanAAAAAElFTkSuQmCC";function me(e){const[a,o]=i.useState(!0),[r,l]=i.useState(0),n=i.useRef(null),c=m=>{if(e.pictureUrls.length===0)return;let h=r;m==="left"?h=(r-1+e.pictureUrls.length)%e.pictureUrls.length:m==="right"&&(h=(r+1)%e.pictureUrls.length),l(h),n.current.scrollTo({left:h*150,behavior:"smooth"})},f=()=>{e.onClose&&e.onClose()};return t.jsx("div",{children:a&&t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:" d-flex flex-column ",children:[t.jsx("div",{className:"d-flex align-self-end me-5 ",children:t.jsx("img",{src:Me,alt:"close",className:"closeIconNestiq",onClick:f})}),t.jsx("span",{className:"text-white align-self-center imageTitlePopup",children:e.pictureUrls[r].title}),t.jsxs("div",{className:"d-flex justify-content-center",children:[t.jsx("div",{className:"p-2 bd-highlight align-self-center align-items-center me-5",children:t.jsx("div",{className:"rounded-circle border onImageArrow d-flex justify-content-center",role:"button",onClick:()=>c("left"),children:t.jsx("img",{src:Ee,className:"blackArrow align-self-center",alt:"Left Arrow"})})}),t.jsx("div",{className:"p-2 bd-highlight",children:t.jsx("div",{className:"mainImageListPopUp rounded-5",style:{backgroundImage:`url(${e.pictureUrls[r].url})`}})}),t.jsxs("div",{className:"p-2 bd-highlight align-self-center ms-5",children:[" ",t.jsx("div",{role:"button",className:"rounded-circle border onImageArrow d-flex justify-content-center",onClick:()=>c("right"),children:t.jsx("img",{src:Ce,className:"blackArrow align-self-center",alt:"Right Arrow"})})]})]}),t.jsx("div",{className:"d-flex flex-row"}),t.jsx("div",{className:"d-flex flex-row justify-content-center w-100 mt-5 imageListBottom",children:t.jsx("div",{className:"d-flex flex-row gap-4 overflow-auto px-3",ref:n,style:{maxWidth:"100%",scrollbarWidth:"thin"},children:e.pictureUrls.length>0&&t.jsx(t.Fragment,{children:e.pictureUrls.map((m,h)=>t.jsx("div",{className:`flex-shrink-0 activeStyle ${h===r?"active":""}`,onClick:()=>{l(h),n.current.scrollTo({left:h*170,behavior:"smooth"})},role:"button",style:{cursor:"pointer",width:"150px",height:"150px"},children:t.jsx("img",{src:m.url,alt:`Image ${h+1}`,className:"w-100 h-100 rounded-3 object-fit-cover",style:{display:"block"}})},h))})})})]})})})}function St(e){const[a,o]=i.useState(0),[r,l]=i.useState(!1),[n,c]=i.useState(!1),f=i.useRef(null),m=_=>{e.pictureUrls.length&&o(g=>{let x;return _==="left"?x=(g-1+e.pictureUrls.length)%e.pictureUrls.length:x=(g+1)%e.pictureUrls.length,f.current&&f.current.scrollTo({left:x*150,behavior:"smooth"}),x||0})},h=e.property.pictures?.filter(_=>_.pictureType?.id===2).map((_,g)=>({url:e.baseUrl+_.contentUrl,title:`Photo ${g+1}`}))||[],A=e.property.pictures?.filter(_=>_.pictureType?.id===1).map((_,g)=>({url:e.baseUrl+_.contentUrl,title:`Floor Plan ${g+1}`}))||[],k=()=>{l(!r)},C=()=>{c(!0)},p={allPhotos:e.translations?.allPhotos||"Alle Fotos",map:e.translations?.map||"Karte",grundriss:e.translations?.grundriss||"Grundriss"};return t.jsxs("div",{className:"col-8 Pimagelist ",children:[t.jsxs("div",{className:"col-12 rounded-5 mainImage d-flex position-relative align-items-center",style:{backgroundImage:`url(${e.pictureUrls[a]?.url})`,backgroundSize:"cover",backgroundPosition:"center"},children:[t.jsx("div",{className:"rounded-circle border onImageArrow d-flex position-absolute start-0 ms-2 align-items-center justify-content-center",role:"button",onClick:()=>m("left"),children:t.jsx("img",{src:Ee,className:"blackArrow",alt:"Left Arrow"})}),t.jsx("div",{role:"button",className:"rounded-circle border onImageArrow d-flex position-absolute end-0 me-2 align-items-center justify-content-center",onClick:()=>m("right"),children:t.jsx("img",{src:Ce,className:"blackArrow",alt:"Right Arrow"})})]}),t.jsx("div",{className:"d-none d-md-block",children:t.jsxs("div",{className:"mt-1 d-flex flex-row gap-1 col-12 secondList",children:[t.jsx("div",{className:" col-lg-6 col-6 d-flex flex-row py-0 px-1",children:t.jsxs("div",{className:" col-12 position-relative d-flex justify-content-center",children:[t.jsx("div",{className:"col-1 h-100 d-flex position-absolute start-0",onClick:()=>m("left"),role:"button",children:t.jsx("div",{className:"col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:t.jsx("img",{src:Et,className:"arroIconColour",alt:"Left Arrow"})})}),t.jsx("div",{className:"col-lg-10 rounded-3 h-100 d-flex flex-row gap-2 overflow-hidden",ref:f,children:e.pictureUrls.length>0&&t.jsx("div",{className:"col-lg-5 h-100 d-flex gap-2 flex-row rounded-3",children:e.pictureUrls.map((_,g)=>t.jsx("div",{className:`col-lg-12 h-100 d-flex image-thumbnail ${g===a?"selected":"greyed-out"} ${g===0?"ms-1":g===e.pictureUrls.length-1?"me-1":""}`,onClick:()=>{o(g),f.current.scrollTo({left:g*150,behavior:"smooth"})},role:"button",children:t.jsx("img",{src:_.url,alt:`Image ${g+1}`,className:"col-12 h-100 rounded-3 object-fit-cover"})},g))})}),t.jsx("div",{className:"col-1 h-100 d-flex position-absolute end-0 top-0",onClick:()=>m("right"),role:"button",children:t.jsx("div",{className:"col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:t.jsx("img",{src:Ct,className:"arroIconColour ",alt:"Right Arrow"})})})]})}),t.jsxs("div",{className:"col-7 col-lg-6 d-flex flex-row",children:[t.jsx("div",{className:"col-lg-4 col-4 py-0 px-1",role:"button",onClick:k,children:t.jsxs("div",{className:"border col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:[t.jsx("img",{src:zt,alt:"Gallery Icon"}),t.jsxs("span",{className:"listImgText",children:[" ",p.allPhotos]})]})}),t.jsx("div",{className:"col-lg-4 col-3 py-0 px-1",role:"button",onClick:C,children:t.jsxs("div",{className:"border col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:[t.jsx("img",{src:ze,alt:"Layers Icon"}),t.jsx("span",{className:"listImgText",children:p.grundriss})]})}),t.jsx("div",{className:"col-lg-4 col-3 py-0 px-1",role:"button",onClick:()=>window.scrollTo({top:document.documentElement.scrollHeight}),children:t.jsxs("div",{className:"border col-lg-12 h-100 d-flex flex-column listImageButton border-0 rounded-3",children:[t.jsx("img",{src:Mt,alt:"Map Icon"}),t.jsx("span",{className:"listImgText",children:p.map})]})})]})]})}),r&&t.jsx(me,{pictureUrls:h,onClose:()=>l(!1)}),n&&t.jsx(me,{pictureUrls:A,onClose:()=>c(!1)})]})}const Pt="data:image/svg+xml,%3csvg%20width='18'%20height='17'%20viewBox='0%200%2018%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m16.855%205.147-8-4.572a.571.571%200%200%200-.567%200l-8%204.572a.571.571%200%200%200%20.014%201l8%204.285a.571.571%200%200%200%20.54%200l8-4.285a.571.571%200%200%200%20.013-1zM8.572%209.28l-6.82-3.653%206.82-3.897%206.82%203.897-6.82%203.653z'%20fill='%23031012'/%3e%3cpath%20d='M8.846%2013.43%2016.57%209.18V7.877l-8%204.4-8-4.4V9.18l7.725%204.249a.572.572%200%200%200%20.55%200z'%20fill='%23031012'/%3e%3cpath%20d='m.57%2012.309%207.731%204.123a.572.572%200%200%200%20.538%200l7.731-4.123v-1.295l-8%204.266-8-4.266v1.295z'%20fill='%23031012'/%3e%3c/svg%3e",Se="data:image/svg+xml,%3csvg%20width='12'%20height='18'%20viewBox='0%200%2012%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%204.725a2.208%202.208%200%201%200%20.001%204.416%202.208%202.208%200%200%200%200-4.416zm0%203.312a1.104%201.104%200%201%201%20.001-2.208%201.104%201.104%200%200%201%200%202.208z'%20fill='%23344041'/%3e%3cpath%20d='M10.243%202.687a6%206%200%200%200-9.27%207.518l4.17%206.403a1.022%201.022%200%200%200%201.713%200l4.171-6.404a6%206%200%200%200-.784-7.517zm-.14%206.915L6%2015.9%201.897%209.602a4.919%204.919%200%200%201%20.64-6.135%204.896%204.896%200%200%201%206.925%200%204.919%204.919%200%200%201%20.64%206.135z'%20fill='%23344041'/%3e%3c/svg%3e",Pe="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBw8NDw8NDQ0NDQ0NDQ0NDQ0ODQ8NDQ0NFREWFhURFRYYHSggGBolGxUVITEtJSkrLi4uFx8zODMsNygtLisBCgoKBQUFDgUFDisZExkrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrK//AABEIAKsBJwMBIgACEQEDEQH/xAAaAAEAAwEBAQAAAAAAAAAAAAACAAEDBQQG/8QAPxABAAIBAQMJBQUFCAMBAAAAAQACAxEEITEFEiIyQVFhcXITUpGx0TNTgaHBFBVCkrIWI1Ric5Oi4YLC8Ab/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A6xESiIgWEQSiMgWEQSiMgWEQSgjCBAiCQIwgUEQSwiCBQRBLCIIBCWEQSwgHSXpFpL0gDSTSPmyaQM9JSTTSUkDNJSTRIUgZpCk1SFIGSQpNUgSBmkCTVIEgZpCk0SBIGaQpNEhSBmkKRsLADJLZIFkRKIiAiIlERAREEoIwgXWMJQRhAgRhKCMIECMJAiCBAiCQIggUEQSwi0gHSTSMJNIA0k0j0k0gZ6SkmqQpAz0hSapCkDNIEmqQpAySFJokKQMkgSapAkDNIEmqQJAyYWaMDAzYWaMDADJLZIFkRKIiAiMhIyAiMhIwgIIiURhAsIyUEYQLCIJAiCBYRBIEQQIEWkgRBArSWVlu4VQDeruAnI2/lXXWmHUODk/iTw7iB0zJRt7MvXnm/m6/l5xaT5bm205+iGu62/TneffOtsPKvCmfV7DJ2nq74HTSFJppwREd4m8SUkDNIUlbWXcdvZWK33Oqh0TjveE5XO2n/E0/3qQOokCTmN9p/wATT/fpOniLcyvPS1+b0k0dWALEKTRIUgZMCTVIGBkwM0YGBmwM1SZsAMDNGBgBkkZcCEZCRkBEZARkBkZCRkBE0CCsdYCCMIQmgQLCMJQRkCwiCQiqQLCZ7TtFMJzrvpqda0823cpVxa1ppfJ2vGlPqzkUrkz3eN7O9su4O9ewgPbdtvnd+6uvRocP+2OuzVxHOz9Z31wnWfG3cS/aUwbsel8vblTWtfQfrPJZV1VV3q71YHq/eN9d5Vxpp7LTTHzfA7HxlZNlrkG+DVDfbE/aU8TvJ5dIqWapaqiO5IG+xbffDuOlTto8Pw7md3Z89MtedjddONXrV85xufjz9fTFm7L6aY8j/m7mea1cmC/bS52//cSB9DtJ/d5P9LJ/Sz5PSfQYOUa5qWx20pltjvWvZS6iHkzh5cdqLWw1TiMDFJ9RQ6NfRX5T5ln1FOrX0V+UAJAk0YEgZpAk0sQMDNJmk1ZnaBmwsbAwM2G0bAwAyS2SBKxkBGQGRkBGQGRkNYyA6x1grHWAyaEBGQGRhAQ7TtNMJrffZ4UOs/QgbqA2slanFeE5G3cqt9aYta04Nv4rfQnk2nasmexrrx0rSvA/7mxhpg35NL5ezFr0av8Anf0gDZ9k1PaZLezxe9pra3hU7ZebatT2eOvs8fdxtbxs9syzZrZHnXdXsOAHcHZAQLCXpPVyfsNs7Yq1rzTV11nu/s/k+8p8LfSBx5J1K8jXb2x8+mtCtl36PO1+k0/s/k+8p+f0gcVJ6cO1bvZ5T2mPs9+njVh2vA4r2xqLXTVOG8H9ZgkDbaNkanPo+0xe8cavdY7GXTai4UzjapurkPtMf1PCZ4M9sbrV48TjWx3J2ze2Gmbfi0pk42wrufQ/pA821bK0OcJfHbq5K9V8PBn0NOrX0U+RPnsOe+JTTUd18djo28Enc2Ta6ZjodGwA43ieXeQGkFppaBgZ2gY2C0DNgZpaZsAMzZowMAWgtGwMAMkjJAhGQEZAZGQEZA0IyCsZAdZpWZ1jrA0JpQ14TJsVG1krU4r+nezlbbyk5OhTWmP4Wt5wPdtnKZj6OLS1+23GtfLvZzcOG+ayrr7+Sz0TzZeHZSoZMy0qmtaHXv5HYeMmfaW5zQKY69XHXh5vewNrbRXEc3Bxd1sydJ8K9xPKQkZAsiIQjIHU5Az0x2u3sV1qace+dr95Yfva/BnK/wDzfXyek+c78Dm4tuxGbLZyHNtTEDv36a6z0PKWH7w+DKw/b5vRh/8AaeuB8jyrkL5r2q61Wuj/AOJPGz38s/b5POv9JPCwAytfPdwiSFgeoz1ynNzbrcK5jj5WO0nnz4b4bD+NL1ei+IzNm2DaWhzLBfG8aW4eZ3MD3bHyoW6ObdbgZOx8577H1HsTwnCzbKI5MLz6HWr/AB4/M7STYuUbYujbp4/dXeemB2bTO0VMlbnOo847e+vgkNoAYGO0zYAYGNgYAYGNgYAZJGSBCMgIyAyMmZGQNCMgIyBpWMmdYyANt2X21TR0vTqb9z4THHsJgx2yW0tkqCDvpV1Piz2VYds+xyek/qIHDve11tZWzxWQkCMIECIJAiCBAlksJYQNtm2m+JWjopo7hno/euf7z8qzxaS9IHpryjlLNy/SsAuhwOEX71z/AHn/ABJ5NJIF58lr2b2dbPFmSR6SkgBgSaJKSBmwJNGFIBx5LUS1VrY4JOttfJ1cgWppTJatVOFLKflOTYn0J1a+inygYbNs9cNebXfZ69u/wPCJiswMAMDGwMAMDEwMA2gtFaC0AskjJAojICIgaEZMyMgaEYzMjIGgxkzrGQNawbX9lk9J8yWMO0/Z39J8yByAm+zbLbLrzDXQ37wmYTpcjOjfyPnAyOS8vun8xKxcn5LGpU01TrHEdJ3DId58SZbDcKcTr37T3mBysnJ+Sg2sGhvekM8+k7+22HFc1OHed84YQDpLnrwXaY7NdNefU3g7tHvlfteTvP5K/SB5ZNJ6v2vJ3n8lfpJ+15O8/kr9IHkSUz2ba68xeLjqugGrqzzJA1ryflsCVEd46nCC+wZK6a16zzTeb2dzZbhjpvN1Tt8JntVxcW8+0O3wYHIeTcvuf8qzy58NqPNsaPGfTOQ7z4zicrb8i8ejWBzkneOFfRX5TiJOzrur6a/KBTAxWgYBZmxrAwAwstgYBYWJgWAWXKZIFERAREDQjJmRkDQjJkRjA0GaDMiMYGgyZ+pfyPmQjLyvQt5frA54T3cm462bc6o7jTWeQJ6NnzNNUNdYHTNnx+5X4QbLgo130qvOt2dms85t1vdJWLa2ppocV+LA9e04KFLJQHTdocJy9J68m1thrzTfPOEDSv2VvXX5My0m1T+7fUfJmekA6StJppJpAW08Mf8Ap1+bMEnpznU9B+sxSB0sOCjSq0rrzTXdM8+Cg00pXffR3dmjMa7XYA0NxpBk2qzpuOi6/jA9rs+P3K/Ccvb6BfSoBocJu7bbuJ5s927q92kDzJOr2Hpr8pzknv13HkfKBSwMtYVgFgWWsLALAxMDApgYmBgUySmSBREQERA0IiAiGBoRkyGMYGgxjMhjGBoMu/Vt5frAMVncwMAiCQIggQIgkIggQJYSEvSA69V1941/OPOV0Obp46d0BwfMlaQDpJpFpKgLL/D6SZJNb9npINIASUkaQ6QAkKTRIUgZpPUvDyJ50mq/IgRYVkWBYEWBZbCwCwsthWAWFlsLApZJTJAoYhhJZAYxDAREBjGMzIiBoMYzIjIGgxPBmZF2QIREMsgMlkJLICIiAlwNDh+MqV2fjKgKVKkgKzw8oZduzyhgWwsjKgUwsUqAGNflCyMCLAstgYEWFZGGBSwrLYWBSwrLYWBTJKZIH//Z";function Lt(e){const[a,o]=i.useState(!1),r=e.property.pictures&&e.property.pictures.length>0?`${e.baseUrl}${e.property.pictures[0].contentUrl}`:Pe;return t.jsxs("div",{className:"card-body me-4 mb-4 position-relative cardStyle",style:{backgroundImage:`url(${r})`,backgroundSize:"cover",backgroundPosition:"center"},onClick:e.onClick,role:"button",children:[t.jsxs("div",{className:"labelTopClass position-absolute top-0 start-0 col-sm-5 col-lg-8",children:[t.jsxs("div",{className:"d-flex align-items-center ms-2 mb-1 mt-2 gap-2",children:[t.jsxs("label",{className:"p-1 firstLabel d-flex flex-row justify-content-center align-items-center",children:[t.jsx("img",{src:Pt,alt:"Location Icon",className:"layersVector"}),t.jsx("span",{className:"layersText",children:"Grundriss"})]}),e.property.historicalProtection&&t.jsx("label",{className:"thirdLabels d-flex flex-row justify-content-center align-items-center",children:t.jsx("span",{className:"layersText p-1",children:"Denkmalschutz"})}),e.property.basement&&t.jsx("label",{className:"secondLabel d-flex flex-row justify-content-center align-items-center",children:t.jsx("span",{className:"layersText p-1",children:"Keller"})})]}),t.jsxs("div",{className:"d-flex align-items-center ms-2 start-0 gap-2",children:[e.property.terrace&&t.jsx("label",{className:"p-1 thirdLabels d-flex flex-row justify-content-center align-items-center ",children:t.jsx("span",{className:"layersText",children:"Terrace"})}),e.property.balcony&&t.jsx("label",{className:"secondLabel d-flex flex-row justify-content-center align-items-center",children:t.jsx("span",{className:"layersText p-1",children:"Balkon"})}),e.property.guestBathroom&&t.jsx("label",{className:"col-1 fourthLabels d-flex flex-row justify-content-center align-items-center ",children:t.jsx("span",{className:"layersText p-1",children:"Gäste-WC"})})]})]}),t.jsx("div",{className:"d-flex align-items-center position-absolute top-0 end-0 p-3"}),t.jsx("div",{className:"d-flex align-items-center mb-3 position-absolute bottom-0 start-0 p-2",children:t.jsxs("span",{className:"Price col-lg-12 col-md-12 col-sm-12 text-truncate p-1",children:[oe(e.property?.evaluation?.askingPrice??0)," €"]})}),t.jsxs("div",{className:"d-flex w-50 align-items-center position-absolute bottom-0 start-0 p-2",children:[t.jsx("img",{src:Se,alt:"Location Icon",className:"Vector"}),t.jsx("span",{className:"locationText text-truncate",children:e.property.city||"N/A"})]}),t.jsxs("div",{className:"d-flex col-lg-6 col-md-6 col-sm-5 me-lg-0 me-md-0 me-sm-3 justify-content-center mb-2 position-absolute bottom-0 end-0",children:[t.jsxs("span",{className:"detail col-lg-4 col-md-4 col-sm-6 text-truncate border-end ",children:[+e.property.rooms,t.jsx("br",{}),t.jsx("span",{children:"Zimmer"})]}),t.jsxs("span",{className:"detail col-lg-3 col-md-3 col-sm-4 text-truncate ",children:[+e.property.bathrooms,t.jsx("br",{}),t.jsx("span",{children:"Bad"})]}),t.jsxs("span",{className:"detail col-lg-5 col-md-5 col-sm-7 text-truncate border-start me-3",children:[he(e.property?.constructedArea)," m²",t.jsx("br",{}),t.jsx("span",{children:"Wohnfläche"})]})]})]},e.property.id)}const Bt=({contentUrl:e,onCloseClick:a})=>{const[o,r]=i.useState(!1);i.useEffect(()=>{if(e){const n=e.split(".").pop()?.toLowerCase();(n==="png"||n==="jpg"||n==="jpeg"||n==="svg")&&r(!0)}},[e]);const l=()=>{const n=document.createElement("a");n.href=e,n.setAttribute("download",""),document.body.appendChild(n),n.click(),document.body.removeChild(n)};return t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:" d-flex w-50 flex-column col-6 ",children:[t.jsx("div",{className:"d-flex align-self-end me-5 mt-5",children:t.jsx("img",{src:Me,alt:"close",className:"closeIcon mt-5",onClick:a})}),t.jsx("div",{className:"d-flex justify-content-center",children:t.jsxs("div",{className:"p-2 bd-highlight",children:[o&&t.jsx("div",{className:"rounded-5 mainImage",style:{backgroundImage:`url(${e})`,height:"350px",width:"600px",backgroundSize:"cover",backgroundPosition:"center"}}),!o&&t.jsxs("div",{className:"text-white text-center",children:["No Preview Available",t.jsxs("button",{className:"btn btn-info",onClick:l,children:[" ","Download"," "]})]})]})})]})})},Rt="data:image/svg+xml,%3csvg%20width='4'%20height='20'%20viewBox='0%200%204%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23fxcoqj8dma)'%20fill='%23313131'%3e%3ccircle%20cx='2'%20cy='2'%20r='2'/%3e%3ccircle%20cx='2'%20cy='10'%20r='2'/%3e%3ccircle%20cx='2'%20cy='18'%20r='2'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='fxcoqj8dma'%3e%3cpath%20fill='%23fff'%20d='M0%200h4v20H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ot="data:image/svg+xml,%3csvg%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='50'%20height='50'%20rx='25'%20fill='%23fff'%20fill-opacity='.8'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M29.127%2017.18a.614.614%200%200%201%200%20.872L22.177%2025l6.95%206.948a.617.617%200%200%201-.871.872l-7.384-7.384a.616.616%200%200%201%200-.872l7.384-7.383a.616.616%200%200%201%20.871%200z'%20fill='%23000'/%3e%3c/svg%3e",Ut="data:image/svg+xml,%3csvg%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='50'%20height='50'%20rx='25'%20fill='%23fff'%20fill-opacity='.8'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.873%2032.82a.614.614%200%200%201%200-.872L27.823%2025l-6.95-6.948a.617.617%200%200%201%20.871-.872l7.384%207.384a.616.616%200%200%201%200%20.872l-7.384%207.383a.616.616%200%200%201-.871%200z'%20fill='%23000'/%3e%3c/svg%3e",Dt="data:image/svg+xml,%3csvg%20width='150'%20height='45'%20viewBox='0%200%20150%2045'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.324%2037.932s5.001-6.516%204.403-14.405c0%200%200-.705.598-.88.564-.282%202.254.352%202.959%202.183.07.14.176.67.246%201.092.141%201.127.282%203.733-.21%207.713%200%200%2016.094-1.233%2017.292.246%200%200%20.387.282.563.74.282.67.282%201.55-1.021%201.655%200%200-4.085-.176-7.678%201.339%200%200-5.67%202.395-9.157%202.958-.035%200-4.93%201.55-7.995-2.641z'%20fill='%23FDC500'/%3e%3cpath%20d='M18.738%2038.53s2.571-1.162%207.08-1.655c0%200%201.62-.176%201.655.845%200%200%20.07.423-.67.458l-8.065.352zM26.06%203.17S19.72.74%2013.451%208.065l-7.255%2010.53s-.74%201.48.176%201.938c0%200%201.374.67%202.607-.352l9.157-7.925s1.76-1.444%203.803.423c0%200%204.332%204.508%206.305%205.389%200%200%202.324.88%203.346-.282%200%200%20.704-.81-.634-1.867%200%200-2.889-2.712-3.91-5.67%200%20.035-.986-2.818-.986-7.08zM11.41%209.791l-2.713%204.015s-2.254%203.31-3.486%202.747c0%200-1.198-.563-.035-1.726l6.233-5.036z'%20fill='%23FDC500'/%3e%3cpath%20d='M23.21%2019.441v4.825l-1.126-.458-.423-.176h-.07v-1.726h-1.515v1.726h1.55l.282.176v.106h-3.91v-.106l.282-.176h1.515v-1.726h-1.48v1.726h-.035l-.422.176-1.163.458v-4.825l1.163.352.387.106.07.035v1.69h1.48V19.9H18.28l-.282-.106v-.14h3.91v.14l-.282.106h-1.55v1.726h1.515v-1.69l.07-.036.423-.106%201.127-.352z'%20fill='%23FDC500'/%3e%3cpath%20d='M42.016%2012.75h2.395v12.96h-2.395V12.75zM59.803%2025.71l-.036-8.558-4.261%207.08h-1.057l-4.261-6.974v8.452h-2.29V12.75h1.973l5.142%208.558%205.036-8.559h1.973l.035%2012.926h-2.254v.035zM77.447%2025.71l-.035-8.558-4.262%207.08h-1.056l-4.262-6.974v8.452h-2.289V12.75h1.972l5.142%208.558%205.037-8.559h1.972l.035%2012.926h-2.254v.035zM82.309%2019.23c0-3.839%202.958-6.657%206.973-6.657s6.974%202.818%206.974%206.657-2.959%206.657-6.974%206.657c-4.015%200-6.973-2.818-6.973-6.657zm11.481%200c0-2.642-1.937-4.543-4.543-4.543s-4.543%201.902-4.543%204.543%201.937%204.543%204.543%204.543%204.543-1.902%204.543-4.543zM108.546%2019.3h.916v4.825c-1.162%201.092-2.853%201.656-4.614%201.656-3.909%200-6.762-2.782-6.762-6.551s2.853-6.55%206.797-6.55c1.867%200%203.522.598%204.649%201.76l-.598.634c-1.127-1.092-2.466-1.55-4.051-1.55-3.346%200-5.846%202.43-5.846%205.706%200%203.24%202.5%205.706%205.846%205.706%201.374%200%202.607-.317%203.663-1.198V19.3zM121.577%2022.048h-7.502l-1.655%203.663h-1.022l5.953-12.926h.95l5.953%2012.925h-1.022l-1.655-3.662zm-.352-.775-3.417-7.467-3.381%207.467h6.798zM135.594%2025.71l-3.099-4.332c-.423.07-.81.106-1.268.106h-3.698v4.226h-.951V12.75h4.649c3.24%200%205.213%201.62%205.213%204.367%200%202.043-1.092%203.486-3.029%204.05l3.24%204.543h-1.057zm-4.367-5.071c2.782%200%204.262-1.303%204.262-3.522%200-2.22-1.48-3.522-4.262-3.522h-3.698v7.008h3.698v.036zM142.18%2013.63h-4.649v-.845h10.249v.845h-4.649v12.08h-.951V13.63z'%20fill='%23242423'/%3e%3cpath%20d='M42.05%2028.246h.459v7.396h-.458v-7.396zM44.059%2030.289h.387v1.092h.035c.176-.67.88-1.198%201.655-1.198%201.022%200%201.48.564%201.62%201.127h.036c.317-.74.845-1.127%201.69-1.127.951%200%201.656.564%201.656%201.797v3.627h-.423V31.98c0-1.374-.95-1.445-1.268-1.445-.95%200-1.655.67-1.655%201.973v3.134h-.388V31.98c0-1.338-.915-1.444-1.268-1.444-.74%200-1.69.6-1.69%201.973v3.134h-.387V30.29zM52.617%2030.289h.388v1.092h.035c.176-.67.88-1.198%201.655-1.198%201.022%200%201.48.564%201.62%201.127h.035c.317-.74.846-1.127%201.691-1.127.95%200%201.655.564%201.655%201.797v3.627h-.387V31.98c0-1.374-.951-1.445-1.268-1.445-.95%200-1.655.67-1.655%201.973v3.134h-.388V31.98c0-1.338-.915-1.444-1.268-1.444-.74%200-1.69.6-1.69%201.973v3.134h-.388V30.29h-.035zM63.36%2030.183c1.55%200%202.43%201.268%202.43%202.783%200%201.514-.88%202.782-2.43%202.782-1.55%200-2.43-1.268-2.43-2.782%200-1.515.845-2.783%202.43-2.783zm0%205.213c1.338%200%202.043-1.162%202.043-2.43%200-1.268-.705-2.43-2.043-2.43s-2.078%201.162-2.078%202.43c0%201.268.74%202.43%202.078%202.43zM67.129%2028.246h.387v3.205h.035c.317-.845%201.163-1.268%202.008-1.268%201.55%200%202.325%201.198%202.325%202.677%200%202.536-1.585%202.923-2.325%202.923-1.409%200-1.937-1.021-2.007-1.303h-.036v1.197h-.387v-7.43zm4.332%204.614c0-1.198-.634-2.325-1.902-2.325-1.373%200-2.043.986-2.043%202.325%200%201.303.564%202.57%202.043%202.57%201.374-.034%201.902-1.373%201.902-2.57zM73.184%2029.303v-1.057h.387v1.057h-.387zm0%206.34v-5.354h.387v5.318h-.387v.035zM75.614%2028.246v7.396h-.387v-7.396h.387zM77.27%2029.303v-1.057h.387v1.057h-.388zm0%206.34v-5.354h.387v5.318h-.388v.035zM79.385%2033.036c-.036%201.268.634%202.395%201.972%202.395%201.021%200%201.726-.599%201.902-1.585h.387c-.211%201.233-1.021%201.937-2.29%201.937-1.549%200-2.359-1.233-2.359-2.677-.035-1.444.74-2.888%202.36-2.888%201.655%200%202.43%201.304%202.324%202.853h-4.296v-.035zm3.909-.352c-.035-1.127-.74-2.148-1.937-2.148-1.198%200-1.867%201.091-1.972%202.148h3.909zM84.914%2030.289h.388v1.127h.035c.281-.81%201.091-1.268%201.901-1.268%201.867%200%201.902%201.514%201.902%202.148v3.311h-.387v-3.381c0-.564-.07-1.726-1.514-1.726-1.198%200-1.902.916-1.902%202.219v2.888h-.388v-5.318h-.035zM93.227%2030.641v-.352h.95v-1.092c0-.74.529-1.056%201.163-1.056.14%200%20.317.035.458.035v.352c-.141-.035-.317-.035-.458-.035-.423%200-.775.14-.775.74v1.056h1.092v.352h-1.092v4.966h-.388v-4.966h-.95zM100.832%2035.642h-.388v-1.127h-.035c-.282.81-1.092%201.268-1.902%201.268-1.866%200-1.901-1.514-1.901-2.148v-3.346h.387v3.381c0%20.564.07%201.726%201.514%201.726%201.198%200%201.902-.916%201.902-2.219v-2.888h.388v5.353h.035zm-3.17-6.163v-1.057h.458v1.057h-.458zm1.62%200v-1.057h.458v1.057h-.458zM102.7%2031.486c.246-.704%201.092-1.268%202.078-1.197v.387c-.423-.035-.986.036-1.479.529-.388.387-.564.74-.599%201.55v2.922h-.388V30.29h.388v1.197zM113.583%2030.36c-.035-1.269-1.021-1.902-2.359-1.902-.846%200-2.043.352-2.043%201.584%200%201.198%201.268%201.374%202.501%201.656%201.267.246%202.535.563%202.535%202.042%200%201.55-1.479%202.078-2.606%202.078-1.726%200-3.134-.704-3.134-2.606h.457c-.105%201.62%201.198%202.219%202.677%202.219.881%200%202.148-.387%202.148-1.69%200-1.269-1.267-1.48-2.535-1.726-1.268-.247-2.501-.564-2.501-1.973%200-1.408%201.303-1.972%202.501-1.972%201.549%200%202.747.67%202.817%202.29h-.458zM117.458%2030.641h-1.163v3.733c0%20.846.388.951%201.163.916v.352c-.81.035-1.585-.07-1.55-1.268v-3.733h-.986v-.352h.986v-1.655h.387v1.655h1.163v.352zM122.703%2035.642h-.388v-1.127h-.035c-.281.81-1.092%201.268-1.902%201.268-1.866%200-1.901-1.514-1.901-2.148v-3.346h.387v3.38c0%20.564.07%201.727%201.514%201.727%201.198%200%201.902-.916%201.902-2.22V30.29h.388v5.353h.035zM126.157%2030.641h-1.162v3.733c0%20.846.387.951%201.162.916v.352c-.81.035-1.585-.07-1.55-1.268v-3.733h-.986v-.352h.986v-1.655h.388v1.655h1.162v.352zM129.149%2030.641h-1.162v3.733c0%20.846.387.951%201.162.916v.352c-.81.035-1.585-.07-1.55-1.268v-3.733h-.986v-.352h.986v-1.655h.388v1.655h1.162v.352zM134.571%2030.289v5.036c0%20.423%200%202.395-2.289%202.325-1.127%200-2.008-.423-2.078-1.656h.387c.07.951.845%201.303%201.691%201.303%201.866%200%201.901-1.514%201.901-1.866v-1.233h-.035c-.387.775-1.021%201.198-1.937%201.198-1.55%200-2.289-1.163-2.289-2.642%200-1.409.81-2.606%202.289-2.606.845%200%201.62.423%201.937%201.233h.035v-1.092h.388zm-4.262%202.5c0%201.268.669%202.29%201.902%202.29%201.303%200%201.937-1.092%201.937-2.29%200-1.197-.634-2.289-1.937-2.289-1.268.035-1.902%201.162-1.902%202.29zM139.961%2034.656c0%20.317%200%20.634.352.634.07%200%20.176%200%20.282-.035v.317c-.106.035-.212.035-.317.035-.634%200-.705-.352-.705-.775v-.282h-.035c-.247.634-.951%201.198-1.972%201.198-1.022%200-1.796-.388-1.796-1.515%200-1.232%201.091-1.514%201.972-1.584%201.761-.141%201.831-.247%201.831-1.092%200-.247-.282-1.057-1.479-1.057-.951%200-1.585.493-1.62%201.409h-.387c.035-1.162.774-1.761%202.042-1.761.916%200%201.867.282%201.867%201.373v3.135h-.035zm-.388-2.043c-.317.352-1.162.317-1.937.423-.916.106-1.444.423-1.444%201.233%200%20.634.458%201.162%201.409%201.162%201.796%200%201.972-1.55%201.972-1.796v-1.022zM141.934%2031.486c.247-.704%201.092-1.268%202.078-1.197v.387c-.422-.035-.986.036-1.479.529-.387.387-.563.74-.599%201.55v2.922h-.387V30.29h.387v1.197zM146.688%2030.641h-1.162v3.733c0%20.846.387.951%201.162.916v.352c-.81.035-1.585-.07-1.55-1.268v-3.733h-.986v-.352h.986v-1.655h.388v1.655h1.162v.352z'%20fill='%23FDC500'/%3e%3c/svg%3e";function Qt(e){const[a,o]=i.useState(!1),[r,l]=i.useState(null),[n,c]=i.useState(0),f=i.useRef(null),[m,h]=i.useState(!1),[A,k]=i.useState(!1),[C,p]=i.useState(!1),[_,g]=i.useState(!1),x=e.property?.pictures?.length>0?e.property.pictures.filter(N=>N.pictureType.id===2).map(N=>`${e.baseUrl}${N.contentUrl}`):[Pe],w=e.property.pictures?.filter(N=>N.pictureType?.id===1).map((N,v)=>({url:e.baseUrl+N.contentUrl,title:`Floor Plan ${v+1}`}))||[],d=()=>{g(!0),e.onFloorPlanClick&&e.onFloorPlanClick(w)},u=()=>{p(!0)},y=N=>{if(!e.property||x.length===0)return;let v=n;N==="left"?v=(n-1+x.length)%x.length:N==="right"&&(v=(n+1)%x.length),c(v),l(x[v]),f.current?f.current.scrollTo({left:v*150,behavior:"smooth"}):console.warn("imageListRef is not set")},I={kaufpreis:e.translations?.kaufpreis||"Kaufpreis",wohnflache:e.translations?.wohnflache||"Wohnfläche",zimmer:e.translations?.zimmer||"Zimmer",grundriss:e.translations?.grundriss||"Grundriss"};return t.jsxs("div",{className:"d-flex flex-row property-card",children:[t.jsx("div",{className:"d-flex flex-column col-md-6 col-lg-6",children:t.jsxs("div",{className:"card-bod position-relative cardStyles h-100 w-100",style:{backgroundImage:`url(${r||x[0]})`,backgroundSize:"cover",backgroundPosition:"center",maxWidth:"640"},children:[t.jsxs("div",{className:"d-flex flex-row col-12 justify-content-between ",children:[t.jsx("div",{className:"d-felx align-self-start justify-items-start ms-4 ",style:{left:"16px"},onClick:()=>y("left"),role:"button",children:t.jsx("img",{src:Ot})}),t.jsx("div",{}),t.jsx("div",{className:"d-flex align-self-end justify-items-end me-4",onClick:()=>y("right"),role:"button",children:t.jsx("img",{src:Ut,style:{right:"16px"}})})]}),t.jsxs("div",{className:"d-flex flex-row align-self-end justify-item-start justify-content-between align-item-start gap-1 mb-2 ms-4",style:{position:"absolute",left:"0"},children:[t.jsx("div",{className:"cardTag",style:{marginBottom:"16px"},children:`${n+1}/${x.length}`}),t.jsxs("div",{className:"Grundriss kontact-button-text ms-2 ",role:"button",onClick:()=>d(),style:{marginBottom:"16px"},children:[t.jsx("img",{src:ze,className:"",style:{width:"18px"}})," ",I.grundriss]})]})]},e.property.id)}),t.jsxs("div",{className:`listing-compact_c justify-content-between d-flex flex-column col-6 ${e.Impliment?"cc-height":"listing-height"}`,children:[t.jsxs("div",{className:"col-12 d-flex justify-content-end gap-2",children:[t.jsx("img",{src:Ae,alt:"Share Icon",className:" ",onClick:u,style:{maxHeight:"24px",maxWidth:"24px"},role:"button"}),t.jsx("img",{src:Rt,alt:"More Icon",className:"",style:{maxHeight:"24px",maxWidth:"24px"},role:"button"})]}),t.jsx("div",{className:"col-11",children:t.jsx("span",{className:"propertyTitle align-items-start ",onClick:e.onClick,role:"button",children:e.property.expose?.title})}),t.jsx("div",{className:"col-12",children:t.jsxs("div",{className:"location-wrapper",children:[t.jsx("img",{src:Se,alt:"Location Icon",className:"location-icon"}),t.jsx("span",{className:"locationTexts ",children:e.property.city||"N/A"})]})}),t.jsxs("div",{className:"d-flex flex-row justify-content-between",children:[t.jsxs("span",{className:"priceValue justify-content-center align-items-center",children:[oe(e.property?.evaluation?.askingPrice??0)," €",t.jsx("div",{className:"price_label",style:{whiteSpace:"nowrap"},children:I.kaufpreis})]}),t.jsxs("span",{className:"text-dark value d-flex justify-content-center align-items-center",children:[e.property.constructedArea," m²",t.jsx("div",{className:"details",style:{whiteSpace:"nowrap"},children:I.wohnflache})]}),t.jsxs("span",{className:"text-dark value d-flex justify-content-center align-items-center",children:[+e.property?.rooms,t.jsx("div",{className:"details text-center",style:{whiteSpace:"nowrap"},children:I.zimmer})]})]}),t.jsx("div",{className:"d-lex flex-column ",children:t.jsxs("div",{className:"wrapperCompanySec d-flex justify-content-around flex-row",children:[t.jsx("div",{className:"d-flex flex-column col-4 justify-content-between ",children:t.jsx("img",{src:Dt,alt:"Logo",className:"immooly"})}),t.jsx("div",{className:"d-flex flex-column align-items-center justify-content-center",children:t.jsxs("div",{className:"d-flex flex-column text-center",children:[t.jsx("span",{className:"fw-bold",children:e.userData?`${e.userData.firstname} ${e.userData.lastname}`:"Firstname Lastname"}),t.jsx("span",{className:"fst-italic fw-normal",children:e.userData?.company?e.userData.company:"Your Company"})]})})]})})]}),C&&t.jsx(ue,{onClick:()=>p(!1)}),_&&t.jsx(me,{pictureUrls:w,onClose:()=>g(!1)})]})}const Ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAA5BAMAAABTxLEMAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAnUExURUdwTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH6NKgYAAAAMdFJOUwCfIL+AMO/drxBDj6+sC8sAAAH7SURBVEjHjZW/S8NAFMefqWKji8VBCg7Foc6OlQwODg4OmeziJHTrJHTLUNBFyBDoEnARXB38A1z81Qa8P8r37i65y+XukjeEQj58m/t+370HAOFJa2WAtRex1vp+QfCDdagfgH3Wqd7hthv4Cyk+Hy+9dYXIJ8zxOQNvTRFZA+luRj5uh7QYB/2SYybBAQqP/IIPHByi4ws3eIMnWXHwoI+SsVMwYWzZEyBZdO8RLKAEV27JYE5ACcIxY3ceQQWi5CZ2HXmogfSVM0coKKiBfXs8JLisgWFklRxTN9RA2LLFUwrqYGiLh0LJDBAs8fBQwAQt8QgPG2AjHhFKE2zEowQN0IhHhmIBjXimStAEa/FUHlrAWjxlKFYwVfGQ4HfmAFd02xbVkbU3BsjHmvCSQtEk62COVCTjIQ8TdZo6iC8WMh4eisvwnJsj4uEM/f2kCUpveDwyFOWQDvaE2yHKFGjTJhMWTUyQPOQtcSoG50T+Lkxwt+yIMFGD0HIVQtW2zwQ+VY3BvVSg3rWvjJ0bvavASL8HwUhvXpKswNw1SwMRTwUmzlFaH1K5e96LeCTomCdaA0uw51sgPB4BDlPnGC3jEeCRa4qa64N5Rn254SS4jn1gIFbcvE1QXLQ1X8NnA28d8jX81m2xf8F2N/AC4LoL90c+pe1cEcM/vxPDSd4VACsAAAAASUVORK5CYII=";function Vt(e){const[a,o]=i.useState(""),[r,l]=i.useState(""),[n,c]=i.useState(""),[f,m]=i.useState(""),[h,A]=i.useState(""),k=()=>{e.onCloseClick()};function C(){e.onSubmit({themeId:a,subject:r,messageText:n,firstName:f,lastName:h})}return i.useEffect(()=>{const p=JSON.parse(localStorage.getItem("user")||"{}");p&&(m(p.firstname||""),A(p.lastname||""))},[]),t.jsx("div",{children:t.jsx("div",{className:" popup-overlay",children:t.jsxs("div",{className:"MessageShareSections d-flex flex-column col-10 col-lg-7",children:[t.jsx("img",{src:K,alt:"close",className:"closeIcon d-flex flex-column align-self-end",onClick:k}),t.jsxs("div",{className:"",children:[t.jsxs("div",{className:"d-flex ms-md-5 mb-4",children:[t.jsx("div",{className:"circle align-self-center ms-md-2 me-4",children:t.jsx("img",{src:Ht,alt:"email",className:"align-self-center",style:{alignSelf:"center",justifyContent:"center",margin:"14px",width:"25px",height:"20px"}})}),t.jsxs("div",{className:"popUpHeader d-flex flex-column text-wrap mb-md-1 ",children:["Nachricht senden ",e.userData?.firstname," ",e.userData?.lastname]})]}),t.jsxs("div",{className:"d-flex flex-md-row flex-column ms-md-5 mt-md-0 ",children:[t.jsxs("div",{className:"d-flex flex-column mt-md-0 mt-4 col me-4 w-100 align-self-start justify-content-start",children:[t.jsx("span",{className:"popup-tags mb-2",children:"Betreff:*"}),t.jsx("div",{children:t.jsxs("select",{name:"theme",id:"theme",className:"mb-md-4 col-md-11 col-12",style:{height:"42px"},value:a,onChange:p=>o(p.target.value),children:[t.jsx("option",{value:"",children:"Select a theme"}),e.themesList.map(p=>t.jsx("option",{value:p.id,children:p.name},p.id))]})})]}),t.jsxs("div",{className:"d-flex flex-column mt-md-4 col me-4 w-100",children:[t.jsx("div",{}),t.jsx("textarea",{className:"popup_textarea col-12 col-md-10 mb-md-0 mt-2 ",placeholder:"Betreff deiner Nachricht",style:{height:"42px"},value:r,onChange:p=>l(p.target.value)})]})]}),t.jsxs("div",{className:"d-flex flex-column col ms-md-5 me-md-4",children:[t.jsx("span",{className:"popup-tags mb-2 ",children:"Deine Nachricht:*"}),t.jsx("textarea",{className:"popup_textarea mb-md-4 col-md-11 col-12 ",placeholder:"Deine Nachricht hier...",value:n,onChange:p=>c(p.target.value)})]}),t.jsxs("div",{className:"d-flex flex-md-row flex-column ms-md-5 ",children:[t.jsxs("div",{className:"d-flex flex-column col me-4 w-100",children:[t.jsx("span",{className:"popup-tags mb-2",children:"Vorname:"}),t.jsx("input",{className:"popup_textarea mb-md-4 col-12 col-md-11",placeholder:"Dein Vorname",type:"text",value:f,onChange:p=>m(p.target.value),style:{height:"42px"}})]}),t.jsxs("div",{className:"d-flex flex-column me-4 w-100 col ",children:[t.jsx("span",{className:"popup-tags mb-2",children:"Nachname:"}),t.jsx("input",{className:"popup_textarea col-12 mb-4 col-md-10",placeholder:"Dein Nachname",type:"text",value:h,onChange:p=>A(p.target.value),style:{height:"42px"}})]})]}),t.jsxs("div",{className:"d-flex gap-md-3 gap-3 flex-md-row flex-column align-self-center justify-content-center mb-4 mt-md-2",children:[t.jsx("button",{className:"main_button border-0 rounded-4 align-self-center ",type:"button",id:"button",onClick:C,children:t.jsx("strong",{children:"Nachricht senden"})}),t.jsx("button",{className:"button_icon-right border-1 col-sm-3 align-self-center",children:t.jsx("strong",{children:"Abbrechen"})})]})]})]})})})}const Jt="data:image/svg+xml,%3csvg%20width='80'%20height='81'%20viewBox='0%200%2080%2081'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23x941tpr7ca)'%3e%3cpath%20d='M57.682%2027.808a3.125%203.125%200%200%201%200%204.42L36.717%2053.191a3.126%203.126%200%200%201-4.419%200l-9.98-9.98a3.124%203.124%200%201%201%204.42-4.42l7.77%207.771%2018.754-18.755a3.126%203.126%200%200%201%204.42%200zM80%2040.5c0%2022.11-17.893%2040-40%2040-22.11%200-40-17.893-40-40C0%2018.39%2017.893.5%2040%20.5c22.11%200%2040%2017.893%2040%2040zm-6.25%200C73.75%2021.845%2058.653%206.75%2040%206.75%2021.345%206.75%206.25%2021.847%206.25%2040.5c0%2018.655%2015.097%2033.75%2033.75%2033.75%2018.655%200%2033.75-15.097%2033.75-33.75z'%20fill='%23FFB525'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='x941tpr7ca'%3e%3cpath%20fill='%23fff'%20transform='translate(0%20.5)'%20d='M0%200h80v80H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Ft(e){const[a,o]=i.useState(!0),r=()=>{e.onClick()};return t.jsx("div",{children:t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:"shareSection-Success d-flex flex-column col-7 ",children:[t.jsx("img",{src:K,alt:"close",className:"closeIcon d-flex flex-column align-self-end ms-5 ",onClick:r}),t.jsx("div",{className:" d-flex flex-column align-self-center ms-5 ",children:t.jsx("img",{src:Jt,alt:"facebook",className:" mb-4"})}),t.jsxs("div",{className:"popUpHeader d-flex flex-column col- text-center text-wrap mb-5 align-self-center",children:[t.jsx("span",{children:" Herzlichen Glückwunsch! "}),t.jsx("span",{children:" Deine Nachricht wurde erfolgreich gesendet. "})]}),t.jsx("div",{className:"d-flex flex-column mt-4 mb-4",children:t.jsx("span",{className:"text-center ms-5 text-wrap",children:"Neben vielen weiteren Einstellungen und Aktionen kannst du die Antwort auf deine Nachricht in deinem Control Center einsehen, sobald der Verkäufer darauf reagiert hat."})}),t.jsxs("div",{className:" d-flex flex-row align-self-center ",children:[t.jsx("button",{className:"d-flex button_success-left col-sm-5 border-0 rounded-4",type:"button",id:"button",onClick:r,children:t.jsx("strong",{children:" Zum Control Center"})}),t.jsx("button",{className:"button_success-right col-sm-3 border-1 ms-3 rounded-4",type:"button",id:"button",children:t.jsx("strong",{children:"Abbrechen"})})]})]})})})}const Wt="data:image/svg+xml,%3csvg%20width='80'%20height='81'%20viewBox='0%200%2080%2081'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23gyr7eoy9ma)'%20fill='%23FFB525'%3e%3cpath%20d='M49.585%209.407a11.03%2011.03%200%200%200-19.174%200L1.378%2061.134a10.594%2010.594%200%200%200%20.097%2010.63%2010.88%2010.88%200%200%200%209.49%205.403H69.03a10.88%2010.88%200%200%200%209.49-5.403%2010.593%2010.593%200%200%200%20.097-10.63L49.585%209.407zm23.183%2059a4.276%204.276%200%200%201-3.737%202.093H10.965a4.277%204.277%200%200%201-3.737-2.103%203.94%203.94%200%200%201-.037-4l29.034-51.73a4.517%204.517%200%200%201%207.546%200l29.034%2051.727a3.94%203.94%200%200%201-.037%204.003v.01z'/%3e%3cpath%20d='M39.997%2023.832a3.333%203.333%200%200%200-3.333%203.333v20a3.333%203.333%200%200%200%206.667%200v-20a3.334%203.334%200%200%200-3.334-3.333zM39.997%2063.835a3.333%203.333%200%201%200%200-6.667%203.333%203.333%200%200%200%200%206.667z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='gyr7eoy9ma'%3e%3cpath%20fill='%23fff'%20transform='translate(0%20.5)'%20d='M0%200h80v80H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Gt(e){const a=()=>{e.onClick()};return t.jsx("div",{className:"popup-overlay",children:t.jsxs("div",{className:"shareSection-Error d-flex flex-column col-6 ",children:[t.jsx("img",{src:K,alt:"close",className:"closeIcon d-flex flex-column align-self-end ms-5 ",onClick:a}),t.jsx("div",{className:" d-flex flex-column align-self-center ms-5 ",children:t.jsx("img",{src:Wt,alt:"facebook",className:" mb-4"})}),t.jsx("div",{className:"popUpHeader d-flex flex-column col- text-center text-wrap mb-1 align-self-center",children:t.jsx("span",{children:" Oops! Etwas ist schiefgelaufen."})}),t.jsx("div",{className:"d-flex flex-column mt-4 mb-4",children:t.jsx("span",{className:"text-center ms-5 text-wrap",children:"Beim Senden deiner Nachricht ist ein Fehler aufgetreten. Wenn das Problem weiterhin besteht, kontaktiere uns unter support@nestiq.de"})}),t.jsxs("div",{className:" d-flex flex-row align-self-center ",children:[t.jsx("button",{className:"d-flex button_success-left col-sm-5 border-0 rounded-4",type:"button",id:"button",children:t.jsx("strong",{children:" Erneut versuchen"})}),t.jsx("button",{className:"button_success-right w-50 border-1 ms-3 rounded-4",type:"button",id:"button",children:t.jsx("strong",{children:" Support kontaktieren"})})]})]})})}const Yt=(e,a="info")=>{T(e,{type:a})},Zt=()=>t.jsx(kt,{position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0});exports.Button=Ue;exports.ErrorPopup=Gt;exports.FloorPlanPopup=Bt;exports.MessagePopUp=Vt;exports.NewPropertyCard=Qt;exports.Popup=De;exports.PropertyCard=Lt;exports.PropertyDetailsHeader=It;exports.PropertyImageList=St;exports.SharePopup=ue;exports.SuccessPopUp=Ft;exports.ToastWrapper=Zt;exports.formatPrice=oe;exports.formatPropertyArea=he;exports.showToast=Yt;
|
|
8
8
|
//# sourceMappingURL=index.cjs.map
|