PageSourceSearch

https://www.alamo.ca/etc/aweb/VehicleGridView-VehicleGridView.3145d6b3.js

js alamo.ca collected 2026-09-30 14:34:31 UTC 3,088 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkaweb=self.webpackChunkaweb||[]).push([[1222,2422,2678,3742,4204,4371,5703,8855,10689,11318,14318,14926,15990,18405,18768,19886,21535,22682,27901,30063,31470,32971,33834,33902,34914,35485,38539,39491,40030,40544,40592,44674,47166,47973,48281,49846,53626,54667,67151,69384,74097,76091,76446,76795,87275,88105,89654,91386,91905,95409,99342],{92616:(e,t,n)=>{n.d(t,{f:()=>i});var o=n(45020),s=n(61317),u=n(83939);const i=(e,t)=>n=>{n((0,o.Er)(!0)),n(s.A.setFiltersUiByKey(e,[])),t&&n((0,u.nH)())}},77728:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(2763),s=n(30682),u=n(8833);function i(e,t){const n=(0,s.wA)();return(0,u.useMemo)(()=>Array.isArray(e)?e.map(e=>(0,o.zH)(e,n)):(0,o.zH)(e,n),t?[n,...t]:[n])}},29028:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(8833);function s({container:e,handler:t,listenerConditional:n=!0},s){const u=(0,o.useRef)(!1),i=n=>{"touchend"===n.type&&(u.current=!0),"mousedown"===n.type&&u.current||e.current&&!e.current.contains(n.target)&&t(n)};(0,o.useEffect)(()=>(n&&(document.addEventListener("mousedown",i),document.addEventListener("touchend",i)),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("touchend",i)}),s)}},94830:(e,t,n)=>{n.d(t,{A:()=>_});var o=n(8833),s=n(77728),u=n(6261),i=n(92924),r=n(72880),d=n(63821),c=n(30682);const{FIELD_STATUS_MANDATORY:l,FIELD_STATUS_OPTIONAL:h,ISSUING_AUTHORITY_FIELD_COUNTRIES:a,ISSUING_AUTHORITIES_BY_COUNTRY:S}=d.Cn,_=(e,t=!1,n=!0)=>{const[d,_]=(0,o.useState)(null),v=(0,c.d4)(u.i),f=(0,c.d4)(u.Y),{getCountries:y,getStatesOrProvinces:A}=(0,s.A)(r),w=((e,t)=>{const n={shouldShowIssueDate:!1,shouldShowExpirationDate:!1,shouldShowBothIssueAndExpirationDate:!1,shouldShowSubdivisionField:!1,shouldShowIssuingAuthorityField:!1,issuingAuthorities:null},{country_code:o,country_content:s={}}=e||{},{license_issue_date:u,license_expiry_date:i,drive_type_filter:r}=s;u===l&&(n.shouldShowIssueDate=!0),i===l&&(n.shouldShowExpirationDate=!0),u===h&&i===h&&(n.shouldShowIssueDate=!0,n.shouldShowExpirationDate=!0,n.shouldShowBothIssueAndExpirationDate=!0),n.driveTypeFilter=r;const d=null==t?void 0:t[o];n.shouldShowSubdivisionField=!(null==d||!d.length);const c=a.includes(o),_=S[o]||d;var v;return c&&_&&(n.shouldShowIssuingAuthorityField=!0,n.issuingAuthorities=((v=S[o])?[{country_subdivision_code:v,country_subdivision_name:v}]:null)||d),n})(d,f);return((e,t,n)=>{const s=(0,c.d4)(e=>(0,i.h)(e,{endpoint:"location/countries-sorted-by-name"}));(0,o.useEffect)(()=>{null!=e&&e.length||s||t(n)},[])})(v,y,n),((e,t,n,s)=>{(0,o.useEffect)(()=>{const o=null==e?void 0:e.country_code;s||!o||null!=t&&t[o]||n(o)},[e])})(d,f,A,t),((e,t,n,s)=>{(0,o.useEffect)(()=>{if(!t&&e&&null!=s&&s.length){const t=s.find(({country_code:t})=>t===e);n(t)}},[e,null==s?void 0:s.length])})(e,d,_,v),{selectedCountry:d,setSelectedCountry:_,countryConfig:w,countries:v,statesOrProvinces:f}}},72134:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(8833);function s(e){const t=(0,o.useRef)();return(0,o.useEffect)(()=>{t.current=e},[e]),t.current}}}]);
2//# sourceMappingURL=VehicleGridView-VehicleGridView.3145d6b3.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.