@local-logic/sdks-app 1.24.39 → 1.24.41
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/assets/{Attribution-BZJo6XLr.js → Attribution-BFX5_TA0.js} +2 -2
- package/dist/assets/{Attribution-BZJo6XLr.js.map → Attribution-BFX5_TA0.js.map} +1 -1
- package/dist/assets/{Attribution-legacy-BfZKp_jr.js → Attribution-legacy-CdR3a3DX.js} +2 -2
- package/dist/assets/{Attribution-legacy-BfZKp_jr.js.map → Attribution-legacy-CdR3a3DX.js.map} +1 -1
- package/dist/assets/{Cluster-BHQcO6iC-iF9qeh5_.js → Cluster-BHQcO6iC-BOZz2skE.js} +2 -2
- package/dist/assets/{Cluster-BHQcO6iC-iF9qeh5_.js.map → Cluster-BHQcO6iC-BOZz2skE.js.map} +1 -1
- package/dist/assets/{Cluster-BHQcO6iC-legacy-CFFn8bZl.js → Cluster-BHQcO6iC-legacy-B_rK_gsZ.js} +2 -2
- package/dist/assets/{Cluster-BHQcO6iC-legacy-CFFn8bZl.js.map → Cluster-BHQcO6iC-legacy-B_rK_gsZ.js.map} +1 -1
- package/dist/assets/{Google-CH7a2yx--3wHRFLqZ.js → Google-CH7a2yx--DwQd7dvh.js} +2 -2
- package/dist/assets/{Google-CH7a2yx--3wHRFLqZ.js.map → Google-CH7a2yx--DwQd7dvh.js.map} +1 -1
- package/dist/assets/{Google-CH7a2yx--legacy-DFZKWqKn.js → Google-CH7a2yx--legacy-C0xakqb8.js} +2 -2
- package/dist/assets/{Google-CH7a2yx--legacy-DFZKWqKn.js.map → Google-CH7a2yx--legacy-C0xakqb8.js.map} +1 -1
- package/dist/assets/{Google-CXGCn-oJ-CXnMtwaZ.js → Google-CXGCn-oJ-Dh7vAF1i.js} +2 -2
- package/dist/assets/{Google-CXGCn-oJ-CXnMtwaZ.js.map → Google-CXGCn-oJ-Dh7vAF1i.js.map} +1 -1
- package/dist/assets/{Google-CXGCn-oJ-legacy-_JD4Pa4T.js → Google-CXGCn-oJ-legacy-B35yyRBB.js} +2 -2
- package/dist/assets/{Google-CXGCn-oJ-legacy-_JD4Pa4T.js.map → Google-CXGCn-oJ-legacy-B35yyRBB.js.map} +1 -1
- package/dist/assets/{Google-D1kMMDIv-DWK-9hcq.js → Google-D1kMMDIv-CAaNq2xc.js} +2 -2
- package/dist/assets/{Google-D1kMMDIv-DWK-9hcq.js.map → Google-D1kMMDIv-CAaNq2xc.js.map} +1 -1
- package/dist/assets/{Google-D1kMMDIv-legacy-BGKqFZkc.js → Google-D1kMMDIv-legacy-CwFf8lIw.js} +2 -2
- package/dist/assets/{Google-D1kMMDIv-legacy-BGKqFZkc.js.map → Google-D1kMMDIv-legacy-CwFf8lIw.js.map} +1 -1
- package/dist/assets/{Google-DScXSvYv-legacy-BssQjKYU.js → Google-DScXSvYv-legacy-DEJ7UsBu.js} +2 -2
- package/dist/assets/{Google-DScXSvYv-legacy-BssQjKYU.js.map → Google-DScXSvYv-legacy-DEJ7UsBu.js.map} +1 -1
- package/dist/assets/{Google-DScXSvYv-DaJocK7M.js → Google-DScXSvYv-qp1ruzZ-.js} +2 -2
- package/dist/assets/{Google-DScXSvYv-DaJocK7M.js.map → Google-DScXSvYv-qp1ruzZ-.js.map} +1 -1
- package/dist/assets/{Google-qvGtRAuh-DJPedSaG.js → Google-qvGtRAuh-CubndKzb.js} +2 -2
- package/dist/assets/{Google-qvGtRAuh-DJPedSaG.js.map → Google-qvGtRAuh-CubndKzb.js.map} +1 -1
- package/dist/assets/{Google-qvGtRAuh-legacy-D5rkGNsq.js → Google-qvGtRAuh-legacy-CDAA2PYJ.js} +2 -2
- package/dist/assets/{Google-qvGtRAuh-legacy-D5rkGNsq.js.map → Google-qvGtRAuh-legacy-CDAA2PYJ.js.map} +1 -1
- package/dist/assets/{GridGraph-Tb9r5WqU.js → GridGraph-Ce2K4lJE.js} +2 -2
- package/dist/assets/{GridGraph-Tb9r5WqU.js.map → GridGraph-Ce2K4lJE.js.map} +1 -1
- package/dist/assets/{GridGraph-legacy-BJdMBSEf.js → GridGraph-legacy-QpuvSlS4.js} +2 -2
- package/dist/assets/{GridGraph-legacy-BJdMBSEf.js.map → GridGraph-legacy-QpuvSlS4.js.map} +1 -1
- package/dist/assets/{LeadCapture-QkyFLnf_.js → LeadCapture-DQ_u-trr.js} +2 -2
- package/dist/assets/{LeadCapture-QkyFLnf_.js.map → LeadCapture-DQ_u-trr.js.map} +1 -1
- package/dist/assets/{LeadCapture-legacy-DUJGndBJ.js → LeadCapture-legacy-9N32vfea.js} +2 -2
- package/dist/assets/{LeadCapture-legacy-DUJGndBJ.js.map → LeadCapture-legacy-9N32vfea.js.map} +1 -1
- package/dist/assets/{LocalContent-CPmxknE1.js → LocalContent-2pJKWECA.js} +2 -2
- package/dist/assets/{LocalContent-CPmxknE1.js.map → LocalContent-2pJKWECA.js.map} +1 -1
- package/dist/assets/{LocalContent-legacy-BRrAQl-R.js → LocalContent-legacy-DPfe8JRY.js} +2 -2
- package/dist/assets/{LocalContent-legacy-BRrAQl-R.js.map → LocalContent-legacy-DPfe8JRY.js.map} +1 -1
- package/dist/assets/{LocalDemographics-DoYRjheI.js → LocalDemographics-CCLrxAlH.js} +2 -2
- package/dist/assets/{LocalDemographics-DoYRjheI.js.map → LocalDemographics-CCLrxAlH.js.map} +1 -1
- package/dist/assets/{LocalDemographics-legacy-DlEk4ZPh.js → LocalDemographics-legacy-BpeV7vKR.js} +2 -2
- package/dist/assets/{LocalDemographics-legacy-DlEk4ZPh.js.map → LocalDemographics-legacy-BpeV7vKR.js.map} +1 -1
- package/dist/assets/{Mapbox-B7oionsm-Bti3i9dQ.js → Mapbox-B7oionsm-KJ9BTAVS.js} +2 -2
- package/dist/assets/{Mapbox-B7oionsm-Bti3i9dQ.js.map → Mapbox-B7oionsm-KJ9BTAVS.js.map} +1 -1
- package/dist/assets/{Mapbox-B7oionsm-legacy-CthokNte.js → Mapbox-B7oionsm-legacy-DOVfzEvQ.js} +2 -2
- package/dist/assets/{Mapbox-B7oionsm-legacy-CthokNte.js.map → Mapbox-B7oionsm-legacy-DOVfzEvQ.js.map} +1 -1
- package/dist/assets/{Mapbox-CIislOVu-DtzRCIrG.js → Mapbox-CIislOVu-CI4DWbq-.js} +2 -2
- package/dist/assets/{Mapbox-CIislOVu-DtzRCIrG.js.map → Mapbox-CIislOVu-CI4DWbq-.js.map} +1 -1
- package/dist/assets/{Mapbox-CIislOVu-legacy-DIGoj72K.js → Mapbox-CIislOVu-legacy-BE7lsxI8.js} +2 -2
- package/dist/assets/{Mapbox-CIislOVu-legacy-DIGoj72K.js.map → Mapbox-CIislOVu-legacy-BE7lsxI8.js.map} +1 -1
- package/dist/assets/{Mapbox-DDJ1gHRb-CuedRSZq.js → Mapbox-DDJ1gHRb-1dK4LbZk.js} +2 -2
- package/dist/assets/{Mapbox-DDJ1gHRb-CuedRSZq.js.map → Mapbox-DDJ1gHRb-1dK4LbZk.js.map} +1 -1
- package/dist/assets/{Mapbox-DDJ1gHRb-legacy-CW_kiJxl.js → Mapbox-DDJ1gHRb-legacy-p6YhQitU.js} +2 -2
- package/dist/assets/{Mapbox-DDJ1gHRb-legacy-CW_kiJxl.js.map → Mapbox-DDJ1gHRb-legacy-p6YhQitU.js.map} +1 -1
- package/dist/assets/{Mapbox-DtZmt1D_-vfqyqnh7.js → Mapbox-DtZmt1D_-BfV4qnN4.js} +2 -2
- package/dist/assets/{Mapbox-DtZmt1D_-vfqyqnh7.js.map → Mapbox-DtZmt1D_-BfV4qnN4.js.map} +1 -1
- package/dist/assets/{Mapbox-DtZmt1D_-legacy-Dx5bB72j.js → Mapbox-DtZmt1D_-legacy-Dd0GlX-Y.js} +2 -2
- package/dist/assets/{Mapbox-DtZmt1D_-legacy-Dx5bB72j.js.map → Mapbox-DtZmt1D_-legacy-Dd0GlX-Y.js.map} +1 -1
- package/dist/assets/{Mapbox-vp91lH9I-CAs_0sfe.js → Mapbox-vp91lH9I-CkAfe1Ca.js} +2 -2
- package/dist/assets/{Mapbox-vp91lH9I-CAs_0sfe.js.map → Mapbox-vp91lH9I-CkAfe1Ca.js.map} +1 -1
- package/dist/assets/{Mapbox-vp91lH9I-legacy-BgoomLp_.js → Mapbox-vp91lH9I-legacy-B00zbfjv.js} +2 -2
- package/dist/assets/{Mapbox-vp91lH9I-legacy-BgoomLp_.js.map → Mapbox-vp91lH9I-legacy-B00zbfjv.js.map} +1 -1
- package/dist/assets/{Maptiler-BQliPE7n-B7ARszoA.js → Maptiler-BQliPE7n-B4cS19Fa.js} +2 -2
- package/dist/assets/{Maptiler-BQliPE7n-B7ARszoA.js.map → Maptiler-BQliPE7n-B4cS19Fa.js.map} +1 -1
- package/dist/assets/{Maptiler-BQliPE7n-legacy-DcuCwh0v.js → Maptiler-BQliPE7n-legacy-DBnYfT32.js} +2 -2
- package/dist/assets/{Maptiler-BQliPE7n-legacy-DcuCwh0v.js.map → Maptiler-BQliPE7n-legacy-DBnYfT32.js.map} +1 -1
- package/dist/assets/{Maptiler-BtYYeJoo-WES9jrq_.js → Maptiler-BtYYeJoo-Vhp1tVrO.js} +2 -2
- package/dist/assets/{Maptiler-BtYYeJoo-WES9jrq_.js.map → Maptiler-BtYYeJoo-Vhp1tVrO.js.map} +1 -1
- package/dist/assets/{Maptiler-BtYYeJoo-legacy-CNWE4X_k.js → Maptiler-BtYYeJoo-legacy-CHcjlox7.js} +2 -2
- package/dist/assets/{Maptiler-BtYYeJoo-legacy-CNWE4X_k.js.map → Maptiler-BtYYeJoo-legacy-CHcjlox7.js.map} +1 -1
- package/dist/assets/{Maptiler-Cy2r6w4G-jxWC3gGH.js → Maptiler-Cy2r6w4G-BhmMrh_F.js} +2 -2
- package/dist/assets/{Maptiler-Cy2r6w4G-jxWC3gGH.js.map → Maptiler-Cy2r6w4G-BhmMrh_F.js.map} +1 -1
- package/dist/assets/{Maptiler-Cy2r6w4G-legacy-COhxgGfE.js → Maptiler-Cy2r6w4G-legacy-Dtiu6fim.js} +2 -2
- package/dist/assets/{Maptiler-Cy2r6w4G-legacy-COhxgGfE.js.map → Maptiler-Cy2r6w4G-legacy-Dtiu6fim.js.map} +1 -1
- package/dist/assets/{Maptiler-DJScKW8p-ILy8OFKG.js → Maptiler-DJScKW8p-B4sYvTN1.js} +2 -2
- package/dist/assets/{Maptiler-DJScKW8p-ILy8OFKG.js.map → Maptiler-DJScKW8p-B4sYvTN1.js.map} +1 -1
- package/dist/assets/{Maptiler-DJScKW8p-legacy-C-co5LEf.js → Maptiler-DJScKW8p-legacy-BfcUaZSe.js} +2 -2
- package/dist/assets/{Maptiler-DJScKW8p-legacy-C-co5LEf.js.map → Maptiler-DJScKW8p-legacy-BfcUaZSe.js.map} +1 -1
- package/dist/assets/{Maptiler-DqeshLom-BOdQvZVO.js → Maptiler-DqeshLom-Dj7UvFn7.js} +2 -2
- package/dist/assets/{Maptiler-DqeshLom-BOdQvZVO.js.map → Maptiler-DqeshLom-Dj7UvFn7.js.map} +1 -1
- package/dist/assets/{Maptiler-DqeshLom-legacy-CFQFxJw-.js → Maptiler-DqeshLom-legacy-bBrlYN2Q.js} +2 -2
- package/dist/assets/{Maptiler-DqeshLom-legacy-CFQFxJw-.js.map → Maptiler-DqeshLom-legacy-bBrlYN2Q.js.map} +1 -1
- package/dist/assets/{MarkerIcon-Bc3X9WQk-L8yQjJbr.js → MarkerIcon-Bc3X9WQk-CGChV4D4.js} +2 -2
- package/dist/assets/{MarkerIcon-Bc3X9WQk-L8yQjJbr.js.map → MarkerIcon-Bc3X9WQk-CGChV4D4.js.map} +1 -1
- package/dist/assets/{MarkerIcon-Bc3X9WQk-legacy-DUAfU9AS.js → MarkerIcon-Bc3X9WQk-legacy-BhBhhwrP.js} +2 -2
- package/dist/assets/{MarkerIcon-Bc3X9WQk-legacy-DUAfU9AS.js.map → MarkerIcon-Bc3X9WQk-legacy-BhBhhwrP.js.map} +1 -1
- package/dist/assets/{NeighborhoodCard-CspcUBzi.js → NeighborhoodCard-BaGtTms0.js} +2 -2
- package/dist/assets/{NeighborhoodCard-CspcUBzi.js.map → NeighborhoodCard-BaGtTms0.js.map} +1 -1
- package/dist/assets/{NeighborhoodCard-legacy-WZvnt_0B.js → NeighborhoodCard-legacy-B9W6aCqR.js} +2 -2
- package/dist/assets/{NeighborhoodCard-legacy-WZvnt_0B.js.map → NeighborhoodCard-legacy-B9W6aCqR.js.map} +1 -1
- package/dist/assets/{NeighborhoodCharacteristics-HffngCxm.js → NeighborhoodCharacteristics-D56qnuca.js} +2 -2
- package/dist/assets/{NeighborhoodCharacteristics-HffngCxm.js.map → NeighborhoodCharacteristics-D56qnuca.js.map} +1 -1
- package/dist/assets/{NeighborhoodCharacteristics-legacy-DIVxCNYX.js → NeighborhoodCharacteristics-legacy-DlowZFEG.js} +2 -2
- package/dist/assets/{NeighborhoodCharacteristics-legacy-DIVxCNYX.js.map → NeighborhoodCharacteristics-legacy-DlowZFEG.js.map} +1 -1
- package/dist/assets/{NeighborhoodDemographics-CxIpWVnb.js → NeighborhoodDemographics-C0jX8lOM.js} +2 -2
- package/dist/assets/{NeighborhoodDemographics-CxIpWVnb.js.map → NeighborhoodDemographics-C0jX8lOM.js.map} +1 -1
- package/dist/assets/{NeighborhoodDemographics-legacy-vex0EXld.js → NeighborhoodDemographics-legacy-CnNPTNnh.js} +2 -2
- package/dist/assets/{NeighborhoodDemographics-legacy-vex0EXld.js.map → NeighborhoodDemographics-legacy-CnNPTNnh.js.map} +1 -1
- package/dist/assets/{NeighborhoodFeatured-Bu1DrNnA.js → NeighborhoodFeatured-Dy3pyH2M.js} +2 -2
- package/dist/assets/{NeighborhoodFeatured-Bu1DrNnA.js.map → NeighborhoodFeatured-Dy3pyH2M.js.map} +1 -1
- package/dist/assets/{NeighborhoodFeatured-legacy-_fb6iGnR.js → NeighborhoodFeatured-legacy-BEY92Bli.js} +2 -2
- package/dist/assets/{NeighborhoodFeatured-legacy-_fb6iGnR.js.map → NeighborhoodFeatured-legacy-BEY92Bli.js.map} +1 -1
- package/dist/assets/{NeighborhoodHero-Cj8UoSlQ.js → NeighborhoodHero-Ccge3SCR.js} +2 -2
- package/dist/assets/{NeighborhoodHero-Cj8UoSlQ.js.map → NeighborhoodHero-Ccge3SCR.js.map} +1 -1
- package/dist/assets/{NeighborhoodHero-legacy-CZa7K7hP.js → NeighborhoodHero-legacy-Cb5s0tRe.js} +2 -2
- package/dist/assets/{NeighborhoodHero-legacy-CZa7K7hP.js.map → NeighborhoodHero-legacy-Cb5s0tRe.js.map} +1 -1
- package/dist/assets/{NeighborhoodHighlights-BhmiFgqL.js → NeighborhoodHighlights-BFiTF1H2.js} +2 -2
- package/dist/assets/{NeighborhoodHighlights-BhmiFgqL.js.map → NeighborhoodHighlights-BFiTF1H2.js.map} +1 -1
- package/dist/assets/{NeighborhoodHighlights-legacy-CRAA2b2s.js → NeighborhoodHighlights-legacy-BQJvJ1kW.js} +2 -2
- package/dist/assets/{NeighborhoodHighlights-legacy-CRAA2b2s.js.map → NeighborhoodHighlights-legacy-BQJvJ1kW.js.map} +1 -1
- package/dist/assets/{NeighborhoodMap-BnSbDjAD.js → NeighborhoodMap-Cs2mW6eY.js} +2 -2
- package/dist/assets/{NeighborhoodMap-BnSbDjAD.js.map → NeighborhoodMap-Cs2mW6eY.js.map} +1 -1
- package/dist/assets/{NeighborhoodMap-legacy-DsJR-_Ib.js → NeighborhoodMap-legacy-ItxtWyNg.js} +2 -2
- package/dist/assets/{NeighborhoodMap-legacy-DsJR-_Ib.js.map → NeighborhoodMap-legacy-ItxtWyNg.js.map} +1 -1
- package/dist/assets/{NeighborhoodMarketTrends-Cb_jS4T-.js → NeighborhoodMarketTrends-BPFS-IP7.js} +3 -3
- package/dist/assets/{NeighborhoodMarketTrends-Cb_jS4T-.js.map → NeighborhoodMarketTrends-BPFS-IP7.js.map} +1 -1
- package/dist/assets/{NeighborhoodMarketTrends-legacy-CbHN8M1x.js → NeighborhoodMarketTrends-legacy-BFUSfWBV.js} +2 -2
- package/dist/assets/{NeighborhoodMarketTrends-legacy-CbHN8M1x.js.map → NeighborhoodMarketTrends-legacy-BFUSfWBV.js.map} +1 -1
- package/dist/assets/{NeighborhoodMatch-CjzFnYBt.js → NeighborhoodMatch-DyGrO6rV.js} +2 -2
- package/dist/assets/{NeighborhoodMatch-CjzFnYBt.js.map → NeighborhoodMatch-DyGrO6rV.js.map} +1 -1
- package/dist/assets/{NeighborhoodMatch-legacy-Cki-459P.js → NeighborhoodMatch-legacy-Dk7eubJO.js} +2 -2
- package/dist/assets/{NeighborhoodMatch-legacy-Cki-459P.js.map → NeighborhoodMatch-legacy-Dk7eubJO.js.map} +1 -1
- package/dist/assets/{NeighborhoodPropertyValueDrivers-DE9yCMMy.js → NeighborhoodPropertyValueDrivers-CkZQt4Un.js} +2 -2
- package/dist/assets/{NeighborhoodPropertyValueDrivers-DE9yCMMy.js.map → NeighborhoodPropertyValueDrivers-CkZQt4Un.js.map} +1 -1
- package/dist/assets/{NeighborhoodPropertyValueDrivers-legacy-BDGnpUrH.js → NeighborhoodPropertyValueDrivers-legacy-t-PsDc7H.js} +2 -2
- package/dist/assets/{NeighborhoodPropertyValueDrivers-legacy-BDGnpUrH.js.map → NeighborhoodPropertyValueDrivers-legacy-t-PsDc7H.js.map} +1 -1
- package/dist/assets/{NeighborhoodSchools-DftPMblM.js → NeighborhoodSchools-CYj0W8g4.js} +2 -2
- package/dist/assets/{NeighborhoodSchools-DftPMblM.js.map → NeighborhoodSchools-CYj0W8g4.js.map} +1 -1
- package/dist/assets/{NeighborhoodSchools-legacy-Bt9eSjXU.js → NeighborhoodSchools-legacy-CIoYquJq.js} +2 -2
- package/dist/assets/{NeighborhoodSchools-legacy-Bt9eSjXU.js.map → NeighborhoodSchools-legacy-CIoYquJq.js.map} +1 -1
- package/dist/assets/{NeighborhoodShowcase-D7hHBYLI.js → NeighborhoodShowcase-CHCSD8YZ.js} +2 -2
- package/dist/assets/{NeighborhoodShowcase-D7hHBYLI.js.map → NeighborhoodShowcase-CHCSD8YZ.js.map} +1 -1
- package/dist/assets/{NeighborhoodShowcase-legacy-Ch3_MLRd.js → NeighborhoodShowcase-legacy-DyZTfaNU.js} +2 -2
- package/dist/assets/{NeighborhoodShowcase-legacy-Ch3_MLRd.js.map → NeighborhoodShowcase-legacy-DyZTfaNU.js.map} +1 -1
- package/dist/assets/{NoDataContent-BnqODeIj.js → NoDataContent-CEAzGzUq.js} +2 -2
- package/dist/assets/{NoDataContent-BnqODeIj.js.map → NoDataContent-CEAzGzUq.js.map} +1 -1
- package/dist/assets/{NoDataContent-legacy-AbG_5zRB.js → NoDataContent-legacy-DT86maak.js} +2 -2
- package/dist/assets/{NoDataContent-legacy-AbG_5zRB.js.map → NoDataContent-legacy-DT86maak.js.map} +1 -1
- package/dist/assets/{ResizeWrapper-B0ve6-E-.js → ResizeWrapper-D7ns3o39.js} +2 -2
- package/dist/assets/{ResizeWrapper-B0ve6-E-.js.map → ResizeWrapper-D7ns3o39.js.map} +1 -1
- package/dist/assets/{ResizeWrapper-legacy-DYQ5wMxT.js → ResizeWrapper-legacy-DibF7KTC.js} +2 -2
- package/dist/assets/{ResizeWrapper-legacy-DYQ5wMxT.js.map → ResizeWrapper-legacy-DibF7KTC.js.map} +1 -1
- package/dist/assets/{ScoreCardList-HkJ6lHt-.js → ScoreCardList-BYAr0xig.js} +2 -2
- package/dist/assets/{ScoreCardList-HkJ6lHt-.js.map → ScoreCardList-BYAr0xig.js.map} +1 -1
- package/dist/assets/{ScoreCardList-legacy-CzPnAXtg.js → ScoreCardList-legacy-Db7k9lb3.js} +2 -2
- package/dist/assets/{ScoreCardList-legacy-CzPnAXtg.js.map → ScoreCardList-legacy-Db7k9lb3.js.map} +1 -1
- package/dist/assets/{ScoreIcon-CzsXV_UW.js → ScoreIcon-CWGLoE_R.js} +2 -2
- package/dist/assets/{ScoreIcon-CzsXV_UW.js.map → ScoreIcon-CWGLoE_R.js.map} +1 -1
- package/dist/assets/{ScoreIcon-legacy-CtP7dMZz.js → ScoreIcon-legacy-DGUI0vRG.js} +2 -2
- package/dist/assets/{ScoreIcon-legacy-CtP7dMZz.js.map → ScoreIcon-legacy-DGUI0vRG.js.map} +1 -1
- package/dist/assets/{Testing--n5Ro0Ek-DqcApoud.js → Testing--n5Ro0Ek-DXRiz8JT.js} +2 -2
- package/dist/assets/{Testing--n5Ro0Ek-DqcApoud.js.map → Testing--n5Ro0Ek-DXRiz8JT.js.map} +1 -1
- package/dist/assets/{Testing--n5Ro0Ek-legacy-icxJIi6L.js → Testing--n5Ro0Ek-legacy-B6FpaP3L.js} +2 -2
- package/dist/assets/{Testing--n5Ro0Ek-legacy-icxJIi6L.js.map → Testing--n5Ro0Ek-legacy-B6FpaP3L.js.map} +1 -1
- package/dist/assets/{Testing-BNJwzbRK-ClqjNB8Z.js → Testing-BNJwzbRK-VAOz2xBT.js} +2 -2
- package/dist/assets/{Testing-BNJwzbRK-ClqjNB8Z.js.map → Testing-BNJwzbRK-VAOz2xBT.js.map} +1 -1
- package/dist/assets/{Testing-BNJwzbRK-legacy-AsNVfvV3.js → Testing-BNJwzbRK-legacy-CcRLjo0P.js} +2 -2
- package/dist/assets/{Testing-BNJwzbRK-legacy-AsNVfvV3.js.map → Testing-BNJwzbRK-legacy-CcRLjo0P.js.map} +1 -1
- package/dist/assets/{Testing-CoRLhmNT-DJceXLmB.js → Testing-CoRLhmNT-DkH9taDM.js} +2 -2
- package/dist/assets/{Testing-CoRLhmNT-DJceXLmB.js.map → Testing-CoRLhmNT-DkH9taDM.js.map} +1 -1
- package/dist/assets/{Testing-CoRLhmNT-legacy-DKUu-vde.js → Testing-CoRLhmNT-legacy-D75s8djK.js} +2 -2
- package/dist/assets/{Testing-CoRLhmNT-legacy-DKUu-vde.js.map → Testing-CoRLhmNT-legacy-D75s8djK.js.map} +1 -1
- package/dist/assets/{Testing-DGUeGxdc-jAggTLLh.js → Testing-DGUeGxdc-dBjPjKfX.js} +2 -2
- package/dist/assets/{Testing-DGUeGxdc-jAggTLLh.js.map → Testing-DGUeGxdc-dBjPjKfX.js.map} +1 -1
- package/dist/assets/{Testing-DGUeGxdc-legacy-txrl8G8G.js → Testing-DGUeGxdc-legacy-Bo3xf4lS.js} +2 -2
- package/dist/assets/{Testing-DGUeGxdc-legacy-txrl8G8G.js.map → Testing-DGUeGxdc-legacy-Bo3xf4lS.js.map} +1 -1
- package/dist/assets/{Testing-DzWAcbhL-gBDb3TPR.js → Testing-DzWAcbhL-CORqap_0.js} +2 -2
- package/dist/assets/{Testing-DzWAcbhL-gBDb3TPR.js.map → Testing-DzWAcbhL-CORqap_0.js.map} +1 -1
- package/dist/assets/{Testing-DzWAcbhL-legacy-Bz1ufOmE.js → Testing-DzWAcbhL-legacy-C_L0YDrv.js} +2 -2
- package/dist/assets/{Testing-DzWAcbhL-legacy-Bz1ufOmE.js.map → Testing-DzWAcbhL-legacy-C_L0YDrv.js.map} +1 -1
- package/dist/assets/{TitleHeader-legacy-Yq0pKMwQ.js → TitleHeader-legacy-Dkn0qrYi.js} +2 -2
- package/dist/assets/{TitleHeader-legacy-Yq0pKMwQ.js.map → TitleHeader-legacy-Dkn0qrYi.js.map} +1 -1
- package/dist/assets/{TitleHeader-BOwe_Hxw.js → TitleHeader-q22P7nGv.js} +2 -2
- package/dist/assets/{TitleHeader-BOwe_Hxw.js.map → TitleHeader-q22P7nGv.js.map} +1 -1
- package/dist/assets/{Trans-B3x1rhQP.js → Trans-CoQWpfjg.js} +2 -2
- package/dist/assets/{Trans-B3x1rhQP.js.map → Trans-CoQWpfjg.js.map} +1 -1
- package/dist/assets/{Trans-legacy-BpEZmEBR.js → Trans-legacy-CVX9qUZX.js} +2 -2
- package/dist/assets/{Trans-legacy-BpEZmEBR.js.map → Trans-legacy-CVX9qUZX.js.map} +1 -1
- package/dist/assets/{ValidateOptions-BoIx00p6.js → ValidateOptions-CBV1N5jv.js} +2 -2
- package/dist/assets/{ValidateOptions-BoIx00p6.js.map → ValidateOptions-CBV1N5jv.js.map} +1 -1
- package/dist/assets/{ValidateOptions-legacy-5tqMuOby.js → ValidateOptions-legacy-DSqr0GvA.js} +2 -2
- package/dist/assets/{ValidateOptions-legacy-5tqMuOby.js.map → ValidateOptions-legacy-DSqr0GvA.js.map} +1 -1
- package/dist/assets/{dist-DFMrEPsn.js → dist-BS0nF9v1.js} +2 -2
- package/dist/assets/{dist-DFMrEPsn.js.map → dist-BS0nF9v1.js.map} +1 -1
- package/dist/assets/{dist-legacy-bgie6J-I.js → dist-legacy-DvNzEKrH.js} +2 -2
- package/dist/assets/{dist-legacy-bgie6J-I.js.map → dist-legacy-DvNzEKrH.js.map} +1 -1
- package/dist/assets/{getMapProviderConfig-1qf7M196.js → getMapProviderConfig-Bzfs0Sdc.js} +3 -3
- package/dist/assets/{getMapProviderConfig-1qf7M196.js.map → getMapProviderConfig-Bzfs0Sdc.js.map} +1 -1
- package/dist/assets/{getMapProviderConfig-legacy-D8K_GpbB.js → getMapProviderConfig-legacy-J1T1rgyn.js} +2 -2
- package/dist/assets/{getMapProviderConfig-legacy-D8K_GpbB.js.map → getMapProviderConfig-legacy-J1T1rgyn.js.map} +1 -1
- package/dist/assets/index-_e6zO9FA.js +3 -0
- package/dist/assets/index-_e6zO9FA.js.map +1 -0
- package/dist/assets/index-legacy-D77-aBOf.js +2 -0
- package/dist/assets/index-legacy-D77-aBOf.js.map +1 -0
- package/dist/assets/{index.es-L77mCMKI.js → index.es-CWTeuLFE.js} +2 -2
- package/dist/assets/{index.es-L77mCMKI.js.map → index.es-CWTeuLFE.js.map} +1 -1
- package/dist/assets/{index.es-legacy-DCXU9yWo.js → index.es-legacy-C0a6QEDw.js} +2 -2
- package/dist/assets/{index.es-legacy-DCXU9yWo.js.map → index.es-legacy-C0a6QEDw.js.map} +1 -1
- package/dist/assets/{mapbox-jb8Zev6T-BlcXJqNS.js → mapbox-jb8Zev6T-Ddgqj9VI.js} +2 -2
- package/dist/assets/{mapbox-jb8Zev6T-BlcXJqNS.js.map → mapbox-jb8Zev6T-Ddgqj9VI.js.map} +1 -1
- package/dist/assets/{mapbox-jb8Zev6T-legacy-5YjFAABq.js → mapbox-jb8Zev6T-legacy-vMWDQC6s.js} +2 -2
- package/dist/assets/{mapbox-jb8Zev6T-legacy-5YjFAABq.js.map → mapbox-jb8Zev6T-legacy-vMWDQC6s.js.map} +1 -1
- package/dist/assets/{maplibre-CUYkxr-D-DrCn-oAI.js → maplibre-CUYkxr-D-C7Skcfn8.js} +2 -2
- package/dist/assets/{maplibre-CUYkxr-D-DrCn-oAI.js.map → maplibre-CUYkxr-D-C7Skcfn8.js.map} +1 -1
- package/dist/assets/{maplibre-CUYkxr-D-legacy-CYB3Kihw.js → maplibre-CUYkxr-D-legacy-CuAPk6TP.js} +2 -2
- package/dist/assets/{maplibre-CUYkxr-D-legacy-CYB3Kihw.js.map → maplibre-CUYkxr-D-legacy-CuAPk6TP.js.map} +1 -1
- package/dist/assets/neighborhood-fallback-CizB5oi9.js.map +1 -1
- package/dist/assets/sdks-BuksrzcW.js +2 -0
- package/dist/assets/sdks-BuksrzcW.js.map +1 -0
- package/dist/assets/sdks-legacy-CoLf_W4Z.js +2 -0
- package/dist/assets/sdks-legacy-CoLf_W4Z.js.map +1 -0
- package/dist/assets/{useDemographicsData-BVysiSHi.js → useDemographicsData-B4it1cPj.js} +2 -2
- package/dist/assets/{useDemographicsData-BVysiSHi.js.map → useDemographicsData-B4it1cPj.js.map} +1 -1
- package/dist/assets/{useDemographicsData-legacy-CxtMmefE.js → useDemographicsData-legacy-BYnQNjDv.js} +2 -2
- package/dist/assets/{useDemographicsData-legacy-CxtMmefE.js.map → useDemographicsData-legacy-BYnQNjDv.js.map} +1 -1
- package/dist/assets/{useGeographies-Dwh65ZNv.js → useGeographies-h5AWa9mj.js} +2 -2
- package/dist/assets/{useGeographies-Dwh65ZNv.js.map → useGeographies-h5AWa9mj.js.map} +1 -1
- package/dist/assets/{useGeographies-legacy-C1KaCkDe.js → useGeographies-legacy-D7XUaxgU.js} +2 -2
- package/dist/assets/{useGeographies-legacy-C1KaCkDe.js.map → useGeographies-legacy-D7XUaxgU.js.map} +1 -1
- package/dist/assets/{useIsMobile-D0ute0_2.js → useIsMobile-CEgZCKoT.js} +2 -2
- package/dist/assets/{useIsMobile-D0ute0_2.js.map → useIsMobile-CEgZCKoT.js.map} +1 -1
- package/dist/assets/{useIsMobile-legacy-BoD5Raet.js → useIsMobile-legacy-BYXlMXeW.js} +2 -2
- package/dist/assets/{useIsMobile-legacy-BoD5Raet.js.map → useIsMobile-legacy-BYXlMXeW.js.map} +1 -1
- package/dist/assets/{useLocation-BvPxZ2EB.js → useLocation-KxuXzpB1.js} +2 -2
- package/dist/assets/{useLocation-BvPxZ2EB.js.map → useLocation-KxuXzpB1.js.map} +1 -1
- package/dist/assets/{useLocation-legacy-UxSoaQ23.js → useLocation-legacy-TYbGg3Qq.js} +2 -2
- package/dist/assets/{useLocation-legacy-UxSoaQ23.js.map → useLocation-legacy-TYbGg3Qq.js.map} +1 -1
- package/dist/assets/{useProfiles-8Ts7IxaF.js → useProfiles-BMZF6PTl.js} +2 -2
- package/dist/assets/{useProfiles-8Ts7IxaF.js.map → useProfiles-BMZF6PTl.js.map} +1 -1
- package/dist/assets/{useProfiles-legacy-CXE2gbpF.js → useProfiles-legacy-CtdD2AM8.js} +2 -2
- package/dist/assets/{useProfiles-legacy-CXE2gbpF.js.map → useProfiles-legacy-CtdD2AM8.js.map} +1 -1
- package/dist/assets/{useSchools-Du8flig0.js → useSchools-Dmfxgddk.js} +2 -2
- package/dist/assets/{useSchools-Du8flig0.js.map → useSchools-Dmfxgddk.js.map} +1 -1
- package/dist/assets/{useSchools-legacy-CqpKyT0D.js → useSchools-legacy-CBA1yga4.js} +2 -2
- package/dist/assets/{useSchools-legacy-CqpKyT0D.js.map → useSchools-legacy-CBA1yga4.js.map} +1 -1
- package/dist/assets/{useScores-sXwU61au.js → useScores-BYEwsLLe.js} +2 -2
- package/dist/assets/{useScores-sXwU61au.js.map → useScores-BYEwsLLe.js.map} +1 -1
- package/dist/assets/{useScores-legacy-DD_ol9qX.js → useScores-legacy-CCbzbNWr.js} +2 -2
- package/dist/assets/{useScores-legacy-DD_ol9qX.js.map → useScores-legacy-CCbzbNWr.js.map} +1 -1
- package/dist/index.html +2 -2
- package/dist/types/App.d.ts.map +1 -1
- package/dist/types/App.js +0 -18
- package/dist/types/App.js.map +1 -1
- package/dist/types/tracking/tracker/index.d.ts.map +1 -1
- package/dist/types/tracking/tracker/index.js +15 -0
- package/dist/types/tracking/tracker/index.js.map +1 -1
- package/dist/types/utils/errorTracker/index.d.ts.map +1 -1
- package/dist/types/utils/errorTracker/index.js +62 -14
- package/dist/types/utils/errorTracker/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/assets/index-BJuTCMET.js +0 -3
- package/dist/assets/index-BJuTCMET.js.map +0 -1
- package/dist/assets/index-legacy-kyEaSclL.js +0 -2
- package/dist/assets/index-legacy-kyEaSclL.js.map +0 -1
- package/dist/assets/sdks-LPZZCGgD.js +0 -2
- package/dist/assets/sdks-LPZZCGgD.js.map +0 -1
- package/dist/assets/sdks-legacy-CedyQdYU.js +0 -2
- package/dist/assets/sdks-legacy-CedyQdYU.js.map +0 -1
package/dist/assets/{useIsMobile-legacy-BoD5Raet.js.map → useIsMobile-legacy-BYXlMXeW.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsMobile-legacy-BoD5Raet.js","names":[],"sources":["../../../../node_modules/lodash.debounce/index.js","../../src/hooks/useIsMobile.ts"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","import { useState, useLayoutEffect } from \"react\";\nimport debounce from \"lodash.debounce\";\nimport { baseStyles } from \"~/components/deprecated\";\n\nconst useIsMobile = (): boolean => {\n const [isMobile, setIsMobile] = useState(false);\n\n useLayoutEffect(() => {\n const updateSize = (): void => {\n setIsMobile(window.innerWidth < baseStyles.screenSizes.tablet);\n };\n window.addEventListener(\"resize\", debounce(updateSize, 250));\n\n updateSize();\n\n return (): void => window.removeEventListener(\"resize\", updateSize);\n }, []);\n\n return isMobile;\n};\n\nexport default useIsMobile;\n"],"x_google_ignoreList":[0],"mappings":"sSAUA,IASI,EAAS,aAGT,EAAa,qBAGb,EAAa,aAGb,EAAY,cAGZ,EAAe,SAGf,EAA8B,iBAAV,GAAsB,GAAU,EAAO,SAAW,QAAU,EAGhF,EAA0B,iBAAR,MAAoB,MAAQ,KAAK,SAAW,QAAU,KAGxE,EAAO,GAAc,GAAY,SAAS,cAAT,GAUjC,EAPc,OAAO,UAOQ,SAG7B,EAAY,KAAK,IACjB,EAAY,KAAK,IAkBjB,EAAM,WACR,OAAO,EAAK,KAAK,OA4MnB,SAAS,EAAS,GAChB,IAAI,SAAc,EAClB,QAAS,IAAkB,UAAR,GAA4B,Y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W,EACf,GAeT,SAAS,IACP,IAAI,EAAO,IACP,EAAa,EAAa,GAM9B,GAJA,EAAW,UACX,EAAW,KACX,EAAe,EAEX,EAAY,CACd,QAAgB,IAAZ,EACF,OAvEN,SAAqB,GAMnB,OAJA,EAAiB,EAEjB,EAAU,WAAW,EAAc,GAE5B,EAAU,EAAW,GAAQ,EAiEzB,CAAY,GAErB,GAAI,EAGF,OADA,EAAU,WAAW,EAAc,GAC5B,EAAW,GAMtB,YAHgB,IAAZ,IACF,EAAU,WAAW,EAAc,IAE9B,EAIT,OAxGA,EAAO,EAAS,IAAS,EACrB,EAAS,KACX,IAAY,EAAQ,QAEpB,GADA,EAAS,YAAa,GACH,EAAU,EAAS,EAAQ,UAAY,EAAG,GAAQ,EACrE,EAAW,aAAc,IAAY,EAAQ,SAAW,GAiG1D,EAAU,OAnCV,gBACkB,IAAZ,GACF,aAAa,GAEf,EAAiB,EACjB,EAAW,EAAe,EAAW,OAAU,GA+BjD,EAAU,MA5BV,WACE,YAAmB,IAAZ,EAAwB,EAAS,EAAa,MA4BhD,iCCrPH,KACJ,MAAO,EAAU,IAAA,EAAA,EAAA,WAAwB,GAazC,OAXA,EAAA,EAAA,iBAAA,KACE,MAAM,EAAA,KACJ,EAAY,OAAO,WAAa,EAAW,YAAY,SAMzD,OAJA,OAAO,iBAAiB,UAAA,EAAA,EAAA,SAAmB,EAAY,MAEvD,IAEA,IAAmB,OAAO,oBAAoB,SAAU,IACvD,IAEI"}
|
|
1
|
+
{"version":3,"file":"useIsMobile-legacy-BYXlMXeW.js","names":[],"sources":["../../../../node_modules/lodash.debounce/index.js","../../src/hooks/useIsMobile.ts"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","import { useState, useLayoutEffect } from \"react\";\nimport debounce from \"lodash.debounce\";\nimport { baseStyles } from \"~/components/deprecated\";\n\nconst useIsMobile = (): boolean => {\n const [isMobile, setIsMobile] = useState(false);\n\n useLayoutEffect(() => {\n const updateSize = (): void => {\n setIsMobile(window.innerWidth < baseStyles.screenSizes.tablet);\n };\n window.addEventListener(\"resize\", debounce(updateSize, 250));\n\n updateSize();\n\n return (): void => window.removeEventListener(\"resize\", updateSize);\n }, []);\n\n return isMobile;\n};\n\nexport default useIsMobile;\n"],"x_google_ignoreList":[0],"mappings":"sSAUA,IASI,EAAS,aAGT,EAAa,qBAGb,EAAa,aAGb,EAAY,cAGZ,EAAe,SAGf,EAA8B,iBAAV,GAAsB,GAAU,EAAO,SAAW,QAAU,EAGhF,EAA0B,iBAAR,MAAoB,MAAQ,KAAK,SAAW,QAAU,KAGxE,EAAO,GAAc,GAAY,SAAS,cAAT,GAUjC,EAPc,OAAO,UAOQ,SAG7B,EAAY,KAAK,I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,EAAU,EAAQ,GAHR,EAAO,IAGkC,EAoBhC,CAAc,IAGnD,SAAS,EAAa,GAKpB,OAJA,OAAU,EAIN,GAAY,EACP,EAAW,IAEpB,EAAW,OAAW,EACf,GAeT,SAAS,IACP,IAAI,EAAO,IACP,EAAa,EAAa,GAM9B,GAJA,EAAW,UACX,EAAW,KACX,EAAe,EAEX,EAAY,CACd,QAAgB,IAAZ,EACF,OAvEN,SAAqB,GAMnB,OAJA,EAAiB,EAEjB,EAAU,WAAW,EAAc,GAE5B,EAAU,EAAW,GAAQ,EAiEzB,CAAY,GAErB,GAAI,EAGF,OADA,EAAU,WAAW,EAAc,GAC5B,EAAW,GAMtB,YAHgB,IAAZ,IACF,EAAU,WAAW,EAAc,IAE9B,EAIT,OAxGA,EAAO,EAAS,IAAS,EACrB,EAAS,KACX,IAAY,EAAQ,QAEpB,GADA,EAAS,YAAa,GACH,EAAU,EAAS,EAAQ,UAAY,EAAG,GAAQ,EACrE,EAAW,aAAc,IAAY,EAAQ,SAAW,GAiG1D,EAAU,OAnCV,gBACkB,IAAZ,GACF,aAAa,GAEf,EAAiB,EACjB,EAAW,EAAe,EAAW,OAAU,GA+BjD,EAAU,MA5BV,WACE,YAAmB,IAAZ,EAAwB,EAAS,EAAa,MA4BhD,iCCrPH,KACJ,MAAO,EAAU,IAAA,EAAA,EAAA,WAAwB,GAazC,OAXA,EAAA,EAAA,iBAAA,KACE,MAAM,EAAA,KACJ,EAAY,OAAO,WAAa,EAAW,YAAY,SAMzD,OAJA,OAAO,iBAAiB,UAAA,EAAA,EAAA,SAAmB,EAAY,MAEvD,IAEA,IAAmB,OAAO,oBAAoB,SAAU,IACvD,IAEI"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./rolldown-runtime-C_ttsnZz.js";import{l as a}from"./google-maps-vendor-DvfEEdRU.js";import{i as o,m as s}from"./sdks-
|
|
2
|
-
//# sourceMappingURL=useLocation-
|
|
1
|
+
import{a as t}from"./rolldown-runtime-C_ttsnZz.js";import{l as a}from"./google-maps-vendor-DvfEEdRU.js";import{i as o,m as s}from"./sdks-BuksrzcW.js";var e={all:()=>["locations"],list:t=>[...e.all(),t]},n=t(a(),1);function r({lat:t,lng:a}){const{client:r}=o(),l={lat:t||NaN,lng:a||NaN},{isLoading:i,data:m}=s({queryKey:e.list(l),queryFn:async()=>r.getLocation(l),enabled:!!l});return{isLoading:i,data:(0,n.useMemo)(()=>"united states"===m?.country?.toLowerCase()?{country:"USA",state:m.state}:{country:"CAN",state:m?.state||""},[m])}}export{r as t};
|
|
2
|
+
//# sourceMappingURL=useLocation-KxuXzpB1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocation-
|
|
1
|
+
{"version":3,"file":"useLocation-KxuXzpB1.js","names":[],"sources":["../../src/features/locations/keyFactory.ts","../../src/hooks/useLocation/index.ts"],"sourcesContent":["import { locationsResponse } from \"./types\";\n\nexport const locationsKeys = {\n all: () => [\"locations\"] as const,\n list: (filters: Partial<locationsResponse>) =>\n [...locationsKeys.all(), filters] as const,\n};\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useMemo } from \"react\";\nimport { useLocalLogic } from \"~/context/LocalLogicProvider\";\nimport { type Location } from \"~/types/sdks\";\nimport { locationsResponse, locationsKeys } from \"~/features/locations\";\n\nexport function useLocation({ lat, lng }: Location) {\n const { client } = useLocalLogic();\n const options: locationsResponse = {\n lat: lat || NaN,\n lng: lng || NaN,\n };\n\n const { isLoading, data } = useQuery({\n queryKey: locationsKeys.list(options),\n queryFn: async () =>\n client.getLocation(options as unknown as locationsResponse),\n enabled: !!options,\n });\n\n const response = useMemo(() => {\n if (data?.country?.toLowerCase() === \"united states\") {\n return { country: \"USA\", state: data.state };\n }\n\n return { country: \"CAN\", state: data?.state || \"\" };\n }, [data]);\n\n return { isLoading, data: response };\n}\n"],"mappings":"sJAEA,IAAa,EAAgB,CAC3B,IAAA,IAAW,CAAC,aACZ,KAAO,GACL,IAAI,EAAc,MAAO,eCC7B,SAAgB,GAAY,IAAE,EAAA,IAAK,IACjC,MAAM,OAAE,GAAW,IACb,EAA6B,CACjC,IAAK,GAAO,IACZ,IAAK,GAAO,MAGR,UAAE,EAAA,KAAW,GAAS,EAAS,CACnC,SAAU,EAAc,KAAK,GAC7B,QAAS,SACP,EAAO,YAAY,GACrB,UAAW,IAWb,MAAO,CAAE,YAAW,MAAA,EAAA,EAAA,SAAA,IAPmB,kBAAjC,GAAM,SAAS,cACV,CAAE,QAAS,MAAO,MAAO,EAAK,OAGhC,CAAE,QAAS,MAAO,MAAO,GAAM,OAAS,IAC9C,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./google-maps-vendor-legacy-CPuMOKGq.js","./sdks-legacy-
|
|
2
|
-
//# sourceMappingURL=useLocation-legacy-
|
|
1
|
+
System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./google-maps-vendor-legacy-CPuMOKGq.js","./sdks-legacy-CoLf_W4Z.js"],function(t,n){var e,a,o,l,s,i;return t("t",function({lat:t,lng:n}){const{client:e}=o(),a={lat:t||NaN,lng:n||NaN},{isLoading:u,data:r}=l({queryKey:s.list(a),queryFn:async()=>e.getLocation(a),enabled:!!a});return{isLoading:u,data:(0,i.useMemo)(()=>{var t;return"united states"===(null==r||null===(t=r.country)||void 0===t?void 0:t.toLowerCase())?{country:"USA",state:r.state}:{country:"CAN",state:(null==r?void 0:r.state)||""}},[r])}}),{setters:[function(t){e=t.a},function(t){a=t.l},function(t){o=t.i,l=t.m}],execute:function(){s={all:()=>["locations"],list:t=>[...s.all(),t]},i=e(a(),1)}}});
|
|
2
|
+
//# sourceMappingURL=useLocation-legacy-TYbGg3Qq.js.map
|
package/dist/assets/{useLocation-legacy-UxSoaQ23.js.map → useLocation-legacy-TYbGg3Qq.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocation-legacy-
|
|
1
|
+
{"version":3,"file":"useLocation-legacy-TYbGg3Qq.js","names":[],"sources":["../../src/features/locations/keyFactory.ts","../../src/hooks/useLocation/index.ts"],"sourcesContent":["import { locationsResponse } from \"./types\";\n\nexport const locationsKeys = {\n all: () => [\"locations\"] as const,\n list: (filters: Partial<locationsResponse>) =>\n [...locationsKeys.all(), filters] as const,\n};\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useMemo } from \"react\";\nimport { useLocalLogic } from \"~/context/LocalLogicProvider\";\nimport { type Location } from \"~/types/sdks\";\nimport { locationsResponse, locationsKeys } from \"~/features/locations\";\n\nexport function useLocation({ lat, lng }: Location) {\n const { client } = useLocalLogic();\n const options: locationsResponse = {\n lat: lat || NaN,\n lng: lng || NaN,\n };\n\n const { isLoading, data } = useQuery({\n queryKey: locationsKeys.list(options),\n queryFn: async () =>\n client.getLocation(options as unknown as locationsResponse),\n enabled: !!options,\n });\n\n const response = useMemo(() => {\n if (data?.country?.toLowerCase() === \"united states\") {\n return { country: \"USA\", state: data.state };\n }\n\n return { country: \"CAN\", state: data?.state || \"\" };\n }, [data]);\n\n return { isLoading, data: response };\n}\n"],"mappings":"2KCMA,UAA4B,IAAE,EAAA,IAAK,IACjC,MAAM,OAAE,GAAW,IACb,EAA6B,CACjC,IAAK,GAAO,IACZ,IAAK,GAAO,MAGR,UAAE,EAAA,KAAW,GAAS,EAAS,CACnC,SAAU,EAAc,KAAK,GAC7B,QAAS,SACP,EAAO,YAAY,GACrB,UAAW,IAWb,MAAO,CAAE,YAAW,MAAA,EAAA,EAAA,SAAA,KARW,IAAA,EAC7B,MAAqC,mBAAjC,SAAM,QAAN,EAAA,EAAM,eAAA,IAAA,OAAA,EAAN,EAAe,eACV,CAAE,QAAS,MAAO,MAAO,EAAK,OAGhC,CAAE,QAAS,MAAO,OAAO,aAAA,EAAA,EAAM,QAAS,KAC9C,CAAC,oGDxBO,EAAgB,CAC3B,IAAA,IAAW,CAAC,aACZ,KAAO,GACL,IAAI,EAAc,MAAO"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as l,m as e}from"./sdks-
|
|
2
|
-
//# sourceMappingURL=useProfiles-
|
|
1
|
+
import{i as l,m as e}from"./sdks-BuksrzcW.js";var t={all:()=>["profiles"],list:l=>[...t.all(),l]};function a({location:a,geogID:n,externalId:r}){const{client:s}=l();return e({queryKey:t.list(a),queryFn:async()=>await s.getProfiles({...n?{geogId:n}:{lat:a?.lat,lng:a?.lng},externalId:r}),enabled:!!a?.lat&&!!a?.lng||!!n})}export{a as t};
|
|
2
|
+
//# sourceMappingURL=useProfiles-BMZF6PTl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useProfiles-
|
|
1
|
+
{"version":3,"file":"useProfiles-BMZF6PTl.js","names":[],"sources":["../../src/features/profiles/keyFactory.ts","../../src/features/clientLibrary/useProfiles.ts"],"sourcesContent":["import { profilesParameters } from \"./types\";\n\nexport const profilesKeys = {\n all: () => [\"profiles\"] as const,\n list: (filters: Partial<profilesParameters>) =>\n [...profilesKeys.all(), filters] as const,\n};\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useLocalLogic } from \"~/context/LocalLogicProvider\";\nimport { profilesKeys } from \"~/features/profiles\";\n\ntype ProfilesParams = {\n location?: {\n lat?: number;\n lng?: number;\n };\n geogID?: string;\n externalId?: string;\n};\n\nexport function useProfiles({ location, geogID, externalId }: ProfilesParams) {\n const { client } = useLocalLogic();\n\n const fetchProfiles = async () => {\n const response = await client.getProfiles({\n ...(geogID\n ? {\n geogId: geogID,\n }\n : {\n lat: location?.lat,\n lng: location?.lng,\n }),\n externalId,\n });\n\n return response;\n };\n\n return useQuery({\n queryKey: profilesKeys.list(location!),\n queryFn: fetchProfiles,\n enabled: (!!location?.lat && !!location?.lng) || !!geogID,\n });\n}\n"],"mappings":"8CAEA,IAAa,EAAe,CAC1B,IAAA,IAAW,CAAC,YACZ,KAAO,GACL,IAAI,EAAa,MAAO,ICQ5B,SAAgB,GAAY,SAAE,EAAA,OAAU,EAAA,WAAQ,IAC9C,MAAM,OAAE,GAAW,IAkBnB,OAAO,EAAS,CACd,SAAU,EAAa,KAAK,GAC5B,QAlBoB,eACG,EAAO,YAAY,IACpC,EACA,CACE,OAAQ,GAEV,CACE,IAAK,GAAU,IACf,IAAK,GAAU,KAErB,eASF,UAAY,GAAU,OAAS,GAAU,OAAU"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach(function(e){r(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}System.register(["./sdks-legacy-
|
|
2
|
-
//# sourceMappingURL=useProfiles-legacy-
|
|
1
|
+
!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach(function(e){r(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}System.register(["./sdks-legacy-CoLf_W4Z.js"],function(e,r){var n,i,o;return e("t",function({location:e,geogID:r,externalId:l}){const{client:c}=n();return i({queryKey:o.list(e),queryFn:async()=>await c.getProfiles(t(t({},r?{geogId:r}:{lat:null==e?void 0:e.lat,lng:null==e?void 0:e.lng}),{},{externalId:l})),enabled:!(null==e||!e.lat)&&!(null==e||!e.lng)||!!r})}),{setters:[function(e){n=e.i,i=e.m}],execute:function(){o={all:()=>["profiles"],list:e=>[...o.all(),e]}}}})}();
|
|
2
|
+
//# sourceMappingURL=useProfiles-legacy-CtdD2AM8.js.map
|
package/dist/assets/{useProfiles-legacy-CXE2gbpF.js.map → useProfiles-legacy-CtdD2AM8.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useProfiles-legacy-
|
|
1
|
+
{"version":3,"file":"useProfiles-legacy-CtdD2AM8.js","names":[],"sources":["../../src/features/profiles/keyFactory.ts","../../src/features/clientLibrary/useProfiles.ts"],"sourcesContent":["import { profilesParameters } from \"./types\";\n\nexport const profilesKeys = {\n all: () => [\"profiles\"] as const,\n list: (filters: Partial<profilesParameters>) =>\n [...profilesKeys.all(), filters] as const,\n};\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useLocalLogic } from \"~/context/LocalLogicProvider\";\nimport { profilesKeys } from \"~/features/profiles\";\n\ntype ProfilesParams = {\n location?: {\n lat?: number;\n lng?: number;\n };\n geogID?: string;\n externalId?: string;\n};\n\nexport function useProfiles({ location, geogID, externalId }: ProfilesParams) {\n const { client } = useLocalLogic();\n\n const fetchProfiles = async () => {\n const response = await client.getProfiles({\n ...(geogID\n ? {\n geogId: geogID,\n }\n : {\n lat: location?.lat,\n lng: location?.lng,\n }),\n externalId,\n });\n\n return response;\n };\n\n return useQuery({\n queryKey: profilesKeys.list(location!),\n queryFn: fetchProfiles,\n enabled: (!!location?.lat && !!location?.lng) || !!geogID,\n });\n}\n"],"mappings":"qlCCaA,UAA4B,SAAE,EAAA,OAAU,EAAA,WAAQ,IAC9C,MAAM,OAAE,GAAW,IAkBnB,OAAO,EAAS,CACd,SAAU,EAAa,KAAK,GAC5B,QAlBoB,eACG,EAAO,YAAA,EAAA,EAAA,CAAA,EACxB,EACA,CACE,OAAQ,GAEV,CACE,IAAK,aAAA,EAAA,EAAU,IACf,IAAK,aAAA,EAAA,EAAU,MAChB,CAAA,EAAA,CACL,gBASF,UAAY,UAAA,EAAU,QAAS,UAAA,EAAU,QAAU,6DDjC1C,EAAe,CAC1B,IAAA,IAAW,CAAC,YACZ,KAAO,GACL,IAAI,EAAa,MAAO,GAC3B,EAAA,EAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as e,m as t}from"./sdks-
|
|
2
|
-
//# sourceMappingURL=useSchools-
|
|
1
|
+
import{i as e,m as t}from"./sdks-BuksrzcW.js";var l=e=>e.charAt(0).toUpperCase()+e.slice(1),s=({houseNumber:e,street:t,city:l,state:s,country:i,postalCode:a})=>[`${e?""+(e&&t?`${e} `:`${e}`):""}${t||""}`,l,s,i,a].reduceRight((e,t)=>e&&t?`${t}, ${e}`:t||e||"")||"",i={all:()=>["schools"],list:e=>[...i.all(),e]};function a({lat:l,lng:s,geogId:a,include:n,radius:c=2e3,buffer:r=0,limit:u=30,attemptMinimum:o,includeCatchments:m=!1}){const{client:d}=e(),g={include:n,limit:u,attemptMinimum:o,include_catchments:m};return a?(g.geogId=a,g.buffer=r):(g.lat=l,g.lng=s,g.radius=c),t({queryKey:i.list(g),queryFn:async()=>d.getSchools(g),staleTime:1/0,enabled:!!(g&&g.include?.length&&(a||g.lat&&g.lng))})}export{l as n,s as r,a as t};
|
|
2
|
+
//# sourceMappingURL=useSchools-Dmfxgddk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSchools-
|
|
1
|
+
{"version":3,"file":"useSchools-Dmfxgddk.js","names":[],"sources":["../../src/utils/primitives/stringUtils.ts","../../src/features/schools/keyFactory.ts","../../src/features/clientLibrary/useSchools.ts"],"sourcesContent":["export const pluralize = (\n textSingular: string,\n count: number,\n textPlural?: string,\n) => {\n if (count === 1) {\n return textSingular;\n }\n\n return textPlural ?? `${textSingular}s`;\n};\n\nexport const capitalize = (text: string) =>\n text.charAt(0).toUpperCase() + text.slice(1);\n\nexport const formatAddress = ({\n houseNumber,\n street,\n city,\n state,\n country,\n postalCode,\n}: {\n country?: string;\n state?: string;\n city?: string;\n postalCode?: string;\n county?: string;\n street?: string;\n houseNumber?: string;\n}) => {\n // Complicated ternary... could be built with if statements.\n // However, this shouldn't change often. The following line formats\n // the address as such (basically puttin a space between house number and street):\n // \"123 Wood St\" || \"123\" || \"Wood St\"\n const streetAddress = `${\n houseNumber\n ? `${houseNumber && street ? `${houseNumber} ` : `${houseNumber}`}`\n : \"\"\n }${street || \"\"}`;\n\n return (\n [streetAddress, city, state, country, postalCode].reduceRight(\n (previous, current) => {\n if (previous && current) {\n return `${current}, ${previous}`;\n }\n\n return current || previous || \"\";\n },\n ) || \"\"\n );\n};\n","import { schoolsResponse } from \"./types\";\n\nexport const schoolsKeys = {\n all: () => [\"schools\"] as const,\n list: (filters: Partial<schoolsResponse>) =>\n [...schoolsKeys.all(), filters] as const,\n};\n","import { useQuery } from \"@tanstack/react-query\";\nimport type { Schools } from \"@local-logic/client\";\nimport { useLocalLogic } from \"~/context/LocalLogicProvider\";\n\nimport { schoolsKeys, schoolsResponse } from \"~/features/schools\";\n\nexport type SchoolsParams = {\n lat?: number;\n lng?: number;\n geogId?: string;\n limit?: number;\n // Include is used to specify whether the query should run or not\n // And also to make this hoook look like the usePois hook which has a similar structure\n include?: (keyof Schools)[];\n radius?: number;\n buffer?: number;\n attemptMinimum?: number;\n includeCatchments?: boolean;\n};\n\nexport function useSchools({\n lat,\n lng,\n geogId,\n include,\n radius = 2000,\n buffer = 0,\n // 30 is the default limit and maximum number of schools returned by the API\n limit = 30,\n attemptMinimum,\n includeCatchments = false,\n}: SchoolsParams) {\n const { client } = useLocalLogic();\n\n const options: Omit<SchoolsParams, \"includeCatchments\"> & {\n include_catchments?: boolean;\n } = {\n include,\n limit,\n attemptMinimum,\n include_catchments: includeCatchments,\n };\n\n if (geogId) {\n options.geogId = geogId;\n options.buffer = buffer;\n } else {\n options.lat = lat;\n options.lng = lng;\n options.radius = radius;\n }\n\n return useQuery({\n queryKey: schoolsKeys.list(options),\n queryFn: async () =>\n client.getSchools(options as unknown as schoolsResponse),\n staleTime: Infinity,\n enabled:\n !!options &&\n !!options.include?.length &&\n (!!geogId || (!!options.lat && !!options.lng)),\n });\n}\n"],"mappings":"8CAYA,IAAa,EAAc,GACzB,EAAK,OAAO,GAAG,cAAgB,EAAK,MAAM,GAE/B,EAAA,EACX,cACA,SACA,OACA,QACA,UACA,gBAqBE,CAAC,GAND,EACI,IAAG,GAAe,EAAS,GAAG,KAAiB,GAAG,KAClD,KACH,GAAU,KAGK,EAAM,EAAO,EAAS,GAAY,YAAA,CAC/C,EAAU,IACL,GAAY,EACP,GAAG,MAAY,IAGjB,GAAW,GAAY,KAE7B,GChDI,EAAc,CACzB,IAAA,IAAW,CAAC,WACZ,KAAO,GACL,IAAI,EAAY,MAAO,ICe3B,SAAgB,GAAW,IACzB,EAAA,IACA,EAAA,OACA,EAAA,QACA,EAAA,OACA,EAAS,IAAA,OACT,EAAS,EAAA,MAET,EAAQ,GAAA,eACR,EAAA,kBACA,GAAoB,IAEpB,MAAM,OAAE,GAAW,IAEb,EAEF,CACF,UACA,QACA,iBACA,mBAAoB,GAYtB,OATI,GACF,EAAQ,OAAS,EACjB,EAAQ,OAAS,IAEjB,EAAQ,IAAM,EACd,EAAQ,IAAM,EACd,EAAQ,OAAS,GAGZ,EAAS,CACd,SAAU,EAAY,KAAK,GAC3B,QAAS,SACP,EAAO,WAAW,GACpB,UAAW,IACX,WACI,GACA,EAAQ,SAAS,SAChB,GAAa,EAAQ,KAAS,EAAQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./sdks-legacy-
|
|
2
|
-
//# sourceMappingURL=useSchools-legacy-
|
|
1
|
+
System.register(["./sdks-legacy-CoLf_W4Z.js"],function(e,t){var n,l,i;return e("t",function({lat:e,lng:t,geogId:s,include:u,radius:c=2e3,buffer:r=0,limit:a=30,attemptMinimum:o,includeCatchments:d=!1}){var m;const{client:g}=n(),f={include:u,limit:a,attemptMinimum:o,include_catchments:d};return s?(f.geogId=s,f.buffer=r):(f.lat=e,f.lng=t,f.radius=c),l({queryKey:i.list(f),queryFn:async()=>g.getSchools(f),staleTime:1/0,enabled:!!(f&&null!==(m=f.include)&&void 0!==m&&m.length&&(s||f.lat&&f.lng))})}),{setters:[function(e){n=e.i,l=e.m}],execute:function(){e("n",e=>e.charAt(0).toUpperCase()+e.slice(1)),e("r",({houseNumber:e,street:t,city:n,state:l,country:i,postalCode:s})=>[`${e?e&&t?`${e} `:`${e}`:""}${t||""}`,n,l,i,s].reduceRight((e,t)=>e&&t?`${t}, ${e}`:t||e||"")||""),i={all:()=>["schools"],list:e=>[...i.all(),e]}}}});
|
|
2
|
+
//# sourceMappingURL=useSchools-legacy-CBA1yga4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSchools-legacy-
|
|
1
|
+
{"version":3,"file":"useSchools-legacy-CBA1yga4.js","names":[],"sources":["../../src/utils/primitives/stringUtils.ts","../../src/features/schools/keyFactory.ts","../../src/features/clientLibrary/useSchools.ts"],"sourcesContent":["export const pluralize = (\n textSingular: string,\n count: number,\n textPlural?: string,\n) => {\n if (count === 1) {\n return textSingular;\n }\n\n return textPlural ?? `${textSingular}s`;\n};\n\nexport const capitalize = (text: string) =>\n text.charAt(0).toUpperCase() + text.slice(1);\n\nexport const formatAddress = ({\n houseNumber,\n street,\n city,\n state,\n country,\n postalCode,\n}: {\n country?: string;\n state?: string;\n city?: string;\n postalCode?: string;\n county?: string;\n street?: string;\n houseNumber?: string;\n}) => {\n // Complicated ternary... could be built with if statements.\n // However, this shouldn't change often. The following line formats\n // the address as such (basically puttin a space between house number and street):\n // \"123 Wood St\" || \"123\" || \"Wood St\"\n const streetAddress = `${\n houseNumber\n ? `${houseNumber && street ? `${houseNumber} ` : `${houseNumber}`}`\n : \"\"\n }${street || \"\"}`;\n\n return (\n [streetAddress, city, state, country, postalCode].reduceRight(\n (previous, current) => {\n if (previous && current) {\n return `${current}, ${previous}`;\n }\n\n return current || previous || \"\";\n },\n ) || \"\"\n );\n};\n","import { schoolsResponse } from \"./types\";\n\nexport const schoolsKeys = {\n all: () => [\"schools\"] as const,\n list: (filters: Partial<schoolsResponse>) =>\n [...schoolsKeys.all(), filters] as const,\n};\n","import { useQuery } from \"@tanstack/react-query\";\nimport type { Schools } from \"@local-logic/client\";\nimport { useLocalLogic } from \"~/context/LocalLogicProvider\";\n\nimport { schoolsKeys, schoolsResponse } from \"~/features/schools\";\n\nexport type SchoolsParams = {\n lat?: number;\n lng?: number;\n geogId?: string;\n limit?: number;\n // Include is used to specify whether the query should run or not\n // And also to make this hoook look like the usePois hook which has a similar structure\n include?: (keyof Schools)[];\n radius?: number;\n buffer?: number;\n attemptMinimum?: number;\n includeCatchments?: boolean;\n};\n\nexport function useSchools({\n lat,\n lng,\n geogId,\n include,\n radius = 2000,\n buffer = 0,\n // 30 is the default limit and maximum number of schools returned by the API\n limit = 30,\n attemptMinimum,\n includeCatchments = false,\n}: SchoolsParams) {\n const { client } = useLocalLogic();\n\n const options: Omit<SchoolsParams, \"includeCatchments\"> & {\n include_catchments?: boolean;\n } = {\n include,\n limit,\n attemptMinimum,\n include_catchments: includeCatchments,\n };\n\n if (geogId) {\n options.geogId = geogId;\n options.buffer = buffer;\n } else {\n options.lat = lat;\n options.lng = lng;\n options.radius = radius;\n }\n\n return useQuery({\n queryKey: schoolsKeys.list(options),\n queryFn: async () =>\n client.getSchools(options as unknown as schoolsResponse),\n staleTime: Infinity,\n enabled:\n !!options &&\n !!options.include?.length &&\n (!!geogId || (!!options.lat && !!options.lng)),\n });\n}\n"],"mappings":"mFEoBA,UAA2B,IACzB,EAAA,IACA,EAAA,OACA,EAAA,QACA,EAAA,OACA,EAAS,IAAA,OACT,EAAS,EAAA,MAET,EAAQ,GAAA,eACR,EAAA,kBACA,GAAoB,IACJ,IAAA,EAChB,MAAM,OAAE,GAAW,IAEb,EAEF,CACF,UACA,QACA,iBACA,mBAAoB,GAYtB,OATI,GACF,EAAQ,OAAS,EACjB,EAAQ,OAAS,IAEjB,EAAQ,IAAM,EACd,EAAQ,IAAM,EACd,EAAQ,OAAS,GAGZ,EAAS,CACd,SAAU,EAAY,KAAK,GAC3B,QAAS,SACP,EAAO,WAAW,GACpB,UAAW,IACX,WACI,GACQ,QAAT,EAAC,EAAQ,eAAA,IAAA,GAAR,EAAiB,SAChB,GAAa,EAAQ,KAAS,EAAQ,uEFhDpB,GACzB,EAAK,OAAO,GAAG,cAAgB,EAAK,MAAM,IAAE,EAAA,IAEjC,EACX,cACA,SACA,OACA,QACA,UACA,gBAqBE,CAAC,GAND,EACO,GAAe,EAAS,GAAG,KAAiB,GAAG,IAClD,KACH,GAAU,KAGK,EAAM,EAAO,EAAS,GAAY,YAAA,CAC/C,EAAU,IACL,GAAY,EACP,GAAG,MAAY,IAGjB,GAAW,GAAY,KAE7B,IChDI,EAAc,CACzB,IAAA,IAAW,CAAC,WACZ,KAAO,GACL,IAAI,EAAY,MAAO,GAC1B,EAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as l,m as e}from"./sdks-
|
|
2
|
-
//# sourceMappingURL=useScores-
|
|
1
|
+
import{i as l,m as e}from"./sdks-BuksrzcW.js";var a={all:()=>["scores"],list:l=>[...a.all(),l]};function o({include:o,location:n,geographyId:s}){const{client:t,locale:r}=l(),c={locationScoresRounding:!1,include:o};return s?c.geographyIds=[s]:(c.lat=n.lat,c.lng=n.lng,c.geographyLevels=["20","30"]),e({queryKey:a.list({...c,locale:r}),queryFn:async()=>t.getScores(c),staleTime:1/0,enabled:!!n?.lat&&!!n?.lng||!!s})}export{o as t};
|
|
2
|
+
//# sourceMappingURL=useScores-BYEwsLLe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScores-
|
|
1
|
+
{"version":3,"file":"useScores-BYEwsLLe.js","names":[],"sources":["../../src/features/scores/keyFactory.ts","../../src/features/clientLibrary/useScores.ts"],"sourcesContent":["import { scoresResponse } from \"./types\";\n\nexport const scoresKeys = {\n all: () => [\"scores\"] as const,\n list: (filters: Partial<scoresResponse & { locale: string }>) =>\n [...scoresKeys.all(), filters] as const,\n};\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useLocalLogic } from \"~/context/LocalLogicProvider\";\nimport { scoresResponse, scoresKeys } from \"~/features/scores\";\n\nexport function useScores({\n include,\n location,\n geographyId,\n}: {\n include?: Partial<scoresResponse>[\"include\"];\n location: {\n lat?: number;\n lng?: number;\n };\n geographyId?: string;\n}) {\n const { client, locale } = useLocalLogic();\n const options: scoresResponse = {\n locationScoresRounding: false,\n include,\n };\n\n if (geographyId) {\n options.geographyIds = [geographyId];\n } else {\n options.lat = location.lat;\n options.lng = location.lng;\n options.geographyLevels = [\"20\", \"30\"];\n }\n\n return useQuery({\n queryKey: scoresKeys.list({ ...options, locale }),\n queryFn: async () => client.getScores(options),\n staleTime: Infinity,\n enabled: (!!location?.lat && !!location?.lng) || !!geographyId,\n });\n}\n"],"mappings":"8CAEA,IAAa,EAAa,CACxB,IAAA,IAAW,CAAC,UACZ,KAAO,GACL,IAAI,EAAW,MAAO,ICD1B,SAAgB,GAAU,QACxB,EAAA,SACA,EAAA,YACA,IASA,MAAM,OAAE,EAAA,OAAQ,GAAW,IACrB,EAA0B,CAC9B,wBAAwB,EACxB,WAWF,OARI,EACF,EAAQ,aAAe,CAAC,IAExB,EAAQ,IAAM,EAAS,IACvB,EAAQ,IAAM,EAAS,IACvB,EAAQ,gBAAkB,CAAC,KAAM,OAG5B,EAAS,CACd,SAAU,EAAW,KAAK,IAAK,EAAS,WACxC,QAAS,SAAY,EAAO,UAAU,GACtC,UAAW,IACX,UAAY,GAAU,OAAS,GAAU,OAAU"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach(function(e){r(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}System.register(["./sdks-legacy-
|
|
2
|
-
//# sourceMappingURL=useScores-legacy-
|
|
1
|
+
!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach(function(e){r(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}System.register(["./sdks-legacy-CoLf_W4Z.js"],function(e,r){var n,o,i;return e("t",function({include:e,location:r,geographyId:c}){const{client:l,locale:u}=n(),a={locationScoresRounding:!1,include:e};return c?a.geographyIds=[c]:(a.lat=r.lat,a.lng=r.lng,a.geographyLevels=["20","30"]),o({queryKey:i.list(t(t({},a),{},{locale:u})),queryFn:async()=>l.getScores(a),staleTime:1/0,enabled:!(null==r||!r.lat)&&!(null==r||!r.lng)||!!c})}),{setters:[function(e){n=e.i,o=e.m}],execute:function(){i={all:()=>["scores"],list:e=>[...i.all(),e]}}}})}();
|
|
2
|
+
//# sourceMappingURL=useScores-legacy-CCbzbNWr.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScores-legacy-
|
|
1
|
+
{"version":3,"file":"useScores-legacy-CCbzbNWr.js","names":[],"sources":["../../src/features/scores/keyFactory.ts","../../src/features/clientLibrary/useScores.ts"],"sourcesContent":["import { scoresResponse } from \"./types\";\n\nexport const scoresKeys = {\n all: () => [\"scores\"] as const,\n list: (filters: Partial<scoresResponse & { locale: string }>) =>\n [...scoresKeys.all(), filters] as const,\n};\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useLocalLogic } from \"~/context/LocalLogicProvider\";\nimport { scoresResponse, scoresKeys } from \"~/features/scores\";\n\nexport function useScores({\n include,\n location,\n geographyId,\n}: {\n include?: Partial<scoresResponse>[\"include\"];\n location: {\n lat?: number;\n lng?: number;\n };\n geographyId?: string;\n}) {\n const { client, locale } = useLocalLogic();\n const options: scoresResponse = {\n locationScoresRounding: false,\n include,\n };\n\n if (geographyId) {\n options.geographyIds = [geographyId];\n } else {\n options.lat = location.lat;\n options.lng = location.lng;\n options.geographyLevels = [\"20\", \"30\"];\n }\n\n return useQuery({\n queryKey: scoresKeys.list({ ...options, locale }),\n queryFn: async () => client.getScores(options),\n staleTime: Infinity,\n enabled: (!!location?.lat && !!location?.lng) || !!geographyId,\n });\n}\n"],"mappings":"qlCCIA,UAA0B,QACxB,EAAA,SACA,EAAA,YACA,IASA,MAAM,OAAE,EAAA,OAAQ,GAAW,IACrB,EAA0B,CAC9B,wBAAwB,EACxB,WAWF,OARI,EACF,EAAQ,aAAe,CAAC,IAExB,EAAQ,IAAM,EAAS,IACvB,EAAQ,IAAM,EAAS,IACvB,EAAQ,gBAAkB,CAAC,KAAM,OAG5B,EAAS,CACd,SAAU,EAAW,KAAA,EAAA,EAAA,CAAA,EAAU,GAAA,CAAA,EAAA,CAAS,YACxC,QAAS,SAAY,EAAO,UAAU,GACtC,UAAW,IACX,UAAY,UAAA,EAAU,QAAS,UAAA,EAAU,QAAU,6DDhC1C,EAAa,CACxB,IAAA,IAAW,CAAC,UACZ,KAAO,GACL,IAAI,EAAW,MAAO,GACzB,EAAA,EAAA"}
|
package/dist/index.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="manifest" href="/sdks-app/v1/assets/site-BwHFeIBa.webmanifest" />
|
|
13
13
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
|
14
14
|
<title>Local Logic</title>
|
|
15
|
-
<script type="module" crossorigin src="/sdks-app/v1/assets/index-
|
|
15
|
+
<script type="module" crossorigin src="/sdks-app/v1/assets/index-_e6zO9FA.js"></script>
|
|
16
16
|
<link rel="modulepreload" crossorigin href="/sdks-app/v1/assets/rolldown-runtime-C_ttsnZz.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="/sdks-app/v1/assets/google-maps-vendor-DvfEEdRU.js">
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/sdks-app/v1/assets/index-D_4bIbNj.css">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<div id="root"></div>
|
|
25
25
|
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
|
|
26
26
|
<script nomodule crossorigin id="vite-legacy-polyfill" src="/sdks-app/v1/assets/polyfills-legacy-DR7m8P0y.js"></script>
|
|
27
|
-
<script nomodule crossorigin id="vite-legacy-entry" data-src="/sdks-app/v1/assets/index-legacy-
|
|
27
|
+
<script nomodule crossorigin id="vite-legacy-entry" data-src="/sdks-app/v1/assets/index-legacy-D77-aBOf.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
|
28
28
|
</body>
|
|
29
29
|
|
|
30
30
|
</html>
|
package/dist/types/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,CAAC;AAQhB,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,CAAC;AAQhB,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,QAAA,MAAM,GAAG,yBAsBR,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
package/dist/types/App.js
CHANGED
|
@@ -20,30 +20,12 @@ const queryClient = new QueryClient({
|
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
22
|
});
|
|
23
|
-
// ⚠️⚠️ TEMPORARY — SENTRY VERIFICATION ONLY. REMOVE AFTER TESTING. ⚠️⚠️
|
|
24
|
-
// Throws a render error whenever the widget URL contains `sentry-test` (e.g.
|
|
25
|
-
// open the iframe's src directly with `&sentry-test` appended). It exists only
|
|
26
|
-
// to confirm that errors reach Sentry with resolved source maps and the React
|
|
27
|
-
// component stack. It is placed as the first child inside the ErrorBoundary so
|
|
28
|
-
// it fires even when the widget has no options loaded (e.g. the iframe URL
|
|
29
|
-
// opened standalone, with no parent channel connected).
|
|
30
|
-
// NOTE: Sentry is only enabled in a production build (or with
|
|
31
|
-
// VITE_SENTRY_ENABLED=true), and source maps are only uploaded for prod
|
|
32
|
-
// releases — test against the prod URL. DELETE this component and its usage
|
|
33
|
-
// below once verified.
|
|
34
|
-
const SentryTest = () => {
|
|
35
|
-
if (window.location.search.includes("sentry-test")) {
|
|
36
|
-
throw new Error(`Sentry verification test — ${new Date().toISOString()}`);
|
|
37
|
-
}
|
|
38
|
-
return null;
|
|
39
|
-
};
|
|
40
23
|
const App = () => (React.createElement(React.Fragment, null,
|
|
41
24
|
React.createElement(ErrorBoundary, { FallbackComponent: ErrorFallback,
|
|
42
25
|
// Report render errors to Sentry (with React component stack) while still
|
|
43
26
|
// showing the fallback UI. The boundary otherwise swallows the error
|
|
44
27
|
// before Sentry's global handlers can see it.
|
|
45
28
|
onError: reactErrorHandler() },
|
|
46
|
-
React.createElement(SentryTest, null),
|
|
47
29
|
React.createElement(RouteTemplates, null,
|
|
48
30
|
React.createElement(QueryClientProvider, { client: queryClient },
|
|
49
31
|
React.createElement(StateManagerProvider, null,
|
package/dist/types/App.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.js","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,CAAC;AAEhB,yDAAyD;AACzD,+EAA+E;AAC/E,wCAAwC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,aAAa,MAAM,4BAA4B,CAAC;AACvD,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,WAAW,GAAG,IAAI,WAAW,CAAC;IAClC,cAAc,EAAE;QACd,OAAO,EAAE;YACP,KAAK,EAAE,CAAC;YACR,SAAS,EAAE,QAAQ;SACpB;KACF;CACF,CAAC,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"App.js","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,CAAC;AAEhB,yDAAyD;AACzD,+EAA+E;AAC/E,wCAAwC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,aAAa,MAAM,4BAA4B,CAAC;AACvD,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,WAAW,GAAG,IAAI,WAAW,CAAC;IAClC,cAAc,EAAE;QACd,OAAO,EAAE;YACP,KAAK,EAAE,CAAC;YACR,SAAS,EAAE,QAAQ;SACpB;KACF;CACF,CAAC,CAAC;AAEH,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC,CAChB;IACE,oBAAC,aAAa,IACZ,iBAAiB,EAAE,aAAa;QAChC,0EAA0E;QAC1E,qEAAqE;QACrE,8CAA8C;QAC9C,OAAO,EAAE,iBAAiB,EAAE;QAE5B,oBAAC,cAAc;YACb,oBAAC,mBAAmB,IAAC,MAAM,EAAE,WAAW;gBACtC,oBAAC,oBAAoB;oBACnB,oBAAC,mBAAmB;wBAClB,oBAAC,gBAAgB;4BACf,oBAAC,MAAM,OAAG,CACO,CACC,CACD,CACH,CACP,CACH,CACf,CACJ,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tracking/tracker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tracking/tracker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAU,MAAM,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,UAAU,GAAI,UAAU,QAAQ,MAAY,QAAQ,MAAM,kBA8DtE,CAAC"}
|
|
@@ -7,6 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
+
import { RequestError } from "../utils/classes/RequestError";
|
|
10
11
|
import { schema } from "./validator";
|
|
11
12
|
export const trackingFn = (requests) => (params) => __awaiter(void 0, void 0, void 0, function* () {
|
|
12
13
|
const validated = yield schema.validate(params);
|
|
@@ -41,6 +42,20 @@ export const trackingFn = (requests) => (params) => __awaiter(void 0, void 0, vo
|
|
|
41
42
|
// Sentry pollution.
|
|
42
43
|
return undefined;
|
|
43
44
|
}
|
|
45
|
+
if (err instanceof RequestError) {
|
|
46
|
+
// Tracking is fire-and-forget: a non-OK response from the tracking
|
|
47
|
+
// endpoint (e.g. an authorization/permission denial from track-v2) is a
|
|
48
|
+
// server-side concern, not a frontend bug. Re-throwing it here escapes as
|
|
49
|
+
// an unhandled promise rejection (via the @Catch decorator on
|
|
50
|
+
// Methods.postEvent) and was our single largest Sentry noise source, so
|
|
51
|
+
// we drop it.
|
|
52
|
+
//
|
|
53
|
+
// This only closes the thrown-exception path. httpClientIntegration still
|
|
54
|
+
// independently reports in-range failures on analytics.locallogic.co at
|
|
55
|
+
// the network layer (5xx, etc. — 401/403 are excluded there too), so
|
|
56
|
+
// genuine tracking-backend outages remain visible as http.client events.
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
44
59
|
throw err;
|
|
45
60
|
}
|
|
46
61
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tracking/tracker/index.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAU,MAAM,aAAa,CAAC;AAE7C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,QAAkB,EAAE,EAAE,CAAC,CAAO,MAAc,EAAE,EAAE;IACzE,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChD,MAAM,EACJ,UAAU,EAAE,SAAS,EACrB,WAAW,EACX,aAAa,EAAE,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WAAW,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAC1D,CAAC;YACD,yGAAyG;YACzG,oBAAoB;YACpB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,GAAG,YAAY,YAAY,EAAE,CAAC;YAChC,mEAAmE;YACnE,wEAAwE;YACxE,0EAA0E;YAC1E,8DAA8D;YAC9D,wEAAwE;YACxE,cAAc;YACd,EAAE;YACF,0EAA0E;YAC1E,wEAAwE;YACxE,qEAAqE;YACrE,yEAAyE;YACzE,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,GAAG,CAAC;IACZ,CAAC;AACH,CAAC,CAAA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/errorTracker/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,aAAa,IAAI,mBAAmB,EAErC,MAAM,eAAe,CAAC;AAGvB,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,IAAI,GACJ,SAAS,CAAC;AACd,MAAM,MAAM,SAAS,GAAG;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/errorTracker/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,aAAa,IAAI,mBAAmB,EAErC,MAAM,eAAe,CAAC;AAGvB,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,IAAI,GACJ,SAAS,CAAC;AACd,MAAM,MAAM,SAAS,GAAG;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AA2LF;;;GAGG;AACH,cAAM,YAAY;;IAqFT,gBAAgB,CAAC,KAAK,EAAE,KAAK;IAM7B,aAAa,CAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,MAAM,EACb,KAAK,GAAE,mBAA4B;IAU9B,OAAO,CAAC,IAAI,EAAE,SAAS;IAI9B;;OAEG;IACH,OAAO,CAAC,GAAG;CAGZ;AAED,QAAA,MAAM,qBAAqB,wBAAoC,CAAC;AAChE,eAAe,qBAAqB,CAAC"}
|
|
@@ -144,6 +144,35 @@ const getMapVendor = (event) => {
|
|
|
144
144
|
const file = (topFrame === null || topFrame === void 0 ? void 0 : topFrame.filename) || (topFrame === null || topFrame === void 0 ? void 0 : topFrame.abs_path) || "";
|
|
145
145
|
return ((_e = (_d = mapVendorPatterns.find(({ pattern }) => pattern.test(file))) === null || _d === void 0 ? void 0 : _d.vendor) !== null && _e !== void 0 ? _e : null);
|
|
146
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* Signatures of automated traffic — declared crawlers, scrapers, headless
|
|
149
|
+
* browsers, and scripting HTTP clients. Matched against navigator.userAgent.
|
|
150
|
+
* Kept intentionally conservative so we don't drop real users' errors.
|
|
151
|
+
*/
|
|
152
|
+
const BOT_USER_AGENT = /bot|crawl|spider|slurp|mediapartners|headless|phantom|puppeteer|playwright|selenium|scrapy|curl|wget|python-requests|axios|facebookexternalhit|bingpreview|lighthouse|pingdom|gtmetrix|semrush|ahrefs|mj12|dotbot|petalbot|bytespider|dataprovider/i;
|
|
153
|
+
/**
|
|
154
|
+
* Best-effort, client-side detection of bot traffic. We use this to drop
|
|
155
|
+
* failed-request errors coming from automation: crawlers and scrapers hit the
|
|
156
|
+
* data APIs at volume with keys/origins that get 4xx'd, and were the bulk of
|
|
157
|
+
* our Sentry noise, but they aren't a real user problem we can fix.
|
|
158
|
+
*
|
|
159
|
+
* Limitation: this only catches automation that *declares* itself (bot UA,
|
|
160
|
+
* webdriver flag, empty UA). Scrapers that spoof a real browser UA can't be
|
|
161
|
+
* reliably identified from the browser. Those are better handled server-side
|
|
162
|
+
* (WAF / API rate-limiting) or via a Sentry inbound IP/geo filter.
|
|
163
|
+
*/
|
|
164
|
+
const isLikelyBot = () => {
|
|
165
|
+
if (typeof navigator === "undefined")
|
|
166
|
+
return false;
|
|
167
|
+
// Automation-controlled browsers (Puppeteer, Playwright, Selenium) set this.
|
|
168
|
+
if (navigator.webdriver)
|
|
169
|
+
return true;
|
|
170
|
+
const ua = navigator.userAgent || "";
|
|
171
|
+
// Real browsers always send a user agent; an empty one implies a script.
|
|
172
|
+
if (!ua)
|
|
173
|
+
return true;
|
|
174
|
+
return BOT_USER_AGENT.test(ua);
|
|
175
|
+
};
|
|
147
176
|
const CONSOLE_LOG_IDENTIFER = "[Local Logic] ";
|
|
148
177
|
/**
|
|
149
178
|
* This is a light wrapper around Sentry. We can augment different Sentry
|
|
@@ -165,31 +194,50 @@ class ErrorTracker {
|
|
|
165
194
|
ignoreErrors,
|
|
166
195
|
denyUrls,
|
|
167
196
|
allowUrls,
|
|
168
|
-
//
|
|
169
|
-
//
|
|
170
|
-
//
|
|
171
|
-
//
|
|
172
|
-
//
|
|
173
|
-
//
|
|
174
|
-
//
|
|
175
|
-
// too (and vice versa).
|
|
197
|
+
// Source maps now resolve via Debug IDs injected by @sentry/vite-plugin
|
|
198
|
+
// at build time, so resolution no longer depends on release/dist matching.
|
|
199
|
+
// release/dist are still reported for release health + event grouping and
|
|
200
|
+
// should stay aligned with the "Create Sentry release" step in
|
|
201
|
+
// .github/workflows/release.yml:
|
|
202
|
+
// release ← action-release `version` (the sdks-app package version)
|
|
203
|
+
// dist ← action-release `dist` (the commit SHA)
|
|
176
204
|
release: FULL_APP_VERSION, // == npm_package_version (see vite.config.ts define)
|
|
177
205
|
dist: VITE_COMMIT_SHA, // == `git rev-parse HEAD`, trimmed (see vite.config.ts)
|
|
178
206
|
integrations: [
|
|
179
207
|
httpClientIntegration({
|
|
180
|
-
// Capture
|
|
181
|
-
|
|
182
|
-
//
|
|
183
|
-
//
|
|
208
|
+
// Capture 4xx–5xx except the auth codes 401 and 403. Those are
|
|
209
|
+
// expected outcomes (a key without access, or bad/spoofed origins),
|
|
210
|
+
// not bugs we can fix, and were the bulk of our noise. Everything else
|
|
211
|
+
// — 400, 402, and 404–599 — is kept, and bot-driven noise across those
|
|
212
|
+
// codes is stripped separately in beforeSend via isLikelyBot.
|
|
213
|
+
failedRequestStatusCodes: [400, 402, [404, 599]],
|
|
214
|
+
// Which hosts count as "our API" for failure reporting. We enumerate
|
|
215
|
+
// the actual API hosts rather than a blanket *.locallogic.co, because
|
|
216
|
+
// that wildcard would also match non-API subdomains — sdk./staging.
|
|
217
|
+
// (which serve the SDK JS bundle + static assets) and try./marketing
|
|
218
|
+
// pages — turning a CDN/asset hiccup into a phantom API error.
|
|
184
219
|
failedRequestTargets: [
|
|
185
|
-
|
|
186
|
-
|
|
220
|
+
// Data + service APIs: api (v3 + neighborhood-management),
|
|
221
|
+
// reports-api (leads reports), providers-api (commute/directions).
|
|
222
|
+
// The //-prefix anchors to the host so patterns don't bleed.
|
|
223
|
+
/\/\/(api|reports-api|providers-api)(-qa)?\.locallogic\.co/,
|
|
224
|
+
// Analytics ingestion. These are fire-and-forget tracking calls, so
|
|
225
|
+
// a failure won't break a widget — but now that we only report 5xx,
|
|
226
|
+
// a 5xx here is a genuine signal our tracking backend is down, which
|
|
227
|
+
// is worth knowing. Drop this line if the tracking noise returns.
|
|
228
|
+
/\/\/analytics\.locallogic\.co/,
|
|
187
229
|
],
|
|
188
230
|
}),
|
|
189
231
|
httpContextIntegration(),
|
|
190
232
|
extraErrorDataIntegration(),
|
|
191
233
|
],
|
|
192
234
|
beforeSend(event) {
|
|
235
|
+
// Drop errors from automated traffic (declared crawlers, scrapers,
|
|
236
|
+
// headless browsers). They generate 4xx/5xx API failures at volume but
|
|
237
|
+
// aren't actionable. See isLikelyBot for scope and limitations.
|
|
238
|
+
if (isLikelyBot()) {
|
|
239
|
+
return null;
|
|
240
|
+
}
|
|
193
241
|
// Tag (rather than drop) errors thrown from third-party map libraries,
|
|
194
242
|
// so they stay visible but can be muted or triaged by tag in the Sentry
|
|
195
243
|
// UI. See getMapVendor.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/utils/errorTracker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,IAAI,UAAU,EAClB,gBAAgB,IAAI,sBAAsB,EAC1C,aAAa,IAAI,mBAAmB,EACpC,OAAO,IAAI,aAAa,EACxB,UAAU,EACV,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,eAAe,CAAC;AAmBvB;;;;;GAKG;AACH,MAAM,YAAY,GAAG;IACnB,4BAA4B;IAC5B,aAAa;IACb,6EAA6E;IAC7E,4BAA4B;IAC5B,wBAAwB;IACxB,2BAA2B;IAC3B,wBAAwB;IACxB,iCAAiC;IACjC,uBAAuB;IACvB,4BAA4B;IAC5B,kCAAkC;IAClC,iBAAiB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,+FAA+F;IAC/F,sGAAsG;IACtG,mBAAmB;IACnB,2BAA2B;IAC3B,kFAAkF;IAClF,aAAa;IACb,8DAA8D;IAC9D,kFAAkF;IAClF,eAAe;IACf,wBAAwB;IACxB,eAAe;IACf,+JAA+J;IAC/J,WAAW;IAEX;;OAEG;IACH,2BAA2B;IAC3B;;OAEG;IACH,mFAAmF;IACnF;;;OAGG;IACH,mBAAmB;IACnB,sBAAsB;IACtB;;OAEG;IACH,8EAA8E;IAC9E;;OAEG;IACH,wBAAwB;IACxB;;OAEG;IACH,wIAAwI;IAExI;;;;;;;;;OASG;IACH,6EAA6E;IAC7E,6EAA6E;IAC7E,YAAY;IACZ,4BAA4B;IAC5B,kCAAkC;IAClC,wEAAwE;IACxE,gEAAgE;IAChE,qDAAqD;IACrD,gCAAgC;IAChC,qBAAqB;IACrB,8BAA8B;IAC9B,4EAA4E;IAC5E,4DAA4D;IAC5D,oCAAoC;IACpC,8DAA8D;CAC/D,CA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CAClB,QAAgB,EAChB,OAAe,EACf,IAAa,EACb,QAA6B,MAAM;QAEnC,mBAAmB,CAAC;YAClB,QAAQ;YACR,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CAAC,CAAC;IACL,CAAC;IAEM,OAAO,CAAC,IAAe;QAC5B,aAAa,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED;;OAEG;IACK,GAAG,CAAC,OAAe,EAAE,OAAkC,MAAM;QACnE,OAAO,CAAC,IAAI,CAAC,CAAC,qBAAqB,GAAG,OAAO,CAAC,CAAC;IACjD,CAAC;CACF;AAED,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,YAAY,EAAE,CAAC,CAAC;AAChE,eAAe,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@local-logic/sdks-app",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.41",
|
|
4
4
|
"main": "dist/types/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"typings": "dist/types/index.d.ts",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@eslint/eslintrc": "^3.3.3",
|
|
67
67
|
"@local-logic/eslint-config": "workspace:*",
|
|
68
|
+
"@sentry/vite-plugin": "^5.4.0",
|
|
68
69
|
"@testing-library/dom": "^10.4.0",
|
|
69
70
|
"@testing-library/jest-dom": "^6.6.4",
|
|
70
71
|
"@testing-library/react": "^16.3.0",
|