PageSourceSearch

https://portal.aercap.com/portal/static/js/643.c4ba2e62.chunk.js

js aercap.com collected 2026-09-24 21:06:21 UTC 11,777 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkGECAS=self.webpackChunkGECAS||[]).push([[643],{99439:function(e,t,s){s.d(t,{p:function(){return r},v:function(){return n}});var r=function(e){if("undefined"!=typeof e){var t=new Date(e);return new Intl.DateTimeFormat("en-GB",{year:"numeric",month:"short",day:"2-digit"}).format(t)}},n=function(e){if(null!=e){var t=new Date(e);return new Intl.DateTimeFormat("en-GB",{year:"numeric",month:"short",day:"2-digit"}).format(t)}return""}},90643:function(e,t,s){s.r(t);var r=s(74165),n=s(15861),i=s(15671),a=s(43144),o=s(97326),l=s(60136),c=s(98557),d=s(72791),u=s(60364),g=s(81815),h=s(56153),p=s(27988),m=s(82357),f=s(48284),A=s(62298),S=s(4292),x=s(95234),v=s(95060),y=s(80640),Z=s(99439),k=s(76436),C=s(82733),O=s(76186),j=s(2893),F=s(80184),D=function(e){(0,l.Z)(s,e);var t=(0,c.Z)(s);function s(e){var r;return(0,i.Z)(this,s),(r=t.call(this,e)).componentDidMount=function(){r.props.setActivePage(),r.checkIfUserAcceptedA4SAgreement()},r.toggleOptOutModal=function(e,t){r.setState({listingId:e,listingName:t}),r.setState((function(e){return{showOptOutModal:!e.showOptOutModal}}))},r.toggleDeRegisterModal=function(){r.setState((function(e){return{showDeRegisterModal:!e.showDeRegisterModal}}))},r.columnClicked=function(e,t,s,n,i){8!==e&&(null==n||"WITH LEASE"!==n.toUpperCase()||i?r.props.history.push({pathname:"Details",state:{selectedListingId:t}}):r.props.history.push({pathname:"NDADisplay",state:{selectedListingId:t,selectedListingName:s,selectedListingDealType:n}}))},r.state={userAcceptanceCheckComplete:!1,userAcceptedA4SAgreement:!1,extranetAgreementId:0,a4STermsText:"",a4sTermsLoading:!1,listingsData:[],loading:!0,showOptOutModal:!1,listingId:0,listingName:"",showDeRegisterModal:!1,error:!1},r.checkIfUserAcceptedA4SAgreement=r.checkIfUserAcceptedA4SAgreement.bind((0,o.Z)(r)),r.loadAssetsForSaleListings=r.loadAssetsForSaleListings.bind((0,o.Z)(r)),r.toggleOptOutModal=r.toggleOptOutModal.bind((0,o.Z)(r)),r.optUserOutOfListing=r.optUserOutOfListing.bind((0,o.Z)(r)),r.acceptA4SAgreement=r.acceptA4SAgreement.bind((0,o.Z)(r)),r.rejectA4SAgreement=r.rejectA4SAgreement.bind((0,o.Z)(r)),r.toggleDeRegisterModal=r.toggleDeRegisterModal.bind((0,o.Z)(r)),r.deRegisterFromService=r.deRegisterFromService.bind((0,o.Z)(r)),r.loadA4STermsOfUse=r.loadA4STermsOfUse.bind((0,o.Z)(r)),r}return(0,a.Z)(s,[{key:"checkIfUserAcceptedA4SAgreement",value:function(){var e=(0,n.Z)((0,r.Z)().mark((function e(){var t;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state.error){e.next=6;break}return"/portal/AssetForSale/CheckIfUserAcceptedA4STerms",e.next=4,(0,k.ZV)("/portal/AssetForSale/CheckIfUserAcceptedA4STerms");case 4:(t=e.sent).error?this.setState({userAcceptedA4SAgreement:!0,userAcceptanceCheckComplete:!0,error:t.error,listingsData:[],loading:!1}):(this.setState({userAcceptedA4SAgreement:t.data,userAcceptanceCheckComplete:!0,error:t.error}),t.data?this.loadAssetsForSaleListings():this.loadA4STermsOfUse());case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"loadA4STermsOfUse",value:function(){var e=(0,n.Z)((0,r.Z)().mark((function e(){var t;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"/portal/AssetForSale/GetA4STerms",e.next=3,(0,k.ZV)("/portal/AssetForSale/GetA4STerms");case 3:t=e.sent,this.setState({extranetAgreementId:t.data.extranetAgreementId,a4STermsText:t.data.extranetAgreementText,a4sTermsLoading:t.loading,error:t.error});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"loadAssetsForSaleListings",value:function(){var e=(0,n.Z)((0,r.Z)().mark((function e(){var t;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state.error){e.next=6;break}return"/portal/AssetForSale/GetListings",e.next=4,(0,k.ZV)("/portal/AssetForSale/GetListings");case 4:t=e.sent,this.setState({listingsData:t.data,loading:t.loading,error:t.error});case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"optUserOutOfListing",value:function(){var e=(0,n.Z)((0,r.Z)().mark((function e(){var t,s;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="/portal/AssetForSale/OptOutOfListing?listingId=".concat(this.state.listingId),e.next=3,(0,k.ty)(t);case 3:(s=e.sent).data&&!s.error?(this.loadAssetsForSaleListings(),this.setState((function(e){return{showOptOutModal:!e.showOptOutModal}}))):this.setState({error:s.error});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"acceptA4SAgreement",value:function(){var e=(0,n.Z)((0,r.Z)().mark((function e(t){var s,n;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s="/portal/AssetForSale/SaveAgreementAcceptance?extranetAgreementId=".concat(t),e.next=3,(0,k.ty)(s);case 3:(n=e.sent).error?this.setState({error:n.error}):(this.setState({userAcceptedA4SAgreement:!0}),this.loadAssetsForSaleListings());case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"rejectA4SAgreement",value:function(){var e=(0,n.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.location.href="/portal/Dashboard";case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"deRegisterFromService",value:function(){var e=(0,n.Z)((0,r.Z)().mark((function e(){var t;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"/portal/AssetForSale/DeRegisterFromAssetForSale",e.next=3,(0,k.ty)("/portal/AssetForSale/DeRegisterFromAssetForSale");case 3:(t=e.sent).data?(this.toggleDeRegisterModal(),window.location.href="/portal/Dashboard"):(this.toggleDeRegisterModal(),this.setState({error:t.error}));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this,t=[{isDummyField:!0,dataField:"df1",text:"",sort:!1,formatter:function(e,t,s,r){return(0,F.jsx)("i",{className:"mdi mdi-arrow-right-bold-circle-outline mdi-18px"})},events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}}},{dataField:"listingName",text:"Listing Name",sort:!0,events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}}},{dataField:"numberOfAssets",text:"No. of Assets",sort:!0,events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}}},{dataField:"dealType",text:"Deal Type",sort:!0,events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}}},{dataField:"location",text:"Location",sort:!0,events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}}}
1,{dataField:"currentBidRoundName",text:"Current Bid Round",sort:!0,events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}}},{dataField:"closingDate",text:"Closing Date",sort:!0,style:{whiteSpace:"nowrap"},headerStyle:{whiteSpace:"nowrap"},formatter:function(e){return(0,Z.v)(e)},csvFormatter:function(e){return(0,Z.v)(e)},events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}}},{dataField:"daysLeft",text:"Days Left",sort:!0,events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}}},{isDummyField:!0,dataField:"optOut",text:"Opt Out",formatter:function(t,s,r,n){return(0,F.jsx)(g.Z,{className:"btn-icon",color:"primary",onClick:function(){e.toggleOptOutModal(s.listingId,s.listingName)},children:(0,F.jsx)("i",{className:"dripicons-thumbs-down"})})},headerClasses:"optOutColumn",classes:"optOutColumn",events:{onClick:function(t,s,r,n,i){e.columnClicked(r,n.listingId,n.listingName,n.dealType,n.acceptedNDA)}},csvExport:!1}];return this.state.userAcceptanceCheckComplete&&!this.state.error?this.state.userAcceptedA4SAgreement?(0,F.jsxs)(d.Fragment,{children:[(0,F.jsx)(y.Z,{breadCrumbItems:[{label:"Asset for Sale",path:"/AssetForSale/Index",active:!0}],title:"Asset for Sale",error:this.state.error}),(0,F.jsx)(h.Z,{children:(0,F.jsx)(p.Z,{children:(0,F.jsx)(m.Z,{children:(0,F.jsx)(f.Z,{children:(0,F.jsx)(O.Z,{columns:t,data:this.state.listingsData,keyField:"listingId",defaultSorted:[{dataField:"closingDate",order:"asc"}],loading:this.state.loading,exportButtonName:"Listings"})})})})}),(0,F.jsx)(h.Z,{children:(0,F.jsx)(p.Z,{lg:10,children:(0,F.jsx)(g.Z,{color:"secondary",onClick:function(){e.toggleDeRegisterModal()},children:"De-Register From Service"})})}),(0,F.jsxs)(A.Z,{isOpen:this.state.showOptOutModal,toggle:this.toggleOptOutModal,size:"lg",children:[(0,F.jsx)(S.Z,{toggle:this.toggleOptOutModal,children:"Opt Out of Listing"}),(0,F.jsxs)(x.Z,{className:this.state.bodyClass,children:[(0,F.jsxs)("p",{children:['You have chosen to "Opt Out" of the listing - ',(0,F.jsx)("strong",{children:this.state.listingName}),". This means:"]}),(0,F.jsx)("p",{children:" - You will no longer be able to view the details of the listing."}),(0,F.jsx)("p",{children:" - You will not receive information about updates to the listing."}),(0,F.jsx)("p",{children:'Please confirm that you would like to "Opt Out" of the listing.'})]}),(0,F.jsxs)(v.Z,{className:this.state.bodyClass,children:[(0,F.jsx)(g.Z,{color:"secondary",onClick:this.optUserOutOfListing,children:"Confirm"}),(0,F.jsx)(g.Z,{color:"primary",onClick:this.toggleOptOutModal,children:"Cancel"})]})]}),(0,F.jsxs)(A.Z,{isOpen:this.state.showDeRegisterModal,toggle:this.toggleDeRegisterModal,size:"lg",children:[(0,F.jsx)(S.Z,{toggle:this.toggleDeRegisterModal,children:"De-Register from Asset for Sale"}),(0,F.jsxs)(x.Z,{children:[(0,F.jsx)("p",{children:'You have chosen to "De-Register" from the Asset For Sale service. This means:'}),(0,F.jsx)("p",{children:" - You will no longer be able to view the details of listings you are currently invited to."}),(0,F.jsx)("p",{children:" - You will not receive information about updates to listings which you are currently invited to."}),(0,F.jsx)("p",{children:" - You may not be invited to future Asset For Sale listings."}),(0,F.jsx)("p",{children:'Please confirm that you would like to "De-Register" from the Asset for Sale service.'})]}),(0,F.jsxs)(v.Z,{children:[(0,F.jsx)(g.Z,{color:"secondary",onClick:this.deRegisterFromService,children:"Confirm"}),(0,F.jsx)(g.Z,{color:"primary",onClick:this.toggleDeRegisterModal,children:"Cancel"})]})]})]}):(0,F.jsxs)(d.Fragment,{children:[(0,F.jsx)(y.Z,{breadCrumbItems:[{label:"Asset for Sale",path:"/AssetForSale/Index",active:!0}],title:"Asset for Sale - Terms and Conditions",error:this.state.error}),!this.state.a4sTermsLoading&&!this.state.error&&(0,F.jsxs)(d.Fragment,{children:[(0,F.jsx)("div",{dangerouslySetInnerHTML:{__html:this.state.a4STermsText}}),(0,F.jsxs)("div",{className:"a4sTermsAndConditionsButtons",children:[(0,F.jsx)(g.Z,{color:"primary",onClick:function(){e.acceptA4SAgreement(e.state.extranetAgreementId)},children:"Accept"})," ",(0,F.jsx)(g.Z,{style:{marginLeft:"1em"},color:"secondary",onClick:this.rejectA4SAgreement,children:"Reject"})," "]})]})]}):(0,F.jsxs)(d.Fragment,{children:[(0,F.jsx)(y.Z,{breadCrumbItems:[{label:"Asset for Sale",path:"/AssetForSale/Index",active:!0}],title:"Asset for Sale",error:this.state.error}),!this.state.error&&(0,F.jsx)(C.Z,{className:"checkingSpinner",color:"success",size:"sm"})]})}}]),s}(d.Component);t.default=(0,u.$j)(null,(function(e,t){return{setActivePage:function(){e((0,j.vT)("AssetForSale"))}}}))(D)}}]);
2//# sourceMappingURL=643.c4ba2e62.chunk.js.map

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.