PageSourceSearch

https://www.nestseekers.com/static/nestseekers/react_components_br…_css-react-3bec71-a3b207058e074c861d4f-3.js

js nestseekers.com collected 2026-10-02 03:59:47 UTC 9,919 bytes, 1 lines download raw bytes

1(self.webpackChunknestseekers=self.webpackChunknestseekers||[]).push([["react_components_browsers_ShowingRequests_tsx-node_modules_react-virtualized_styles_css-react-3bec71"],{"./node_modules/lodash/_castFunction.js"(e,t,n){var a=n("./node_modules/lodash/identity.js");e.exports=function(e){return"function"==typeof e?e:a}},"./node_modules/lodash/forEach.js"(e,t,n){var a=n("./node_modules/lodash/_arrayEach.js"),r=n("./node_modules/lodash/_baseEach.js"),o=n("./node_modules/lodash/_castFunction.js"),s=n("./node_modules/lodash/isArray.js");e.exports=function(e,t){return(s(e)?a:r)(e,o(t))}},"./node_modules/react-timeago/es6/index.js"(e,t,n){"use strict";n.d(t,{A:()=>f});var a=n("./node_modules/react/index.js");function r(e){const t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;const n=String(e).match(/\d+/g);if(null==n||n.length<=2)return t;{const[e,t,...a]=n.map(e=>parseInt(e)),r=[e,t-1,...a];return new Date(Date.UTC(...r))}}const o=(e,t,n)=>e+" "+(1!==e?t+"s":t)+" "+n;function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s.apply(null,arguments)}const c=3600,i=86400,l=7*i,u=30*i,d=365*i,m=()=>Date.now();function f({date:e,formatter:t,component:n="time",live:f=!0,minPeriod:h=0,maxPeriod:v=l,title:p,now:y=m,...g}){const[b,w]=(0,a.useState)(y());(0,a.useEffect)(()=>{if(!f)return;const t=(()=>{const t=r(e).valueOf();if(!t)return console.warn("[react-timeago] Invalid Date provided"),0;const n=Math.round(Math.abs(b-t)/1e3),a=n<60?1e3:n<c?6e4:n<i?36e5:6048e5,o=Math.min(Math.max(a,1e3*h),1e3*v);return o?setTimeout(()=>{w(y())},o):0})();return()=>{t&&clearTimeout(t)}},[e,f,v,h,y,b]),(0,a.useEffect)(()=>{w(y())},[e]);const x=n,E=r(e).valueOf();if(!E)return null;const _=Math.round(Math.abs(b-E)/1e3),j=E<b?"ago":"from now",[k,A]=_<60?[Math.round(_),"second"]:_<c?[Math.round(_/60),"minute"]:_<i?[Math.round(_/c),"hour"]:_<l?[Math.round(_/i),"day"]:_<u?[Math.round(_/l),"week"]:_<d?[Math.round(_/u),"month"]:[Math.round(_/d),"year"],S=void 0===p?"string"==typeof e?e:r(e).toISOString().substring(0,16).replace("T"," "):p,M="time"===x?{...g,dateTime:r(e).toISOString()}:g,N=(e=e,t=t,n=n,a=E,r=o,s=s)=>o(e,t,n),T=t||o;let D;try{D=T(k,A,j,E,N,y),D||(D=o(k,A,j))}catch(e){console.error("[react-timeago] Formatter threw an error:",e),D=o(k,A,j)}return a.createElement(x,s({},M,{title:S}),D)}},"./react/components/Clients/ClientInfo.tsx"(e,t,n){"use strict";n.d(t,{A:()=>r});var a=n("./node_modules/react/index.js");function r(e){e.pk;var t=e.fname,n=e.lname,r=e.email,o=e.phone;return a.createElement("div",{className:"block-link clickable p-2"},a.createElement("strong",null,"".concat(t," ").concat(n)),a.createElement("br",null),r,a.createElement("br",null),o)}},"./react/components/browsers/ShowingRequests.tsx"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>C});var a=n("./node_modules/lodash/debounce.js"),r=n.n(a),o=n("./node_modules/lodash/pick.js"),s=n.n(o),c=n("./node_modules/react/index.js"),i=n("./node_modules/react-router/esm/react-router.js"),l=n("./react/hooks/useViewer.tsx"),u=n("./react/utils/auth.tsx"),d=n("./react/components/Clients/ClientInfo.tsx"),m=n("./node_modules/classnames/index.js"),f=n.n(m),h=n("./node_modules/lodash/forEach.js"),v=n.n(h),p=n("./react/components/stages.ts"),y=n("./react/components/ui/Icon.tsx"),g=n("./graphql/hooks.ts");var b={};v()(p.Xn,function(e){return b[e.value]=e});var w={};function x(e){var t=e.status,n=e.mine,a=void 0===n||n,r=e.className,o=void 0===r?"":r,s=(a?b:w)[t]||{value:"none",icon:"circle",label:t};return c.createElement("span",{className:f()("text-sm rounded border py-2 px-4 inline-block mx-1",o,s.color||"cc--hollow--black")},c.createElement(y.A,{name:s.icon})," ",s.label)}v()(p.jT,function(e){return w[e.value]=e}),c.Component;var E=n("./react/components/headers/headers.tsx"),_=n("./react/components/listing/AptInfo.tsx"),j=n("./react/components/ui/ButtonGroup.tsx"),k=n("./react/components/ui/DateFormat.tsx"),A=n("./react/components/ui/SearchBox.tsx"),S=n("./react/components/ui/ShowHide.tsx"),M=n("./react/components/browsers/DataBrowser.tsx");function N(e){var t=e.status,n=e.mine;return c.createElement(x,{status:t,mine:n})}var T=function(e){return[{label:"client",component:d.A,props:function(e){return s()(e.client,["fname","lname","email","phone","pk"])},width:170},{label:"listing",className:"self-start p-1",props:function(e){return e.apt},component:_.A,flexGrow:1},{label:"status",props:function(t){return{status:t.status,mine:!e}},component:N,width:120},{label:"date",props:function(e){return{date:e.createdOn}},component:k.Ay}]},D=(0,M.mP)(["dateFrom","dateTill","search","status"],["visibility","category","categoryId"],function(e){return e.search||e.category?{visibility:e.visibility}:{visibility:e.visibility,status:(t="admin"===e.visibility,(t?p.jT:p.Xn)[0].value)};var t});const C=(0,i.y)(function(e){var t=(0,l.A)(),n=(0,M.HX)(e.location,e.history,function(e){return{dateFrom:e.fromValue,dateTill:e.tillValue,timeRange:e.timeRange}}),a=n.search,o=n.toggle,s=n.timeRangeToggle,i=n.setSearch,d=D(e),m=(0,g.Pu)({variables:d}),f="admin"===e.match.params.visibility&&(0,u.WB)(t),h=f?p.jT:p.Xn;return c.createElement(M.Z3,{query:m,pathToQueryData:"viewer.agent.showingRequests",queryVars:d,onRowClick:function(e){var t=e.rowData.client;t?window.location.assign(f?"/Agent/admin/clients/".concat(t.pk):"/Agent/clients/".concat(t.pk)):window.location.assign("/a/requests/mine/showings")},onRowRightClick:function(e){var t=e.client;return t?f?"/Agent/admin/clients/".concat(t.pk):"/Agent/clients/".concat(t.pk):"/a/requests/mine/showings"},columns:T(f),rowHeight:125},c.createElement(S.A,null,c.createElement(E.A7,{category:e.match.params.category,categoryId:e.match.params.categoryId}),c.createElement("div",{key:"filters",className:"md:mx-4"},c.createElement("div",{className:"my-2"},c.createElement(j.A,{value:a.status,choices:h,icons:!0,set:o("status")})),c.createElement("div",{className:"my-2"}
1,c.createElement(j.A,{value:a.timeRange||"all",choices:p.fi,set:s}))),c.createElement("div",{key:"searchBox",className:"md:m-4"},c.createElement(A.A,{onChange:r()(i,500),defaultValue:a.search}))))})},"./react/components/ui/DateFormat.tsx"(e,t,n){"use strict";n.d(t,{Ay:()=>m,Kl:()=>l,X7:()=>d,c9:()=>f});var a=n("./node_modules/react/index.js"),r=n("./node_modules/react-timeago/es6/index.js"),o=n("./node_modules/fecha/lib/fecha.js"),s=n("./react/utils/shadcn.ts");function c(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var i="YYYY-MM-DD HH:mm:ss";function l(){return(0,o.GP)(new Date,i)}var u=[{regex:/^(\d{4})-(\d{2})-(\d{2})$/,fn:function(e){return(0,o.qg)(e,"YYYY-MM-DD")}},{regex:/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/,fn:function(e){return(0,o.qg)(e,i)}}];function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"NYC";if(e=function(e){return e.replace(/\.\d+$/,"")}(e),/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:?\d{2})$/.test(e)){var n=new Date(e);return isNaN(n.getTime())?void 0:n}if("T"===e[10])switch(t){case"UTC":return new Date(e+"Z");case"NYC":case"EST":return(0,o.qg)(e+"-0500","YYYY-MM-DDTHH:mm:ss")}var a=!0,r=!1,s=void 0;try{for(var i,l=u[Symbol.iterator]();!(a=(i=l.next()).done);a=!0){var d=i.value;if(d.regex.test(e)){var m=d.fn(e);if(c(m,Date)&&1969!==m.getUTCFullYear())return m}}}catch(e){r=!0,s=e}finally{try{a||null==l.return||l.return()}finally{if(r)throw s}}}function m(e){var t,n=e.date,c=e.oneline,i=void 0!==c&&c,l=e.className,u=e.mask,m=void 0===u?"mediumDate":u,f=e.tz,h=void 0===f?"EST":f,v="object"==(void 0===n?"undefined":(t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)?n:n&&d(n,h);if(!v)return null;var p=(0,o.GP)(v,m),y=a.createElement("span",{className:"text-xs"},a.createElement(r.A,{date:v}));return i?a.createElement("div",{className:l},p," ",y):a.createElement("div",{className:(0,s.cn)("leading-tight",l)},a.createElement("div",null,p),a.createElement("div",null,y))}function f(e){var t=e.date,n=e.mask,r=void 0===n?"MMM/D/YY h:mm:ss a":n,s=e.className,c=e.defaultTimezone,i=d(t,void 0===c?"EST":c);return i&&a.createElement("span",{className:s},(0,o.GP)(i,r))}},"./react/components/ui/ShowHide.tsx"(e,t,n){"use strict";n.d(t,{A:()=>i});var a=n("./node_modules/react/index.js"),r=n("./node_modules/classnames/index.js"),o=n.n(r),s=n("./react/components/ui/Icon.tsx");function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function i(e){var t,n,r=e.children,i=(t=a.useState(!0),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o=[],s=!0,c=!1;try{for(n=n.call(e);!(s=(a=n.next()).done)&&(o.push(a.value),!t||o.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(c)throw r}}return o}}(t,n)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=i[0],u=i[1],d=l?a.createElement("span",null,"Hide options ",a.createElement(s.A,{name:"chevron-up"})):a.createElement("span",null,"Show options ",a.createElement(s.A,{name:"chevron-down"}));return a.createElement("div",null,a.createElement("div",{className:o()({hidden:!l})},r),a.createElement("button",{className:"w-full p-2 clickable transition-colors duration-150 ease-in-out ",onClick:function(){return u(!l)}},d))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.