@vehiclehistory/property-lib 0.0.64 → 0.0.66
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/main.es.js +157 -145
- package/dist/main.umd.js +1 -1
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as o, jsxs as M, Fragment as
|
|
2
|
-
import { memo as x, useState as
|
|
1
|
+
import { jsx as o, jsxs as M, Fragment as k } from "react/jsx-runtime";
|
|
2
|
+
import { memo as x, useState as N, useEffect as Z, useRef as Q } from "react";
|
|
3
3
|
import u from "classnames";
|
|
4
4
|
const U = {
|
|
5
5
|
xxSmall: "w-4 h-4",
|
|
@@ -89,6 +89,9 @@ const U = {
|
|
|
89
89
|
chartBoxOutline: {
|
|
90
90
|
path: '<path d="M9 17H7V10H9V17M13 17H11V7H13V17M17 17H15V13H17V17M19 19H5V5H19V19.1M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z" />'
|
|
91
91
|
},
|
|
92
|
+
chatBubble: {
|
|
93
|
+
path: '<path d="M12,3C17.5,3 22,6.58 22,11C22,15.42 17.5,19 12,19C10.76,19 9.57,18.82 8.47,18.5C5.55,21 2,21 2,21C4.33,18.67 4.7,17.1 4.75,16.5C3.05,15.07 2,13.13 2,11C2,6.58 6.5,3 12,3Z" />'
|
|
94
|
+
},
|
|
92
95
|
check: {
|
|
93
96
|
path: '<path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd" />'
|
|
94
97
|
},
|
|
@@ -161,6 +164,9 @@ const U = {
|
|
|
161
164
|
facebook: {
|
|
162
165
|
path: '<path d="M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96A10 10 0 0 0 22 12.06C22 6.53 17.5 2.04 12 2.04Z" />'
|
|
163
166
|
},
|
|
167
|
+
facebookSquare: {
|
|
168
|
+
path: '<path d="M27.496 0H4.504A4.504 4.504 0 0 0 0 4.504v22.992A4.5037 4.5037 0 0 0 4.504 32h10.464V20.32h-3.956v-4.556h3.956v-3.356c0-1.902.526-3.38 1.578-4.43 1.052-1.052 2.478-1.58 4.28-1.58 1.804 0 2.972.07 3.506.202v4.056h-2.404c-.868 0-1.46.184-1.778.552-.316.366-.474.918-.474 1.652v2.904h4.506l-.6 4.556h-3.906V32h7.82A4.504 4.504 0 0 0 32 27.496V4.504A4.5038 4.5038 0 0 0 27.496 0Z" fill="currentColor"/>'
|
|
169
|
+
},
|
|
164
170
|
female: {
|
|
165
171
|
path: '<path d="M12,2A2,2 0 0,1 14,4A2,2 0 0,1 12,6A2,2 0 0,1 10,4A2,2 0 0,1 12,2M10.5,22V16H7.5L10.09,8.41C10.34,7.59 11.1,7 12,7C12.9,7 13.66,7.59 13.91,8.41L16.5,16H13.5V22H10.5Z" />'
|
|
166
172
|
},
|
|
@@ -176,18 +182,6 @@ const U = {
|
|
|
176
182
|
fireplace: {
|
|
177
183
|
path: '<path d="M12.01,12.46c-0.15,0.42-0.15,0.82-0.08,1.28c0.1,0.55,0.33,1.04,0.2,1.6c-0.13,0.59-0.77,1.38-1.53,1.63 c1.28,1.05,3.2,0.37,3.39-1.32C14.16,14.11,12.55,13.67,12.01,12.46z"/><path d="M2,2v20h20V2H2z M12,18c-1.58,0-2.97-1.88-3-3.06c0-0.05-0.01-0.13-0.01-0.22c-0.13-1.73,1-3.2,2.47-4.37 c0.47,1.01,1.27,2.03,2.57,2.92C14.61,13.69,15,14.13,15,15C15,16.65,13.65,18,12,18z M20,20h-2v-2h-2.02 c0.63-0.84,1.02-1.87,1.02-3c0-1.89-1.09-2.85-1.85-3.37C12.2,9.61,13,7,13,7c-6.73,3.57-6.02,7.47-6,8 c0.03,0.96,0.49,2.07,1.23,3H6v2H4V4h16V20z"/>'
|
|
178
184
|
},
|
|
179
|
-
pdf: {
|
|
180
|
-
path: '<path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M9.5 11.5C9.5 12.3 8.8 13 8 13H7V15H5.5V9H8C8.8 9 9.5 9.7 9.5 10.5V11.5M14.5 13.5C14.5 14.3 13.8 15 13 15H10.5V9H13C13.8 9 14.5 9.7 14.5 10.5V13.5M18.5 10.5H17V11.5H18.5V13H17V15H15.5V9H18.5V10.5M12 10.5H13V13.5H12V10.5M7 10.5H8V11.5H7V10.5Z" />'
|
|
181
|
-
},
|
|
182
|
-
landPlotsMarker: {
|
|
183
|
-
path: '<path d="M4 2H20C21.1 2 22 2.9 22 4V10H10V20H14.55C14.73 20.3 14.91 20.58 15.09 20.84C15.38 21.27 15.66 21.66 15.92 22H4C2.9 22 2 21.1 2 20V4C2 2.9 2.9 2 4 2M8 4H4V14H8V4M4 16V20H8V16H4M10 8H20V4H10V8M18.5 22C18.5 22 17.92 21.35 17.23 20.41C17.14 20.28 17.04 20.14 16.94 20C16 18.66 15 16.89 15 15.5C15 13.6 16.6 12 18.5 12C19.03 12 19.54 12.13 20 12.35C21.17 12.92 22 14.13 22 15.5C22 17.04 20.77 19.04 19.77 20.41C19.08 21.35 18.5 22 18.5 22M17.3 15.6C17.3 16.2 17.8 16.8 18.5 16.8C19.2 16.8 19.8 16.2 19.7 15.6C19.7 15 19.1 14.4 18.5 14.4C17.9 14.4 17.3 14.9 17.3 15.6Z" />'
|
|
184
|
-
},
|
|
185
|
-
list: {
|
|
186
|
-
path: '<path d="M12 9h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7zM20 3H4c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-1 16H5V5h14v14z"/>'
|
|
187
|
-
},
|
|
188
|
-
listbox: {
|
|
189
|
-
path: '<path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M7 7H9V9H7V7M7 11H9V13H7V11M7 15H9V17H7V15M17 17H11V15H17V17M17 13H11V11H17V13M17 9H11V7H17V9Z" />'
|
|
190
|
-
},
|
|
191
185
|
faceAgent: {
|
|
192
186
|
path: '<path d="M18.72,14.76C19.07,13.91 19.26,13 19.26,12C19.26,11.28 19.15,10.59 18.96,9.95C18.31,10.1 17.63,10.18 16.92,10.18C13.86,10.18 11.15,8.67 9.5,6.34C8.61,8.5 6.91,10.26 4.77,11.22C4.73,11.47 4.73,11.74 4.73,12A7.27,7.27 0 0,0 12,19.27C13.05,19.27 14.06,19.04 14.97,18.63C15.54,19.72 15.8,20.26 15.78,20.26C14.14,20.81 12.87,21.08 12,21.08C9.58,21.08 7.27,20.13 5.57,18.42C4.53,17.38 3.76,16.11 3.33,14.73H2V10.18H3.09C3.93,6.04 7.6,2.92 12,2.92C14.4,2.92 16.71,3.87 18.42,5.58C19.69,6.84 20.54,8.45 20.89,10.18H22V14.67H22V14.69L22,14.73H21.94L18.38,18L13.08,17.4V15.73H17.91L18.72,14.76M9.27,11.77C9.57,11.77 9.86,11.89 10.07,12.11C10.28,12.32 10.4,12.61 10.4,12.91C10.4,13.21 10.28,13.5 10.07,13.71C9.86,13.92 9.57,14.04 9.27,14.04C8.64,14.04 8.13,13.54 8.13,12.91C8.13,12.28 8.64,11.77 9.27,11.77M14.72,11.77C15.35,11.77 15.85,12.28 15.85,12.91C15.85,13.54 15.35,14.04 14.72,14.04C14.09,14.04 13.58,13.54 13.58,12.91A1.14,1.14 0 0,1 14.72,11.77Z" />'
|
|
193
187
|
},
|
|
@@ -278,12 +272,24 @@ const U = {
|
|
|
278
272
|
instagram: {
|
|
279
273
|
path: '<path d="M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z" />'
|
|
280
274
|
},
|
|
275
|
+
instagramSquare: {
|
|
276
|
+
path: '<path fill-rule="evenodd" clip-rule="evenodd" d="M28.0904 0C30.2482 0 32 1.7519 32 3.9096v24.1808C32 30.2481 30.2481 32 28.0904 32H3.9096C1.752 32 0 30.2481 0 28.0904V3.9096C0 1.752 1.7518 0 3.9096 0h24.1808ZM16 5.0625c-2.9704 0-3.3429.0126-4.5095.0658-1.1642.0531-1.9593.238-2.655.5084-.7192.2795-1.3292.6536-1.9372 1.2615-.6081.6081-.9821 1.2181-1.2616 1.9373-.2704.6958-.4553 1.4908-.5084 2.655-.0532 1.1666-.0658 1.5391-.0658 4.5095s.0126 3.3429.0658 4.5095c.0531 1.1642.238 1.9593.5084 2.655.2795.7192.6535 1.3292 1.2615 1.9372.6081.6081 1.218.9821 1.9373 1.2616.6958.2704 1.4908.4553 2.655.5084 1.1666.0532 1.5391.0658 4.5095.0658s3.3429-.0126 4.5095-.0658c1.1642-.0531 1.9593-.238 2.655-.5084.7192-.2795 1.3292-.6535 1.9372-1.2616.6081-.608.9821-1.218 1.2616-1.9372.2704-.6957.4553-1.4908.5084-2.655.0532-1.1666.0658-1.5391.0658-4.5095s-.0126-3.3429-.0658-4.5095c-.0531-1.1642-.238-1.9593-.5084-2.655-.2795-.7192-.6535-1.3292-1.2616-1.9372-.608-.608-1.218-.982-1.9372-1.2615-.6957-.2705-1.4908-.4554-2.655-.5085-1.1666-.0532-1.5391-.0658-4.5095-.0658Zm0 1.9707c2.9204 0 3.2664.0112 4.4197.0638 1.0664.0487 1.6455.2269 2.0309.3766.5106.1984.8749.4355 1.2577.8182.3827.3827.6197.747.8181 1.2576.1498.3854.328.9645.3766 2.0309.0526 1.1533.0638 1.4993.0638 4.4197s-.0112 3.2664-.0638 4.4197c-.0486 1.0664-.2268 1.6455-.3766 2.0309-.1984.5106-.4354.8749-.8181 1.2577-.3828.3827-.7471.6197-1.2577.8181-.3854.1498-.9645.328-2.0309.3766-1.1531.0526-1.4991.0638-4.4197.0638-2.9206 0-3.2665-.0112-4.4197-.0638-1.0664-.0486-1.6455-.2268-2.031-.3766-.5105-.1984-.8748-.4354-1.2576-.8181-.3827-.3828-.6198-.7471-.8181-1.2577-.1498-.3854-.328-.9645-.3767-2.0309-.0526-1.1533-.0637-1.4993-.0637-4.4197s.0111-3.2664.0637-4.4197c.0487-1.0664.227-1.6455.3767-2.031.1983-.5104.4354-.8748.8182-1.2576.3827-.3826.747-.6197 1.2576-.8181.3854-.1497.9645-.328 2.0309-.3766 1.1533-.0526 1.4993-.0638 4.4197-.0638Zm0 3.3502c-3.1019 0-5.6166 2.5147-5.6166 5.6166S12.8981 21.6166 16 21.6166 21.6166 19.1019 21.6166 16 19.1019 10.3834 16 10.3834Zm0 9.2624c-2.0136 0-3.6458-1.6322-3.6458-3.6458S13.9864 12.3542 16 12.3542 19.6458 13.9864 19.6458 16 18.0136 19.6458 16 19.6458Zm7.151-9.4842c0 .7248-.5877 1.3124-1.3126 1.3124-.7248 0-1.3124-.5876-1.3124-1.3124 0-.725.5876-1.3125 1.3124-1.3125.7249 0 1.3126.5876 1.3126 1.3125Z" fill="currentColor"/>'
|
|
277
|
+
},
|
|
278
|
+
landPlotsMarker: {
|
|
279
|
+
path: '<path d="M4 2H20C21.1 2 22 2.9 22 4V10H10V20H14.55C14.73 20.3 14.91 20.58 15.09 20.84C15.38 21.27 15.66 21.66 15.92 22H4C2.9 22 2 21.1 2 20V4C2 2.9 2.9 2 4 2M8 4H4V14H8V4M4 16V20H8V16H4M10 8H20V4H10V8M18.5 22C18.5 22 17.92 21.35 17.23 20.41C17.14 20.28 17.04 20.14 16.94 20C16 18.66 15 16.89 15 15.5C15 13.6 16.6 12 18.5 12C19.03 12 19.54 12.13 20 12.35C21.17 12.92 22 14.13 22 15.5C22 17.04 20.77 19.04 19.77 20.41C19.08 21.35 18.5 22 18.5 22M17.3 15.6C17.3 16.2 17.8 16.8 18.5 16.8C19.2 16.8 19.8 16.2 19.7 15.6C19.7 15 19.1 14.4 18.5 14.4C17.9 14.4 17.3 14.9 17.3 15.6Z" />'
|
|
280
|
+
},
|
|
281
281
|
layer: {
|
|
282
282
|
path: '<path d="M12,16L19.36,10.27L21,9L12,2L3,9L4.63,10.27M12,18.54L4.62,12.81L3,14.07L12,21.07L21,14.07L19.37,12.8L12,18.54Z" />'
|
|
283
283
|
},
|
|
284
284
|
lineWeight: {
|
|
285
285
|
path: '<path d="M0 0h24v24H0z" fill="none"/><path d="M3 17h18v-2H3v2zm0 3h18v-1H3v1zm0-7h18v-3H3v3zm0-9v4h18V4H3z"/>'
|
|
286
286
|
},
|
|
287
|
+
list: {
|
|
288
|
+
path: '<path d="M12 9h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7zM20 3H4c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-1 16H5V5h14v14z"/>'
|
|
289
|
+
},
|
|
290
|
+
listbox: {
|
|
291
|
+
path: '<path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M7 7H9V9H7V7M7 11H9V13H7V11M7 15H9V17H7V15M17 17H11V15H17V17M17 13H11V11H17V13M17 9H11V7H17V9Z" />'
|
|
292
|
+
},
|
|
287
293
|
localParking: {
|
|
288
294
|
path: '<path d="M0 0h24v24H0V0z" fill="none"/><path d="M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6zm.2 8H10V7h3.2c1.1 0 2 .9 2 2s-.9 2-2 2z"/>'
|
|
289
295
|
},
|
|
@@ -293,6 +299,9 @@ const U = {
|
|
|
293
299
|
linkedin: {
|
|
294
300
|
path: '<path d="M19 3A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H19M18.5 18.5V13.2A3.26 3.26 0 0 0 15.24 9.94C14.39 9.94 13.4 10.46 12.92 11.24V10.13H10.13V18.5H12.92V13.57C12.92 12.8 13.54 12.17 14.31 12.17A1.4 1.4 0 0 1 15.71 13.57V18.5H18.5M6.88 8.56A1.68 1.68 0 0 0 8.56 6.88C8.56 5.95 7.81 5.19 6.88 5.19A1.69 1.69 0 0 0 5.19 6.88C5.19 7.81 5.95 8.56 6.88 8.56M8.27 18.5V10.13H5.5V18.5H8.27Z" />'
|
|
295
301
|
},
|
|
302
|
+
linkedinSquare: {
|
|
303
|
+
path: '<path fill-rule="evenodd" clip-rule="evenodd" d="M28.0904 0C30.2482 0 32 1.7519 32 3.9096v24.1808C32 30.2481 30.2481 32 28.0904 32H3.9096C1.752 32 0 30.2481 0 28.0904V3.9096C0 1.752 1.7518 0 3.9096 0h24.1808ZM10.0288 26.4549V12.3476h-4.69v14.1073h4.69Zm16.9087 0v-8.09c0-4.3333-2.3136-6.3491-5.3988-6.3491-2.4878 0-3.6021 1.3682-4.2261 2.3291v-1.9973h-4.6888c.0622 1.3238 0 14.1073 0 14.1073h4.6888v-7.8785c0-.4218.0303-.8433.1546-1.1447.3384-.8422 1.1104-1.7146 2.4059-1.7146 1.6959 0 2.3754 1.2942 2.3754 3.1898v7.548h4.689ZM7.7155 5.5451c-1.6046 0-2.653 1.055-2.653 2.4377 0 1.3536 1.0165 2.4376 2.591 2.4376h.0302c1.6353 0 2.6532-1.084 2.6532-2.4377-.0303-1.3807-1.015-2.4346-2.6214-2.4376Z" fill="currentColor"/>'
|
|
304
|
+
},
|
|
296
305
|
login: {
|
|
297
306
|
path: '<path d="M10,17V14H3V10H10V7L15,12L10,17M10,2H19A2,2 0 0,1 21,4V20A2,2 0 0,1 19,22H10A2,2 0 0,1 8,20V18H10V20H19V4H10V6H8V4A2,2 0 0,1 10,2Z" />'
|
|
298
307
|
},
|
|
@@ -335,6 +344,9 @@ const U = {
|
|
|
335
344
|
openInNew: {
|
|
336
345
|
path: '<path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" />'
|
|
337
346
|
},
|
|
347
|
+
pdf: {
|
|
348
|
+
path: '<path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M9.5 11.5C9.5 12.3 8.8 13 8 13H7V15H5.5V9H8C8.8 9 9.5 9.7 9.5 10.5V11.5M14.5 13.5C14.5 14.3 13.8 15 13 15H10.5V9H13C13.8 9 14.5 9.7 14.5 10.5V13.5M18.5 10.5H17V11.5H18.5V13H17V15H15.5V9H18.5V10.5M12 10.5H13V13.5H12V10.5M7 10.5H8V11.5H7V10.5Z" />'
|
|
349
|
+
},
|
|
338
350
|
phone: {
|
|
339
351
|
path: '<path d="M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z" />'
|
|
340
352
|
},
|
|
@@ -470,11 +482,11 @@ const U = {
|
|
|
470
482
|
xCircle: {
|
|
471
483
|
path: '<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clip-rule="evenodd" />'
|
|
472
484
|
},
|
|
485
|
+
xSquare: {
|
|
486
|
+
path: '<path d="m16.2233 14.1514-5.9132-8.274H7.1562l7.325 10.2486.922 1.2893 6.2697 8.7798h3.1539l-7.6854-10.7545-.9181-1.2892Z" fill="currentColor"/><path d="M29.3233 0H2.6767C1.1983 0 0 1.1983 0 2.6767v26.6466C0 30.8017 1.1983 32 2.6767 32h26.6466C30.8017 32 32 30.8017 32 29.3233V2.6767C32 1.1983 30.8017 0 29.3233 0ZM20.706 27.6364l-6.3456-9.0371-7.9438 9.0371h-2.053L13.45 17.3023 4.3636 4.3636h6.9304l6.0075 8.5556 7.527-8.5556h2.0529l-8.6647 9.8555 9.4197 13.4173H20.706Z" fill="currentColor"/>'
|
|
487
|
+
},
|
|
473
488
|
youtube: {
|
|
474
489
|
path: '<path d="M10,15L15.19,12L10,9V15M21.56,7.17C21.69,7.64 21.78,8.27 21.84,9.07C21.91,9.87 21.94,10.56 21.94,11.16L22,12C22,14.19 21.84,15.8 21.56,16.83C21.31,17.73 20.73,18.31 19.83,18.56C19.36,18.69 18.5,18.78 17.18,18.84C15.88,18.91 14.69,18.94 13.59,18.94L12,19C7.81,19 5.2,18.84 4.17,18.56C3.27,18.31 2.69,17.73 2.44,16.83C2.31,16.36 2.22,15.73 2.16,14.93C2.09,14.13 2.06,13.44 2.06,12.84L2,12C2,9.81 2.16,8.2 2.44,7.17C2.69,6.27 3.27,5.69 4.17,5.44C4.64,5.31 5.5,5.22 6.82,5.16C8.12,5.09 9.31,5.06 10.41,5.06L12,5C16.19,5 18.8,5.16 19.83,5.44C20.73,5.69 21.31,6.27 21.56,7.17Z" />'
|
|
475
|
-
},
|
|
476
|
-
chatBubble: {
|
|
477
|
-
path: '<path d="M12,3C17.5,3 22,6.58 22,11C22,15.42 17.5,19 12,19C10.76,19 9.57,18.82 8.47,18.5C5.55,21 2,21 2,21C4.33,18.67 4.7,17.1 4.75,16.5C3.05,15.07 2,13.13 2,11C2,6.58 6.5,3 12,3Z" />'
|
|
478
490
|
}
|
|
479
491
|
}, Y = (c) => J[c], K = ({
|
|
480
492
|
color: c = "text-current",
|
|
@@ -483,10 +495,10 @@ const U = {
|
|
|
483
495
|
size: a = "medium",
|
|
484
496
|
viewBox: n = "0 0 20 20"
|
|
485
497
|
}) => {
|
|
486
|
-
const s = Y(t), [r, l] =
|
|
487
|
-
return
|
|
498
|
+
const s = Y(t), [r, l] = N(c), [i, d] = N(s);
|
|
499
|
+
return Z(() => {
|
|
488
500
|
d(s);
|
|
489
|
-
}, [s]),
|
|
501
|
+
}, [s]), Z(() => {
|
|
490
502
|
l(c);
|
|
491
503
|
}, [c]), !s && console.error("Icon does not exist", t), /* @__PURE__ */ o(
|
|
492
504
|
"svg",
|
|
@@ -510,8 +522,8 @@ const U = {
|
|
|
510
522
|
unmount: s = !0,
|
|
511
523
|
isOpen: r = !1
|
|
512
524
|
}) => {
|
|
513
|
-
const [l, i] =
|
|
514
|
-
return /* @__PURE__ */ o("div", { className: u("shadow rounded-lg", e), children: /* @__PURE__ */ M(
|
|
525
|
+
const [l, i] = N(r);
|
|
526
|
+
return /* @__PURE__ */ o("div", { className: u("shadow rounded-lg", e), children: /* @__PURE__ */ M(k, { children: [
|
|
515
527
|
/* @__PURE__ */ M(
|
|
516
528
|
"button",
|
|
517
529
|
{
|
|
@@ -624,7 +636,7 @@ const U = {
|
|
|
624
636
|
"list-disc space-y-1 pl-5 mt-2 text-xs",
|
|
625
637
|
a
|
|
626
638
|
),
|
|
627
|
-
children: t.map((
|
|
639
|
+
children: t.map((H, C) => /* @__PURE__ */ o("li", { children: H }, C))
|
|
628
640
|
}
|
|
629
641
|
) : "",
|
|
630
642
|
c
|
|
@@ -645,8 +657,8 @@ const U = {
|
|
|
645
657
|
name: d = "",
|
|
646
658
|
options: h = [],
|
|
647
659
|
placeholder: p = "",
|
|
648
|
-
props:
|
|
649
|
-
required:
|
|
660
|
+
props: H = {},
|
|
661
|
+
required: C = !1,
|
|
650
662
|
showSearchIcon: v = !0,
|
|
651
663
|
size: f = "medium",
|
|
652
664
|
styles: m = null,
|
|
@@ -708,14 +720,14 @@ const U = {
|
|
|
708
720
|
},
|
|
709
721
|
r
|
|
710
722
|
),
|
|
711
|
-
required:
|
|
723
|
+
required: C,
|
|
712
724
|
autoComplete: "off",
|
|
713
725
|
value: a,
|
|
714
726
|
placeholder: !p && n ? " " : p,
|
|
715
727
|
type: "search",
|
|
716
728
|
name: d || "search-input",
|
|
717
729
|
"data-id": "search-input",
|
|
718
|
-
...
|
|
730
|
+
...H
|
|
719
731
|
}
|
|
720
732
|
),
|
|
721
733
|
n && /* @__PURE__ */ o(
|
|
@@ -780,17 +792,17 @@ const U = {
|
|
|
780
792
|
"data-title": V,
|
|
781
793
|
"aria-labelledby": "Label",
|
|
782
794
|
"aria-activedescendant": "search-item-0",
|
|
783
|
-
children: h.length > 0 ? h.map((b,
|
|
795
|
+
children: h.length > 0 ? h.map((b, S) => /* @__PURE__ */ o(
|
|
784
796
|
"li",
|
|
785
797
|
{
|
|
786
|
-
id: `search-item-${
|
|
798
|
+
id: `search-item-${S}`,
|
|
787
799
|
tabIndex: -1,
|
|
788
800
|
className: "dropdown-item text-gray-900 cursor-default select-none py-2 pl-3 pr-4 truncate hover:bg-gray-50 font-normal focus:bg-gray-50 focus:text-green-400 focus-visible:outline-0",
|
|
789
|
-
"aria-selected":
|
|
801
|
+
"aria-selected": S === 0,
|
|
790
802
|
role: "option",
|
|
791
803
|
children: (b == null ? void 0 : b.name) || b
|
|
792
804
|
},
|
|
793
|
-
`search-item-${
|
|
805
|
+
`search-item-${S}`
|
|
794
806
|
)) : ""
|
|
795
807
|
}
|
|
796
808
|
)
|
|
@@ -831,15 +843,15 @@ const U = {
|
|
|
831
843
|
rightIconProps: d = {},
|
|
832
844
|
rounded: h = !1,
|
|
833
845
|
size: p = "md",
|
|
834
|
-
type:
|
|
835
|
-
uppercase:
|
|
846
|
+
type: H = "button",
|
|
847
|
+
uppercase: C = !1,
|
|
836
848
|
variation: v = "primary"
|
|
837
849
|
}) => {
|
|
838
850
|
const f = r ? "a" : "button";
|
|
839
851
|
return /* @__PURE__ */ M(
|
|
840
852
|
f,
|
|
841
853
|
{
|
|
842
|
-
type: f !== "a" ?
|
|
854
|
+
type: f !== "a" ? H : null,
|
|
843
855
|
className: u(
|
|
844
856
|
"button",
|
|
845
857
|
{
|
|
@@ -848,7 +860,7 @@ const U = {
|
|
|
848
860
|
"button--rounded": h,
|
|
849
861
|
"button--disabled": s,
|
|
850
862
|
"button--custom-link": r,
|
|
851
|
-
"button--uppercase":
|
|
863
|
+
"button--uppercase": C,
|
|
852
864
|
"button--borderless": c || v === "link"
|
|
853
865
|
},
|
|
854
866
|
n
|
|
@@ -918,12 +930,12 @@ const U = {
|
|
|
918
930
|
variation: d = "primary",
|
|
919
931
|
value: h = ""
|
|
920
932
|
}) => {
|
|
921
|
-
const p = r ? "div" : "label",
|
|
933
|
+
const p = r ? "div" : "label", H = p === "label" ? { htmlFor: s } : {};
|
|
922
934
|
return /* @__PURE__ */ M(
|
|
923
935
|
p,
|
|
924
936
|
{
|
|
925
937
|
className: u("checkbox flex items-center", d, t),
|
|
926
|
-
...
|
|
938
|
+
...H,
|
|
927
939
|
children: [
|
|
928
940
|
/* @__PURE__ */ o(
|
|
929
941
|
"input",
|
|
@@ -986,10 +998,10 @@ const U = {
|
|
|
986
998
|
hideClose: d = !1,
|
|
987
999
|
iconSize: h = "medium",
|
|
988
1000
|
preventPageScroll: p = !0,
|
|
989
|
-
stickyHeader:
|
|
990
|
-
title:
|
|
1001
|
+
stickyHeader: H = !1,
|
|
1002
|
+
title: C = "",
|
|
991
1003
|
titleClass: v = ""
|
|
992
|
-
}) => /* @__PURE__ */ M(
|
|
1004
|
+
}) => /* @__PURE__ */ M(k, { children: [
|
|
993
1005
|
c && /* @__PURE__ */ o("span", { id: `${e}-dialog-activator`, children: c }),
|
|
994
1006
|
/* @__PURE__ */ o(
|
|
995
1007
|
"dialog",
|
|
@@ -1012,14 +1024,14 @@ const U = {
|
|
|
1012
1024
|
className: u(
|
|
1013
1025
|
"dialog-header",
|
|
1014
1026
|
{
|
|
1015
|
-
"sticky top-0 bg-white z-10":
|
|
1016
|
-
"!pb-0 border-0 justify-end": !
|
|
1017
|
-
"justify-between border-b":
|
|
1027
|
+
"sticky top-0 bg-white z-10": H,
|
|
1028
|
+
"!pb-0 border-0 justify-end": !C,
|
|
1029
|
+
"justify-between border-b": C
|
|
1018
1030
|
},
|
|
1019
1031
|
i
|
|
1020
1032
|
),
|
|
1021
1033
|
children: [
|
|
1022
|
-
|
|
1034
|
+
C && /* @__PURE__ */ o("h3", { id: `${e}-dialog-title`, className: v, children: C }),
|
|
1023
1035
|
!d && /* @__PURE__ */ o(
|
|
1024
1036
|
"button",
|
|
1025
1037
|
{
|
|
@@ -1066,27 +1078,27 @@ const U = {
|
|
|
1066
1078
|
headerClass: d = "",
|
|
1067
1079
|
hideClose: h = !1,
|
|
1068
1080
|
iconSize: p = "medium",
|
|
1069
|
-
isOpen:
|
|
1070
|
-
setDialogOpen:
|
|
1081
|
+
isOpen: H = !1,
|
|
1082
|
+
setDialogOpen: C,
|
|
1071
1083
|
stickyHeader: v = !1,
|
|
1072
1084
|
title: f = "",
|
|
1073
1085
|
titleClass: m = ""
|
|
1074
1086
|
}) => {
|
|
1075
1087
|
const V = Q(null), w = async () => {
|
|
1076
|
-
V.current.classList.add("closing"), await
|
|
1088
|
+
V.current.classList.add("closing"), await q(V.current), V.current.classList.remove("closing"), s && s(), C(!1);
|
|
1077
1089
|
}, b = async (A) => {
|
|
1078
1090
|
A.key === "Escape" && await w();
|
|
1079
|
-
},
|
|
1091
|
+
}, S = async ({ clientX: A, clientY: z, target: j }) => {
|
|
1080
1092
|
const { left: P, right: R, top: W, bottom: G } = V.current.getBoundingClientRect() ?? {};
|
|
1081
|
-
(!V.current.contains(
|
|
1082
|
-
},
|
|
1093
|
+
(!V.current.contains(j) || A < P || A > R || z < W || z > G) && await w();
|
|
1094
|
+
}, q = (A) => Promise.allSettled(
|
|
1083
1095
|
A.getAnimations().map((z) => z.finished)
|
|
1084
1096
|
);
|
|
1085
|
-
return
|
|
1097
|
+
return Z(() => {
|
|
1086
1098
|
const A = V.current;
|
|
1087
|
-
A && (
|
|
1088
|
-
}, [
|
|
1089
|
-
c && /* @__PURE__ */ o("span", { id: `${e}-dialog-activator`, onClick: () =>
|
|
1099
|
+
A && (H ? A.showModal() : typeof A.close == "function" && A.close());
|
|
1100
|
+
}, [H]), /* @__PURE__ */ M(k, { children: [
|
|
1101
|
+
c && /* @__PURE__ */ o("span", { id: `${e}-dialog-activator`, onClick: () => C(!0), children: c }),
|
|
1090
1102
|
/* @__PURE__ */ M(
|
|
1091
1103
|
"dialog",
|
|
1092
1104
|
{
|
|
@@ -1095,13 +1107,13 @@ const U = {
|
|
|
1095
1107
|
className: u(
|
|
1096
1108
|
"dialog",
|
|
1097
1109
|
{
|
|
1098
|
-
hidden: !
|
|
1110
|
+
hidden: !H,
|
|
1099
1111
|
"xs-max:h-full xs-max:max-h-full": i
|
|
1100
1112
|
},
|
|
1101
1113
|
a
|
|
1102
1114
|
),
|
|
1103
1115
|
onKeyDown: b,
|
|
1104
|
-
onClick: (A) => r ? null :
|
|
1116
|
+
onClick: (A) => r ? null : S(A),
|
|
1105
1117
|
children: [
|
|
1106
1118
|
/* @__PURE__ */ M(
|
|
1107
1119
|
"header",
|
|
@@ -1175,18 +1187,18 @@ const U = {
|
|
|
1175
1187
|
const i = document.querySelector(".loading-bar__inner");
|
|
1176
1188
|
if (!i) return;
|
|
1177
1189
|
let d, h, p = !1;
|
|
1178
|
-
function
|
|
1179
|
-
d === void 0 && (d =
|
|
1180
|
-
const v =
|
|
1181
|
-
if (h !==
|
|
1190
|
+
function H(C) {
|
|
1191
|
+
d === void 0 && (d = C);
|
|
1192
|
+
const v = C - d;
|
|
1193
|
+
if (h !== C) {
|
|
1182
1194
|
const f = v / n * 101;
|
|
1183
|
-
i.style.width = `${f}%`, e && e({ elapsed: v, percentage: f }), f >= 101 && (l && l(), p = !0, window.cancelAnimationFrame(
|
|
1195
|
+
i.style.width = `${f}%`, e && e({ elapsed: v, percentage: f }), f >= 101 && (l && l(), p = !0, window.cancelAnimationFrame(C));
|
|
1184
1196
|
}
|
|
1185
|
-
v < n && (h =
|
|
1197
|
+
v < n && (h = C, p || window.requestAnimationFrame(H));
|
|
1186
1198
|
}
|
|
1187
|
-
window.requestAnimationFrame(
|
|
1199
|
+
window.requestAnimationFrame(H);
|
|
1188
1200
|
}
|
|
1189
|
-
return
|
|
1201
|
+
return Z(() => {
|
|
1190
1202
|
r({ cb: c });
|
|
1191
1203
|
}, []), /* @__PURE__ */ o(
|
|
1192
1204
|
"div",
|
|
@@ -1216,7 +1228,7 @@ const U = {
|
|
|
1216
1228
|
disabled: l = !1,
|
|
1217
1229
|
id: i = "",
|
|
1218
1230
|
trigger: d = "click"
|
|
1219
|
-
}) => /* @__PURE__ */ M(
|
|
1231
|
+
}) => /* @__PURE__ */ M(k, { children: [
|
|
1220
1232
|
/* @__PURE__ */ o(
|
|
1221
1233
|
"div",
|
|
1222
1234
|
{
|
|
@@ -1268,8 +1280,8 @@ const U = {
|
|
|
1268
1280
|
}) => {
|
|
1269
1281
|
const d = ((h, p) => {
|
|
1270
1282
|
if (h) {
|
|
1271
|
-
const
|
|
1272
|
-
return
|
|
1283
|
+
const H = Number(p) / h;
|
|
1284
|
+
return H > 1 ? 100 : H * 100;
|
|
1273
1285
|
}
|
|
1274
1286
|
return n;
|
|
1275
1287
|
})(s, n);
|
|
@@ -1351,14 +1363,14 @@ const U = {
|
|
|
1351
1363
|
props: d = {},
|
|
1352
1364
|
selectClass: h = "",
|
|
1353
1365
|
styles: p = null,
|
|
1354
|
-
variation:
|
|
1355
|
-
value:
|
|
1366
|
+
variation: H = "primary",
|
|
1367
|
+
value: C
|
|
1356
1368
|
}) => {
|
|
1357
1369
|
const v = i ? { defaultValue: "" } : {};
|
|
1358
1370
|
return /* @__PURE__ */ M(
|
|
1359
1371
|
"label",
|
|
1360
1372
|
{
|
|
1361
|
-
className: u("relative select", e,
|
|
1373
|
+
className: u("relative select", e, H),
|
|
1362
1374
|
style: p ? { ...p } : null,
|
|
1363
1375
|
children: [
|
|
1364
1376
|
s,
|
|
@@ -1372,7 +1384,7 @@ const U = {
|
|
|
1372
1384
|
),
|
|
1373
1385
|
id: n,
|
|
1374
1386
|
name: r,
|
|
1375
|
-
value:
|
|
1387
|
+
value: C,
|
|
1376
1388
|
...v,
|
|
1377
1389
|
...d,
|
|
1378
1390
|
children: [
|
|
@@ -1525,12 +1537,12 @@ const U = {
|
|
|
1525
1537
|
props: d = {},
|
|
1526
1538
|
styles: h = null,
|
|
1527
1539
|
type: p = "text",
|
|
1528
|
-
value:
|
|
1529
|
-
variation:
|
|
1540
|
+
value: H,
|
|
1541
|
+
variation: C = "primary"
|
|
1530
1542
|
}) => /* @__PURE__ */ M(
|
|
1531
1543
|
"div",
|
|
1532
1544
|
{
|
|
1533
|
-
className: u("relative textbox",
|
|
1545
|
+
className: u("relative textbox", C, c),
|
|
1534
1546
|
style: h ? { ...h } : null,
|
|
1535
1547
|
children: [
|
|
1536
1548
|
n && /* @__PURE__ */ o("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center px-2", children: /* @__PURE__ */ o(
|
|
@@ -1549,7 +1561,7 @@ const U = {
|
|
|
1549
1561
|
id: s,
|
|
1550
1562
|
name: l,
|
|
1551
1563
|
type: p,
|
|
1552
|
-
value:
|
|
1564
|
+
value: H,
|
|
1553
1565
|
autoComplete: "off",
|
|
1554
1566
|
className: u(
|
|
1555
1567
|
"form-input",
|
|
@@ -1591,7 +1603,7 @@ const U = {
|
|
|
1591
1603
|
titleClass: s,
|
|
1592
1604
|
uppercase: r = !0
|
|
1593
1605
|
}) => {
|
|
1594
|
-
const l = a || /* @__PURE__ */ M(
|
|
1606
|
+
const l = a || /* @__PURE__ */ M(k, { children: [
|
|
1595
1607
|
"Typical email response time is 2-3 hours. If you require immediate assistance you may use our",
|
|
1596
1608
|
" ",
|
|
1597
1609
|
/* @__PURE__ */ o(
|
|
@@ -1779,7 +1791,7 @@ const U = {
|
|
|
1779
1791
|
e
|
|
1780
1792
|
]
|
|
1781
1793
|
}
|
|
1782
|
-
), C2 = w1,
|
|
1794
|
+
), C2 = w1, S1 = ({ children: c, className: e, list: t = !0 }) => /* @__PURE__ */ o(t ? "li" : "div", { className: u("stacked-list", e), children: c }), L2 = S1, k1 = ({ align: c = "center", children: e, className: t = "", tag: a = "h1", title: n }) => /* @__PURE__ */ o(
|
|
1783
1795
|
a,
|
|
1784
1796
|
{
|
|
1785
1797
|
className: u(
|
|
@@ -1793,7 +1805,7 @@ const U = {
|
|
|
1793
1805
|
),
|
|
1794
1806
|
children: n || e
|
|
1795
1807
|
}
|
|
1796
|
-
), g2 = x(
|
|
1808
|
+
), g2 = x(k1), z1 = {
|
|
1797
1809
|
circular: "circular 3s linear infinite",
|
|
1798
1810
|
"circular-reverse": "circular 3s linear reverse infinite",
|
|
1799
1811
|
"fade-in": "fade-in 0.2.5s ease-out",
|
|
@@ -1805,9 +1817,9 @@ const U = {
|
|
|
1805
1817
|
"menu-open": "menu-open 0.1s ease-out",
|
|
1806
1818
|
"menu-close": "menu-close 0.1s ease-in-out",
|
|
1807
1819
|
indeterminate_first: "indeterminate_first 1.1s ease-in-out infinite"
|
|
1808
|
-
}, N1 = {
|
|
1809
|
-
map: "var(--map)"
|
|
1810
1820
|
}, Z1 = {
|
|
1821
|
+
map: "var(--map)"
|
|
1822
|
+
}, N1 = {
|
|
1811
1823
|
"3xs": "0.5rem",
|
|
1812
1824
|
xxs: "0.625rem",
|
|
1813
1825
|
"2.5xl": "1.625rem",
|
|
@@ -1939,8 +1951,8 @@ const U = {
|
|
|
1939
1951
|
"center-top": "center 30%"
|
|
1940
1952
|
}, D = {
|
|
1941
1953
|
animation: z1,
|
|
1942
|
-
backgroundImage:
|
|
1943
|
-
fontSize:
|
|
1954
|
+
backgroundImage: Z1,
|
|
1955
|
+
fontSize: N1,
|
|
1944
1956
|
gridTemplateColumns: E1,
|
|
1945
1957
|
keyframes: F1,
|
|
1946
1958
|
margin: B1,
|
|
@@ -2079,7 +2091,7 @@ const U = {
|
|
|
2079
2091
|
})
|
|
2080
2092
|
},
|
|
2081
2093
|
{ values: e("aspectRatio") }
|
|
2082
|
-
),
|
|
2094
|
+
), q1 = ({ matchUtilities: c, theme: e }) => c(
|
|
2083
2095
|
{
|
|
2084
2096
|
"animation-delay": (t) => ({
|
|
2085
2097
|
"animation-delay": t
|
|
@@ -2088,7 +2100,7 @@ const U = {
|
|
|
2088
2100
|
{
|
|
2089
2101
|
values: e("transitionDelay")
|
|
2090
2102
|
}
|
|
2091
|
-
),
|
|
2103
|
+
), j1 = ({ matchUtilities: c }) => c({
|
|
2092
2104
|
"max-inline": (e) => ({
|
|
2093
2105
|
"max-inline-size": e
|
|
2094
2106
|
})
|
|
@@ -2111,10 +2123,10 @@ const U = {
|
|
|
2111
2123
|
const p = {
|
|
2112
2124
|
"font-size": h,
|
|
2113
2125
|
...a
|
|
2114
|
-
},
|
|
2115
|
-
i[
|
|
2126
|
+
}, H = `.${e(`${t}-${d}`)}`, C = n ? n({ sizeKey: d, sizeValue: h }) : {};
|
|
2127
|
+
i[H] = {
|
|
2116
2128
|
...p,
|
|
2117
|
-
...
|
|
2129
|
+
...C
|
|
2118
2130
|
}, Object.entries(r).forEach(([v, f]) => {
|
|
2119
2131
|
const m = `.${e(`${t}-${d}-${v}`)}`, V = l ? l({ sizeKey: d, sizeValue: h, weightKey: v, weightValue: f }) : {};
|
|
2120
2132
|
i[m] = {
|
|
@@ -2227,7 +2239,7 @@ const U = {
|
|
|
2227
2239
|
classPrefix: "text-body",
|
|
2228
2240
|
sizes: l,
|
|
2229
2241
|
weights: s
|
|
2230
|
-
}), O1({ matchUtilities: e, theme: t }),
|
|
2242
|
+
}), O1({ matchUtilities: e, theme: t }), q1({ matchUtilities: e, theme: t }), j1({ matchUtilities: e }), P1({ matchUtilities: e });
|
|
2231
2243
|
}
|
|
2232
2244
|
], v2 = {
|
|
2233
2245
|
theme: {
|
|
@@ -2280,7 +2292,7 @@ function w2(c) {
|
|
|
2280
2292
|
), t = /[^a-zA-Z]+$/;
|
|
2281
2293
|
return e.test(c.toLowerCase()) && !t.test(c);
|
|
2282
2294
|
}
|
|
2283
|
-
class
|
|
2295
|
+
class S2 {
|
|
2284
2296
|
init(e) {
|
|
2285
2297
|
this.handleSliders(e);
|
|
2286
2298
|
}
|
|
@@ -2369,10 +2381,10 @@ class k2 {
|
|
|
2369
2381
|
}
|
|
2370
2382
|
}
|
|
2371
2383
|
}
|
|
2372
|
-
class
|
|
2384
|
+
class g {
|
|
2373
2385
|
static calcCrow(e, t, a, n) {
|
|
2374
|
-
const r =
|
|
2375
|
-
e =
|
|
2386
|
+
const r = g.toRad(a - e), l = g.toRad(n - t);
|
|
2387
|
+
e = g.toRad(e), a = g.toRad(a);
|
|
2376
2388
|
const i = Math.sin(r / 2) * Math.sin(r / 2) + Math.sin(l / 2) * Math.sin(l / 2) * Math.cos(e) * Math.cos(a);
|
|
2377
2389
|
return 6371 * (2 * Math.atan2(Math.sqrt(i), Math.sqrt(1 - i)));
|
|
2378
2390
|
}
|
|
@@ -2387,9 +2399,9 @@ class C {
|
|
|
2387
2399
|
return;
|
|
2388
2400
|
window.dataLayer = window.dataLayer || [];
|
|
2389
2401
|
const t = document.querySelectorAll("[data-div-track]");
|
|
2390
|
-
typeof
|
|
2402
|
+
typeof g == "function" && t.forEach((a) => {
|
|
2391
2403
|
a.addEventListener("click", () => {
|
|
2392
|
-
|
|
2404
|
+
g.clickTrackEvent(a.dataset.divTrack);
|
|
2393
2405
|
});
|
|
2394
2406
|
});
|
|
2395
2407
|
}
|
|
@@ -2402,21 +2414,21 @@ class C {
|
|
|
2402
2414
|
static async createData(e, t = null, a = !0) {
|
|
2403
2415
|
if (window.options.isBot || !t)
|
|
2404
2416
|
return null;
|
|
2405
|
-
const { tolken: n = null, ip: s = null } = await
|
|
2417
|
+
const { tolken: n = null, ip: s = null } = await g.getHeaders(), r = a === !1 ? "" : "&tolken=" + n + "&ip=" + s, l = e + r, i = typeof t == "string" ? t : JSON.stringify(t), d = (t == null ? void 0 : t.website) ?? g.getWebsiteHeaderName();
|
|
2406
2418
|
try {
|
|
2407
|
-
const
|
|
2419
|
+
const h = await fetch(l, {
|
|
2408
2420
|
method: "POST",
|
|
2409
2421
|
body: i === "null" ? null : i,
|
|
2410
2422
|
headers: {
|
|
2411
|
-
website:
|
|
2423
|
+
website: d
|
|
2412
2424
|
}
|
|
2413
|
-
}),
|
|
2414
|
-
if (
|
|
2415
|
-
return
|
|
2416
|
-
const
|
|
2417
|
-
return
|
|
2418
|
-
} catch (
|
|
2419
|
-
console.error("createData",
|
|
2425
|
+
}), p = h.headers.get("content-type");
|
|
2426
|
+
if (p && p.indexOf("application/json") !== -1)
|
|
2427
|
+
return h.json();
|
|
2428
|
+
const H = await h.text();
|
|
2429
|
+
return H ? H.replace("__next", "") : null;
|
|
2430
|
+
} catch (h) {
|
|
2431
|
+
console.error("createData", h);
|
|
2420
2432
|
}
|
|
2421
2433
|
return null;
|
|
2422
2434
|
}
|
|
@@ -2425,7 +2437,7 @@ class C {
|
|
|
2425
2437
|
}
|
|
2426
2438
|
static async deleteSearchValue(e = "recsSearchValue") {
|
|
2427
2439
|
try {
|
|
2428
|
-
return await
|
|
2440
|
+
return await g.createData(`/api/cookie/remove?name=${e}`);
|
|
2429
2441
|
} catch (t) {
|
|
2430
2442
|
console.error("deleteSearchValue", t.message);
|
|
2431
2443
|
}
|
|
@@ -2476,7 +2488,7 @@ class C {
|
|
|
2476
2488
|
static async fetchData(e, t = !1, a = !0) {
|
|
2477
2489
|
if (options.isBot)
|
|
2478
2490
|
return null;
|
|
2479
|
-
const { tolken: n = null, ip: s = null } = await
|
|
2491
|
+
const { tolken: n = null, ip: s = null } = await g.getHeaders(), l = e.replace("#", "").replace("%23", "") + "&tolken=" + n + "&ip=" + s;
|
|
2480
2492
|
try {
|
|
2481
2493
|
const i = await fetch(l, { method: "GET" });
|
|
2482
2494
|
if (t === !0) {
|
|
@@ -2496,8 +2508,8 @@ class C {
|
|
|
2496
2508
|
}
|
|
2497
2509
|
static formatDate(e = null) {
|
|
2498
2510
|
return e ? (e = new Date(e), [
|
|
2499
|
-
|
|
2500
|
-
|
|
2511
|
+
g.padTo2Digits(e.getMonth() + 1),
|
|
2512
|
+
g.padTo2Digits(e.getDate()),
|
|
2501
2513
|
e.getFullYear()
|
|
2502
2514
|
].join("-")) : null;
|
|
2503
2515
|
}
|
|
@@ -2573,15 +2585,15 @@ class C {
|
|
|
2573
2585
|
if ((i = window == null ? void 0 : window.options) != null && i.isPdf)
|
|
2574
2586
|
return r;
|
|
2575
2587
|
try {
|
|
2576
|
-
const h = await (await fetch("/api/headers")).json(), p = (h == null ? void 0 : h.token) ?? null,
|
|
2588
|
+
const h = await (await fetch("/api/headers")).json(), p = (h == null ? void 0 : h.token) ?? null, H = (h == null ? void 0 : h.ip) ?? null;
|
|
2577
2589
|
return localStorage.setItem(
|
|
2578
2590
|
"headerTolken",
|
|
2579
2591
|
JSON.stringify({
|
|
2580
2592
|
tolken: p,
|
|
2581
|
-
ip:
|
|
2593
|
+
ip: H,
|
|
2582
2594
|
expire: (/* @__PURE__ */ new Date()).getTime() + e * 1e3
|
|
2583
2595
|
})
|
|
2584
|
-
), { tolken: p, ip:
|
|
2596
|
+
), { tolken: p, ip: H, userAgent: t, platform: s };
|
|
2585
2597
|
} catch (d) {
|
|
2586
2598
|
console.error("getHeaders", d);
|
|
2587
2599
|
}
|
|
@@ -2594,19 +2606,19 @@ class C {
|
|
|
2594
2606
|
}[e];
|
|
2595
2607
|
}
|
|
2596
2608
|
static async getLocationData(e) {
|
|
2597
|
-
const { swLat: t, neLng: a, neLat: n, swLng: s } =
|
|
2598
|
-
return await
|
|
2609
|
+
const { swLat: t, neLng: a, neLat: n, swLng: s } = g.getBounds(e, 3, 0.05), r = "zip-location&swLat=" + t + "&neLng=" + a + "&neLat=" + n + "&swLng=" + s;
|
|
2610
|
+
return await g.fetchData("/api/client?query=" + r);
|
|
2599
2611
|
}
|
|
2600
2612
|
static getReportUrl(e, t = null) {
|
|
2601
2613
|
var i, d, h;
|
|
2602
2614
|
const a = ((i = e == null ? void 0 : e.state) == null ? void 0 : i.slug) ?? null, n = ((d = e == null ? void 0 : e.city) == null ? void 0 : d.slug) ?? null, s = ((h = e == null ? void 0 : e.name) == null ? void 0 : h.slug) ?? null, r = (e == null ? void 0 : e.zip) ?? null;
|
|
2603
2615
|
t = t || ((e == null ? void 0 : e.id) ?? null);
|
|
2604
2616
|
const l = [r, "-piq", t].filter((p) => p).join("");
|
|
2605
|
-
return "/" + [a, n, s].filter((p) => p).map((p) =>
|
|
2617
|
+
return "/" + [a, n, s].filter((p) => p).map((p) => g.toSlug(p)).join("/") + "/" + l;
|
|
2606
2618
|
}
|
|
2607
2619
|
static async getSearchValue(e = "recsSearchValue") {
|
|
2608
2620
|
try {
|
|
2609
|
-
return await
|
|
2621
|
+
return await g.createData(`/api/cookie/fetch?name=${e}`);
|
|
2610
2622
|
} catch (t) {
|
|
2611
2623
|
console.error("getSearchValue", t.message);
|
|
2612
2624
|
}
|
|
@@ -2734,7 +2746,7 @@ class C {
|
|
|
2734
2746
|
if ((e = window == null ? void 0 : window.options) != null && e.isPdf)
|
|
2735
2747
|
return null;
|
|
2736
2748
|
try {
|
|
2737
|
-
return await
|
|
2749
|
+
return await g.createData("/api/cookie/fetch?name=odrUser");
|
|
2738
2750
|
} catch (t) {
|
|
2739
2751
|
console.error("getUser", t.message);
|
|
2740
2752
|
}
|
|
@@ -2750,7 +2762,7 @@ class C {
|
|
|
2750
2762
|
uuid: t
|
|
2751
2763
|
}
|
|
2752
2764
|
});
|
|
2753
|
-
return await
|
|
2765
|
+
return await g.makeSearchFetchCall(
|
|
2754
2766
|
`/api/client?query=user-get-history&filter=${a}`
|
|
2755
2767
|
);
|
|
2756
2768
|
}
|
|
@@ -2832,7 +2844,7 @@ class C {
|
|
|
2832
2844
|
}), p = new MutationObserver((m, V) => {
|
|
2833
2845
|
m.forEach((w) => {
|
|
2834
2846
|
w.removedNodes.forEach((b) => {
|
|
2835
|
-
b.nodeName === "DIALOG" && (b.removeEventListener("click", v), b.removeEventListener("close",
|
|
2847
|
+
b.nodeName === "DIALOG" && (b.removeEventListener("click", v), b.removeEventListener("close", C), b.dispatchEvent(d.removed), p == null || p.disconnect(), h == null || h.disconnect());
|
|
2836
2848
|
});
|
|
2837
2849
|
});
|
|
2838
2850
|
});
|
|
@@ -2843,18 +2855,18 @@ class C {
|
|
|
2843
2855
|
subtree: !1,
|
|
2844
2856
|
childList: !0
|
|
2845
2857
|
}));
|
|
2846
|
-
const
|
|
2858
|
+
const H = () => {
|
|
2847
2859
|
l == null || l.showModal();
|
|
2848
|
-
},
|
|
2860
|
+
}, C = async ({ target: m }) => {
|
|
2849
2861
|
m == null || m.classList.add("closing"), m == null || m.setAttribute("inert", ""), m == null || m.dispatchEvent(d.closing), m && await f(m), m == null || m.classList.remove("closing"), m == null || m.dispatchEvent(d.closed);
|
|
2850
2862
|
}, v = async ({ target: m }) => {
|
|
2851
2863
|
(m == null ? void 0 : m.nodeName) === "DIALOG" && (m == null || m.dispatchEvent(d.outside), l == null || l.close("outside"));
|
|
2852
2864
|
}, f = (m) => Promise.allSettled(
|
|
2853
2865
|
m == null ? void 0 : m.getAnimations().map((V) => V == null ? void 0 : V.finished)
|
|
2854
2866
|
);
|
|
2855
|
-
return !s && (l == null || l.addEventListener("click", v)), l == null || l.addEventListener("close",
|
|
2867
|
+
return !s && (l == null || l.addEventListener("click", v)), l == null || l.addEventListener("close", C), r == null || r.forEach((m) => {
|
|
2856
2868
|
m.addEventListener("click", (V) => {
|
|
2857
|
-
|
|
2869
|
+
H(), a && a(V, l);
|
|
2858
2870
|
});
|
|
2859
2871
|
}), i == null || i.forEach((m) => {
|
|
2860
2872
|
m.addEventListener("click", async (V) => {
|
|
@@ -2863,12 +2875,12 @@ class C {
|
|
|
2863
2875
|
}), {
|
|
2864
2876
|
activators: r,
|
|
2865
2877
|
ref: l,
|
|
2866
|
-
handleOpen:
|
|
2867
|
-
handleClose:
|
|
2878
|
+
handleOpen: H,
|
|
2879
|
+
handleClose: C
|
|
2868
2880
|
};
|
|
2869
2881
|
}
|
|
2870
2882
|
static hasBoundsEntry(e, t = "bounds") {
|
|
2871
|
-
return
|
|
2883
|
+
return g.getBoundsEntries(t).includes(e);
|
|
2872
2884
|
}
|
|
2873
2885
|
static initObserver(e, t, a = null) {
|
|
2874
2886
|
if (!e)
|
|
@@ -2927,7 +2939,7 @@ class C {
|
|
|
2927
2939
|
url: n,
|
|
2928
2940
|
data: s
|
|
2929
2941
|
};
|
|
2930
|
-
return await
|
|
2942
|
+
return await g.createData("/api/client?query=log/save&method=POST", r), null;
|
|
2931
2943
|
}
|
|
2932
2944
|
static loadAds() {
|
|
2933
2945
|
window.dataLayer = window.dataLayer || [];
|
|
@@ -2945,7 +2957,7 @@ class C {
|
|
|
2945
2957
|
if (e) {
|
|
2946
2958
|
const s = "/scripts/" + e + ".js?v=" + n;
|
|
2947
2959
|
try {
|
|
2948
|
-
return await
|
|
2960
|
+
return await g.injectScript({
|
|
2949
2961
|
src: s,
|
|
2950
2962
|
id: t || e,
|
|
2951
2963
|
async: !1,
|
|
@@ -2961,11 +2973,11 @@ class C {
|
|
|
2961
2973
|
if (window.options.googleMapsLoaded === !0)
|
|
2962
2974
|
return;
|
|
2963
2975
|
const e = "https://maps.googleapis.com/maps/api/js", t = window.options.googleApiKey, a = e + "?key=" + t + "&libraries=marker&v=beta&callback=mapCb";
|
|
2964
|
-
await
|
|
2976
|
+
await g.injectScript({ src: a, id: "googleapis", async: !1 });
|
|
2965
2977
|
}
|
|
2966
2978
|
static async loadLeafletApi() {
|
|
2967
2979
|
const e = "https://unpkg.com/leaflet@1.9.3/dist", t = e + "/leaflet.js", a = e + "/leaflet.css", n = "//unpkg.com/leaflet-gesture-handling", s = "//unpkg.com/leaflet-gesture-handling/dist/leaflet-gesture-handling.min.css";
|
|
2968
|
-
await
|
|
2980
|
+
await g.injectLink({ href: a, id: "leafletCss" }), await g.injectLink({ href: s, id: "gestureCss" }), await g.injectScript({ src: t, id: "leafletJs", async: !1 }), await g.injectScript({
|
|
2969
2981
|
src: n,
|
|
2970
2982
|
id: "gestureJs",
|
|
2971
2983
|
async: !1
|
|
@@ -2980,7 +2992,7 @@ class C {
|
|
|
2980
2992
|
}
|
|
2981
2993
|
static async loadSwiper() {
|
|
2982
2994
|
const e = "https://cdn.jsdelivr.net/npm", t = `${e}/swiper@9/swiper-bundle.min.js`, a = `${e}/swiper@9/swiper-bundle.min.css`;
|
|
2983
|
-
await
|
|
2995
|
+
await g.injectLink({ href: a, id: "swiperCss" }), await g.injectScript({ src: t, id: "swiperJs", async: !1 });
|
|
2984
2996
|
}
|
|
2985
2997
|
static async makeSearchFetchCall(e) {
|
|
2986
2998
|
try {
|
|
@@ -3019,11 +3031,11 @@ class C {
|
|
|
3019
3031
|
state: d = null,
|
|
3020
3032
|
vin: h = null,
|
|
3021
3033
|
license: p = null,
|
|
3022
|
-
token:
|
|
3023
|
-
phone:
|
|
3034
|
+
token: H = null,
|
|
3035
|
+
phone: C = null
|
|
3024
3036
|
} = e || {}, v = t && t !== "", f = r && r !== "" && r !== "18", m = l && l !== "" && r !== "99";
|
|
3025
3037
|
let V = [];
|
|
3026
|
-
return t && t !== "" && V.push("name=" + t), v || (a && a !== "" && V.push("first=" + a), n && n !== "" && V.push("middle=" + n), s && s !== "" && V.push("last=" + s)), f && m ? parseInt(r) > parseInt(l) ? (V.push("min=" + l), V.push("max=" + r)) : (V.push("min=" + r), V.push("max=" + l)) : (f && V.push("min=" + r), m && V.push("max=" + l)),
|
|
3038
|
+
return t && t !== "" && V.push("name=" + t), v || (a && a !== "" && V.push("first=" + a), n && n !== "" && V.push("middle=" + n), s && s !== "" && V.push("last=" + s)), f && m ? parseInt(r) > parseInt(l) ? (V.push("min=" + l), V.push("max=" + r)) : (V.push("min=" + r), V.push("max=" + l)) : (f && V.push("min=" + r), m && V.push("max=" + l)), C && C !== "" && V.push("phone=" + C), i && i !== "" && V.push("city=" + i), p && p !== "" && V.push("license=" + p), h && h !== "" && V.push("vin=" + h), d && d !== "" && V.push("state=" + d), H && H !== "" && V.push("token=" + H), V.join("&");
|
|
3027
3039
|
}
|
|
3028
3040
|
static padTo2Digits(e) {
|
|
3029
3041
|
return e.toString().padStart(2, "0");
|
|
@@ -3041,7 +3053,7 @@ class C {
|
|
|
3041
3053
|
useLocation: l = !0,
|
|
3042
3054
|
state: i = "",
|
|
3043
3055
|
useGoogle: d = !1
|
|
3044
|
-
} = t ?? {}, { tolken: h = null, ip: p = null } = await
|
|
3056
|
+
} = t ?? {}, { tolken: h = null, ip: p = null } = await g.getHeaders(), C = [
|
|
3045
3057
|
"query=" + encodeURIComponent(this.cleanupAddress(e)),
|
|
3046
3058
|
"addressesOnly=" + a,
|
|
3047
3059
|
"useSearch=" + r,
|
|
@@ -3050,9 +3062,9 @@ class C {
|
|
|
3050
3062
|
"useLocation=" + l,
|
|
3051
3063
|
"useGoogle=" + d
|
|
3052
3064
|
];
|
|
3053
|
-
i && i !== "" && !s &&
|
|
3054
|
-
const v =
|
|
3055
|
-
return await
|
|
3065
|
+
i && i !== "" && !s && C.push("state=" + i), h && h !== "" && C.push("tolken=" + h), p && p !== "" && C.push("ip=" + p);
|
|
3066
|
+
const v = C.join("&"), m = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + v;
|
|
3067
|
+
return await g.makeSearchFetchCall(m);
|
|
3056
3068
|
}
|
|
3057
3069
|
static removeElements(e) {
|
|
3058
3070
|
document.querySelectorAll(e).forEach((t) => t == null ? void 0 : t.remove());
|
|
@@ -3071,7 +3083,7 @@ class C {
|
|
|
3071
3083
|
});
|
|
3072
3084
|
}
|
|
3073
3085
|
static searchInStates(e) {
|
|
3074
|
-
const t =
|
|
3086
|
+
const t = g.getStates(), a = e.toLowerCase();
|
|
3075
3087
|
let n = t.find((s) => s.short.toLowerCase() === a) ?? null;
|
|
3076
3088
|
return n || (n = t.find((s) => s.name.toLowerCase() === a) ?? null), n;
|
|
3077
3089
|
}
|
|
@@ -3079,7 +3091,7 @@ class C {
|
|
|
3079
3091
|
typeof woopra == "object" && woopra.track(e, t);
|
|
3080
3092
|
}
|
|
3081
3093
|
static setBoundsEntries(e, t = "bounds") {
|
|
3082
|
-
const a =
|
|
3094
|
+
const a = g.getBoundsEntries(t);
|
|
3083
3095
|
a.push(e), localStorage.setItem(t, JSON.stringify(a));
|
|
3084
3096
|
}
|
|
3085
3097
|
static async setCityState(e = null) {
|
|
@@ -3088,7 +3100,7 @@ class C {
|
|
|
3088
3100
|
return e;
|
|
3089
3101
|
t = t.toLowerCase().replace(" usa", "").replace("city or state", "").replace(" state", "").trim();
|
|
3090
3102
|
let [a = null, n = null] = t.split(",").map((s) => s.trim());
|
|
3091
|
-
if (
|
|
3103
|
+
if (g.getStates(), a && !n) {
|
|
3092
3104
|
const s = this.searchInStates(a);
|
|
3093
3105
|
s && (a = null, n = s.short);
|
|
3094
3106
|
}
|
|
@@ -3106,7 +3118,7 @@ class C {
|
|
|
3106
3118
|
return a && n && a.toLowerCase() === n.toLowerCase() && (a = null), e.city = a, e.state = n ? n.toUpperCase() : null, e;
|
|
3107
3119
|
}
|
|
3108
3120
|
static async setSearchValueClient(e, t = "recsSearchValue") {
|
|
3109
|
-
localStorage.setItem(t, JSON.stringify(e)), await
|
|
3121
|
+
localStorage.setItem(t, JSON.stringify(e)), await g.createData(`/api/cookie/create?name=${t}`, e);
|
|
3110
3122
|
}
|
|
3111
3123
|
static stickyHeader(e = ".nav") {
|
|
3112
3124
|
const t = document.querySelector(e);
|
|
@@ -3133,7 +3145,7 @@ class C {
|
|
|
3133
3145
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
3134
3146
|
}
|
|
3135
3147
|
static useLayerTitle(e, t) {
|
|
3136
|
-
const a =
|
|
3148
|
+
const a = g.getLayerTitle(e);
|
|
3137
3149
|
L.tileLayer(a, {
|
|
3138
3150
|
maxNativeZoom: 19,
|
|
3139
3151
|
maxZoom: 25,
|
|
@@ -3142,7 +3154,7 @@ class C {
|
|
|
3142
3154
|
}).addTo(t);
|
|
3143
3155
|
}
|
|
3144
3156
|
static ucWords(e) {
|
|
3145
|
-
return e ? e.toString().split(" ").map((t) =>
|
|
3157
|
+
return e ? e.toString().split(" ").map((t) => g.ucFirst(t)).join(" ") : null;
|
|
3146
3158
|
}
|
|
3147
3159
|
}
|
|
3148
3160
|
export {
|
|
@@ -3153,9 +3165,9 @@ export {
|
|
|
3153
3165
|
E as Button,
|
|
3154
3166
|
X1 as ButtonGroup,
|
|
3155
3167
|
_1 as Card,
|
|
3156
|
-
|
|
3168
|
+
S2 as CardSlider,
|
|
3157
3169
|
e2 as Checkbox,
|
|
3158
|
-
|
|
3170
|
+
g as Common,
|
|
3159
3171
|
f2 as ContactForm,
|
|
3160
3172
|
t2 as Container,
|
|
3161
3173
|
V2 as ContentCard,
|