@applica-software-guru/react-admin 1.0.9 → 1.0.11
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/components/third-party/SimpleBar.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +3 -3
- package/dist/react-admin.es.js +1351 -1352
- package/dist/react-admin.umd.js +4 -4
- package/dist/style.css +1 -0
- package/package.json +3 -3
package/dist/react-admin.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useResourceDefinitions as WP, useGetIdentity as FC, usePermissions as UP, useTranslate as _r, useRecordContext as jt, useResourceContext as Tr, useLogout as YP, useDataProvider as Ku, useAuthProvider as NC, useNotify as Ti, useRedirect as qu, useUpdate as LC, useLocaleState as yl, useGetList as GP, LoadingIndicator as KP, Notification as qP, Toolbar as Ju, Form as _u, SaveButton as vl, Edit as JP, FormGroupContextProvider as _P, getTabbedFormTabFullPath as XP, SimpleForm as Xu, DeleteWithConfirmButton as jC, TabbedForm as bl, CreateButtonClasses as HC, Button as $n, useCreateController as ZP, CreateContextProvider as $P, useGetOne as eR, useEditController as tR, EditContextProvider as rR, EditButton as nR, CloneButton as oR, FileField as Zu, ImageField as VC, DateField as ws, EmailField as xl, FunctionField as iR, FieldTitle as zC, ReferenceManyField as $u, TextField as wl, useInput as sR, ArrayInput as WC, FileInput as Tl, AutocompleteArrayInput as UC, AutocompleteInput as YC, BooleanInput as eg, DateInput as tg, ImageInput as GC, NumberInput as rg, ReferenceArrayInput as ng, ReferenceInput as og, ResourceContextProvider as aR, Pagination as lR, ListToolbar as AR, SearchInput as cR, SelectArrayInput as ig, SelectInput as KC, TextInput as sg, maxLength as uR, TimeInput as ag, Datagrid as qC, List as Pl, useRefresh as JC, useUnselectAll as _C, useListContext as XC, useUpdateMany as ZC, CoreAdminContext as lg, localStorageStore as gR, AdminUI as $C } from "react-admin";
|
|
2
|
-
import { ArrayInput as
|
|
2
|
+
import { ArrayInput as y9, ArrayInputContext as v9, BooleanField as b9, BulkDeleteWithConfirmButton as x9, Button as w9, ChipField as T9, Confirm as P9, Create as R9, CreateButton as S9, CreateContextProvider as O9, DeleteWithConfirmButton as D9, DeleteWithUndoButton as M9, EditButton as k9, Form as F9, ListToolbar as N9, Pagination as L9, RecordContextProvider as j9, ReferenceArrayField as H9, ReferenceField as V9, Resource as z9, ResourceContextProvider as W9, SaveButton as U9, SimpleFormIterator as Y9, SimpleFormIteratorContext as G9, SimpleList as K9, SingleFieldList as q9, TopToolbar as J9, choices as _9, email as X9, maxLength as Z9, maxValue as $9, minLength as eU, minValue as tU, number as rU, regex as nU, required as oU, useArrayInput as iU, useAuthProvider as sU, useDataProvider as aU, useGetIdentity as lU, useGetList as AU, useGetMany as cU, useGetManyReference as uU, useGetOne as gU, useListContext as dU, useNotify as fU, usePermissions as pU, useRecordContext as hU, useResourceContext as EU, useResourceDefinition as CU, useResourceDefinitions as IU, useTranslate as BU, useUnselect as mU, useUnselectAll as QU, useUpdateMany as yU } from "react-admin";
|
|
3
3
|
import * as Y from "react";
|
|
4
4
|
import We, { useState as ut, Children as eI, createContext as wn, useContext as Wt, useMemo as it, useEffect as kt, forwardRef as ko, isValidElement as Ya, cloneElement as Ga, useLayoutEffect as dR, useRef as Po, useInsertionEffect as fR, useCallback as xt, createElement as pR, useId as hR, Fragment as Pi, Suspense as ER } from "react";
|
|
5
5
|
import { Popover as CR, styled as tI, IconButton as IR, MenuItem as BR, Card as mR, CardHeader as gu, Typography as Pe, Divider as Ii, CardContent as rI, Grid as bt, Box as Me, Tooltip as Rl, tooltipClasses as Sa, Grow as QR, Collapse as nI, Fade as yR, Slide as vR, Zoom as oI, CircularProgress as du, circularProgressClasses as bR, LinearProgress as iI, useMediaQuery as xr, ListItemButton as Ro, ListItemIcon as Gn, ListItemText as So, Chip as qp, Avatar as el, Popper as Ts, Paper as vi, ClickAwayListener as bi, List as Is, ButtonBase as sI, Drawer as xR, Stack as To, AppBar as Ag, Toolbar as cg, ListItemAvatar as wR, ListItemSecondaryAction as aI, Badge as TR, Container as lI, useScrollTrigger as PR, Fab as RR, Dialog as AI, InputLabel as cI, FormHelperText as SR, TextField as OR, useTheme as DR, darken as MR, lighten as kR, StyledEngineProvider as FR, CssBaseline as NR } from "@mui/material";
|
|
@@ -7,7 +7,6 @@ import LR from "@emotion/styled";
|
|
|
7
7
|
import { ThemeContext as uI, keyframes as eo, css as Ps, useTheme as jR } from "@emotion/react";
|
|
8
8
|
import { jsx as C, jsxs as oe, Fragment as gr } from "react/jsx-runtime";
|
|
9
9
|
import { MoreVert as HR, Add as Jp, Edit as VR, VpnKey as zR, Inbox as WR, Email as UR, Drafts as YR } from "@mui/icons-material";
|
|
10
|
-
import "simplebar/src/simplebar.css";
|
|
11
10
|
import { useLocation as Ri, Link as In, useNavigate as GR, Outlet as KR, matchPath as _p } from "react-router-dom";
|
|
12
11
|
import { AntDesignOutlined as Xp, HomeOutlined as Tc, HomeFilled as Pc, ApartmentOutlined as fu, UpOutlined as qR, DownOutlined as tl, RightOutlined as ug, BorderOutlined as JR, LogoutOutlined as _R, MoreOutlined as XR, MessageOutlined as ZR, BellOutlined as $R, CheckCircleOutlined as eS, MenuUnfoldOutlined as tS, MenuFoldOutlined as rS, CheckSquareFilled as nS, MinusSquareFilled as oS } from "@ant-design/icons";
|
|
13
12
|
import { useLocation as gg, matchPath as gI, useResolvedPath as iS, Routes as sS, Route as aS } from "react-router";
|
|
@@ -15967,1342 +15966,1342 @@ const Nm = () => {
|
|
|
15967
15966
|
children: R
|
|
15968
15967
|
});
|
|
15969
15968
|
};
|
|
15970
|
-
var
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
|
|
15974
|
-
var
|
|
15975
|
-
|
|
15976
|
-
|
|
15977
|
-
|
|
15978
|
-
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
|
|
15986
|
-
}
|
|
15987
|
-
|
|
15988
|
-
function
|
|
15989
|
-
|
|
15969
|
+
var pe = {}, zu = { exports: {} };
|
|
15970
|
+
(function(e, t) {
|
|
15971
|
+
(function(r, n) {
|
|
15972
|
+
var s = "1.0.35", a = "", l = "?", u = "function", g = "undefined", d = "object", p = "string", E = "major", h = "model", I = "name", B = "type", Q = "vendor", y = "version", R = "architecture", O = "console", x = "mobile", T = "tablet", P = "smarttv", H = "wearable", W = "embedded", X = 350, Z = "Amazon", G = "Apple", ue = "ASUS", Ee = "BlackBerry", re = "Browser", L = "Chrome", N = "Edge", $ = "Firefox", z = "Google", K = "Huawei", _ = "LG", F = "Microsoft", k = "Motorola", te = "Opera", ae = "Samsung", ge = "Sharp", Ae = "Sony", ce = "Xiaomi", Ce = "Zebra", Ie = "Facebook", de = "Chromium OS", Be = "Mac OS", Ne = function(Re, qe) {
|
|
15973
|
+
var ve = {};
|
|
15974
|
+
for (var Ye in Re)
|
|
15975
|
+
qe[Ye] && qe[Ye].length % 2 === 0 ? ve[Ye] = qe[Ye].concat(Re[Ye]) : ve[Ye] = Re[Ye];
|
|
15976
|
+
return ve;
|
|
15977
|
+
}, ne = function(Re) {
|
|
15978
|
+
for (var qe = {}, ve = 0; ve < Re.length; ve++)
|
|
15979
|
+
qe[Re[ve].toUpperCase()] = Re[ve];
|
|
15980
|
+
return qe;
|
|
15981
|
+
}, At = function(Re, qe) {
|
|
15982
|
+
return typeof Re === p ? se(qe).indexOf(se(Re)) !== -1 : !1;
|
|
15983
|
+
}, se = function(Re) {
|
|
15984
|
+
return Re.toLowerCase();
|
|
15985
|
+
}, Pt = function(Re) {
|
|
15986
|
+
return typeof Re === p ? Re.replace(/[^\d\.]/g, a).split(".")[0] : n;
|
|
15987
|
+
}, sr = function(Re, qe) {
|
|
15988
|
+
if (typeof Re === p)
|
|
15989
|
+
return Re = Re.replace(/^\s\s*/, a), typeof qe === g ? Re : Re.substring(0, X);
|
|
15990
|
+
}, Ue = function(Re, qe) {
|
|
15991
|
+
for (var ve = 0, Ye, me, Ht, Ve, Qe, er; ve < qe.length && !Qe; ) {
|
|
15992
|
+
var so = qe[ve], jo = qe[ve + 1];
|
|
15993
|
+
for (Ye = me = 0; Ye < so.length && !Qe && so[Ye]; )
|
|
15994
|
+
if (Qe = so[Ye++].exec(Re), Qe)
|
|
15995
|
+
for (Ht = 0; Ht < jo.length; Ht++)
|
|
15996
|
+
er = Qe[++me], Ve = jo[Ht], typeof Ve === d && Ve.length > 0 ? Ve.length === 2 ? typeof Ve[1] == u ? this[Ve[0]] = Ve[1].call(this, er) : this[Ve[0]] = Ve[1] : Ve.length === 3 ? typeof Ve[1] === u && !(Ve[1].exec && Ve[1].test) ? this[Ve[0]] = er ? Ve[1].call(this, er, Ve[2]) : n : this[Ve[0]] = er ? er.replace(Ve[1], Ve[2]) : n : Ve.length === 4 && (this[Ve[0]] = er ? Ve[3].call(this, er.replace(Ve[1], Ve[2])) : n) : this[Ve] = er || n;
|
|
15997
|
+
ve += 2;
|
|
15998
|
+
}
|
|
15999
|
+
}, Pn = function(Re, qe) {
|
|
16000
|
+
for (var ve in qe)
|
|
16001
|
+
if (typeof qe[ve] === d && qe[ve].length > 0) {
|
|
16002
|
+
for (var Ye = 0; Ye < qe[ve].length; Ye++)
|
|
16003
|
+
if (At(qe[ve][Ye], Re))
|
|
16004
|
+
return ve === l ? n : ve;
|
|
16005
|
+
} else if (At(qe[ve], Re))
|
|
16006
|
+
return ve === l ? n : ve;
|
|
16007
|
+
return Re;
|
|
16008
|
+
}, Li = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Rr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, Ft = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [y, [I, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [y, [I, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [I, y], [/opios[\/ ]+([\w\.]+)/i], [y, [I, te + " Mini"]], [/\bopr\/([\w\.]+)/i], [y, [I, te]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\w\.]+)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [I, y], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [y, [I, "UC" + re]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [y, [I, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [y, [I, "WeChat"]], [/konqueror\/([\w\.]+)/i], [y, [I, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [y, [I, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [y, [I, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[I, /(.+)/, "$1 Secure " + re], y], [/\bfocus\/([\w\.]+)/i], [y, [I, $ + " Focus"]], [/\bopt\/([\w\.]+)/i], [y, [I, te + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [y, [I, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [y, [I, "Dolphin"]], [/coast\/([\w\.]+)/i], [y, [I, te + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [y, [I, "MIUI " + re]], [/fxios\/([-\w\.]+)/i], [y, [I, $]], [/\bqihu|(qi?ho?o?|360)browser/i], [[I, "360 " + re]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[I, /(.+)/, "$1 " + re], y], [/(comodo_dragon)\/([\w\.]+)/i], [[I, /_/g, " "], y], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [I, y], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [I], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[I, Ie], y], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [I, y], [/\bgsa\/([\w\.]+) .*safari\//i], [y, [I, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [y, [I, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [y, [I, L + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[I, L + " WebView"], y], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [y, [I, "Android " + re]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [I, y], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [y, [I, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [y, I], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [I, [y, Pn, Li]], [/(webkit|khtml)\/([\w\.]+)/i], [I, y], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[I, "Netscape"], y], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [y, [I, $ + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [I, y], [/(cobalt)\/([\w\.]+)/i], [I, [y, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[R, "amd64"]], [/(ia32(?=;))/i], [[R, se]], [/((?:i[346]|x)86)[;\)]/i], [[R, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[R, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[R, "armhf"]], [/windows (ce|mobile); ppc;/i], [[R, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[R, /ower/, a, se]], [/(sun4\w)[;\)]/i], [[R, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[R, se]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [h, [Q, ae], [B, T]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [h, [Q, ae], [B, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [Q, G], [B, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [Q, G], [B, T]], [/(macintosh);/i], [h, [Q, G]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [Q, ge], [B, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [h, [Q, K], [B, T]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [Q, K], [B, x]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[h, /_/g, " "], [Q, ce], [B, x]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[h, /_/g, " "], [Q, ce], [B, T]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [Q, "OPPO"], [B, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [Q, "Vivo"], [B, x]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [h, [Q, "Realme"], [B, x]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [h, [Q, k], [B, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [Q, k], [B, T]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [Q, _], [B, T]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [Q, _], [B, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [h, [Q, "Lenovo"], [B, T]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[h, /_/g, " "], [Q, "Nokia"], [B, x]], [/(pixel c)\b/i], [h, [Q, z], [B, T]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [Q, z], [B, x]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [h, [Q, Ae], [B, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [Q, Ae], [B, T]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [Q, "OnePlus"], [B, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [Q, Z], [B, T]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [Q, Z], [B, x]], [/(playbook);[-\w\),; ]+(rim)/i], [h, Q, [B, T]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [Q, Ee], [B, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [Q, ue], [B, T]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [Q, ue], [B, x]], [/(nexus 9)/i], [h, [Q, "HTC"], [B, T]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [Q, [h, /_/g, " "], [B, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [Q, "Acer"], [B, T]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [Q, "Meizu"], [B, x]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [Q, h, [B, x]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [Q, h, [B, T]], [/(surface duo)/i], [h, [Q, F], [B, T]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [Q, "Fairphone"], [B, x]], [/(u304aa)/i], [h, [Q, "AT&T"], [B, x]], [/\bsie-(\w*)/i], [h, [Q, "Siemens"], [B, x]], [/\b(rct\w+) b/i], [h, [Q, "RCA"], [B, T]], [/\b(venue[\d ]{2,7}) b/i], [h, [Q, "Dell"], [B, T]], [/\b(q(?:mv|ta)\w+) b/i], [h, [Q, "Verizon"], [B, T]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [Q, "Barnes & Noble"], [B, T]], [/\b(tm\d{3}\w+) b/i], [h, [Q, "NuVision"], [B, T]], [/\b(k88) b/i], [h, [Q, "ZTE"], [B, T]], [/\b(nx\d{3}j) b/i], [h, [Q, "ZTE"], [B, x]], [/\b(gen\d{3}) b.+49h/i], [h, [Q, "Swiss"], [B, x]], [/\b(zur\d{3}) b/i], [h, [Q, "Swiss"], [B, T]], [/\b((zeki)?tb.*\b) b/i], [h, [Q, "Zeki"], [B, T]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[Q, "Dragon Touch"], h, [B, T]], [/\b(ns-?\w{0,9}) b/i], [h, [Q, "Insignia"], [B, T]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [Q, "NextBook"], [B, T]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[Q, "Voice"], h, [B, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[Q, "LvTel"], h, [B, x]], [/\b(ph-1) /i], [h, [Q, "Essential"], [B, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [Q, "Envizen"], [B, T]], [/\b(trio[-\w\. ]+) b/i], [h, [Q, "MachSpeed"], [B, T]], [/\btu_(1491) b/i], [h, [Q, "Rotor"], [B, T]], [/(shield[\w ]+) b/i], [h, [Q, "Nvidia"], [B, T]], [/(sprint) (\w+)/i], [Q, h, [B, x]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [Q, F], [B, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [Q, Ce], [B, T]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [Q, Ce], [B, x]], [/smart-tv.+(samsung)/i], [Q, [B, P]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [Q, ae], [B, P]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[Q, _], [B, P]], [/(apple) ?tv/i], [Q, [h, G + " TV"], [B, P]], [/crkey/i], [[h, L + "cast"], [Q, z], [B, P]], [/droid.+aft(\w)( bui|\))/i], [h, [Q, Z], [B, P]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [Q, ge], [B, P]], [/(bravia[\w ]+)( bui|\))/i], [h, [Q, Ae], [B, P]], [/(mitv-\w{5}) bui/i], [h, [Q, ce], [B, P]], [/Hbbtv.*(technisat) (.*);/i], [Q, h, [B, P]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[Q, sr], [h, sr], [B, P]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[B, P]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [Q, h, [B, O]], [/droid.+; (shield) bui/i], [h, [Q, "Nvidia"], [B, O]], [/(playstation [345portablevi]+)/i], [h, [Q, Ae], [B, O]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [Q, F], [B, O]], [/((pebble))app/i], [Q, h, [B, H]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [Q, G], [B, H]], [/droid.+; (glass) \d/i], [h, [Q, z], [B, H]], [/droid.+; (wt63?0{2,3})\)/i], [h, [Q, Ce], [B, H]], [/(quest( 2| pro)?)/i], [h, [Q, Ie], [B, H]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [Q, [B, W]], [/(aeobc)\b/i], [h, [Q, Z], [B, W]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [h, [B, x]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [B, T]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[B, T]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[B, x]], [/(android[-\w\. ]{0,9});.+buil/i], [h, [Q, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [y, [I, N + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [y, [I, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [I, y], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [y, I]], os: [[/microsoft (windows) (vista|xp)/i], [I, y], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [I, [y, Pn, Rr]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[I, "Windows"], [y, Pn, Rr]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[y, /_/g, "."], [I, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[I, Be], [y, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [y, I], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [I, y], [/\(bb(10);/i], [y, [I, Ee]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [y, [I, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [y, [I, $ + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [y, [I, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [y, [I, "watchOS"]], [/crkey\/([\d\.]+)/i], [y, [I, L + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[I, de], y], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [I, y], [/(sunos) ?([\w\.\d]*)/i], [[I, "Solaris"], y], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [I, y]] }, St = function(Re, qe) {
|
|
16009
|
+
if (typeof Re === d && (qe = Re, Re = n), !(this instanceof St))
|
|
16010
|
+
return new St(Re, qe).getResult();
|
|
16011
|
+
var ve = typeof r !== g && r.navigator ? r.navigator : n, Ye = Re || (ve && ve.userAgent ? ve.userAgent : a), me = ve && ve.userAgentData ? ve.userAgentData : n, Ht = qe ? Ne(Ft, qe) : Ft, Ve = ve && ve.userAgent == Ye;
|
|
16012
|
+
return this.getBrowser = function() {
|
|
16013
|
+
var Qe = {};
|
|
16014
|
+
return Qe[I] = n, Qe[y] = n, Ue.call(Qe, Ye, Ht.browser), Qe[E] = Pt(Qe[y]), Ve && ve && ve.brave && typeof ve.brave.isBrave == u && (Qe[I] = "Brave"), Qe;
|
|
16015
|
+
}, this.getCPU = function() {
|
|
16016
|
+
var Qe = {};
|
|
16017
|
+
return Qe[R] = n, Ue.call(Qe, Ye, Ht.cpu), Qe;
|
|
16018
|
+
}, this.getDevice = function() {
|
|
16019
|
+
var Qe = {};
|
|
16020
|
+
return Qe[Q] = n, Qe[h] = n, Qe[B] = n, Ue.call(Qe, Ye, Ht.device), Ve && !Qe[B] && me && me.mobile && (Qe[B] = x), Ve && Qe[h] == "Macintosh" && ve && typeof ve.standalone !== g && ve.maxTouchPoints && ve.maxTouchPoints > 2 && (Qe[h] = "iPad", Qe[B] = T), Qe;
|
|
16021
|
+
}, this.getEngine = function() {
|
|
16022
|
+
var Qe = {};
|
|
16023
|
+
return Qe[I] = n, Qe[y] = n, Ue.call(Qe, Ye, Ht.engine), Qe;
|
|
16024
|
+
}, this.getOS = function() {
|
|
16025
|
+
var Qe = {};
|
|
16026
|
+
return Qe[I] = n, Qe[y] = n, Ue.call(Qe, Ye, Ht.os), Ve && !Qe[I] && me && me.platform != "Unknown" && (Qe[I] = me.platform.replace(/chrome os/i, de).replace(/macos/i, Be)), Qe;
|
|
16027
|
+
}, this.getResult = function() {
|
|
16028
|
+
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
16029
|
+
}, this.getUA = function() {
|
|
16030
|
+
return Ye;
|
|
16031
|
+
}, this.setUA = function(Qe) {
|
|
16032
|
+
return Ye = typeof Qe === p && Qe.length > X ? sr(Qe, X) : Qe, this;
|
|
16033
|
+
}, this.setUA(Ye), this;
|
|
16034
|
+
};
|
|
16035
|
+
St.VERSION = s, St.BROWSER = ne([I, y, E]), St.CPU = ne([R]), St.DEVICE = ne([h, Q, B, O, x, P, T, H, W]), St.ENGINE = St.OS = ne([I, y]), e.exports && (t = e.exports = St), t.UAParser = St;
|
|
16036
|
+
var pr = typeof r !== g && (r.jQuery || r.Zepto);
|
|
16037
|
+
if (pr && !pr.ua) {
|
|
16038
|
+
var Ur = new St();
|
|
16039
|
+
pr.ua = Ur.getResult(), pr.ua.get = function() {
|
|
16040
|
+
return Ur.getUA();
|
|
16041
|
+
}, pr.ua.set = function(Re) {
|
|
16042
|
+
Ur.setUA(Re);
|
|
16043
|
+
var qe = Ur.getResult();
|
|
16044
|
+
for (var ve in qe)
|
|
16045
|
+
pr.ua[ve] = qe[ve];
|
|
16046
|
+
};
|
|
16047
|
+
}
|
|
16048
|
+
})(typeof window == "object" ? window : Vr);
|
|
16049
|
+
})(zu, zu.exports);
|
|
16050
|
+
Object.defineProperty(pe, "__esModule", {
|
|
16051
|
+
value: !0
|
|
16052
|
+
});
|
|
16053
|
+
function GL(e) {
|
|
16054
|
+
return e && typeof e == "object" && "default" in e ? e.default : e;
|
|
15990
16055
|
}
|
|
15991
|
-
var
|
|
15992
|
-
|
|
15993
|
-
|
|
16056
|
+
var qt = We, gt = GL(qt), Lm = zu.exports, oo = new Lm(), $t = oo.getBrowser(), KL = oo.getCPU(), Pr = oo.getDevice(), Zg = oo.getEngine(), io = oo.getOS(), js = oo.getUA(), jm = function(t) {
|
|
16057
|
+
return oo.setUA(t);
|
|
16058
|
+
}, Hs = function(t) {
|
|
16059
|
+
if (!t) {
|
|
16060
|
+
console.error("No userAgent string was provided");
|
|
16061
|
+
return;
|
|
16062
|
+
}
|
|
16063
|
+
var r = new Lm(t);
|
|
16064
|
+
return {
|
|
16065
|
+
UA: r,
|
|
16066
|
+
browser: r.getBrowser(),
|
|
16067
|
+
cpu: r.getCPU(),
|
|
16068
|
+
device: r.getDevice(),
|
|
16069
|
+
engine: r.getEngine(),
|
|
16070
|
+
os: r.getOS(),
|
|
16071
|
+
ua: r.getUA(),
|
|
16072
|
+
setUserAgent: function(s) {
|
|
16073
|
+
return r.setUA(s);
|
|
16074
|
+
}
|
|
16075
|
+
};
|
|
16076
|
+
}, Hm = /* @__PURE__ */ Object.freeze({
|
|
16077
|
+
ClientUAInstance: oo,
|
|
16078
|
+
browser: $t,
|
|
16079
|
+
cpu: KL,
|
|
16080
|
+
device: Pr,
|
|
16081
|
+
engine: Zg,
|
|
16082
|
+
os: io,
|
|
16083
|
+
ua: js,
|
|
16084
|
+
setUa: jm,
|
|
16085
|
+
parseUserAgent: Hs
|
|
16086
|
+
});
|
|
16087
|
+
function ZE(e, t) {
|
|
16088
|
+
var r = Object.keys(e);
|
|
16089
|
+
if (Object.getOwnPropertySymbols) {
|
|
16090
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
16091
|
+
t && (n = n.filter(function(s) {
|
|
16092
|
+
return Object.getOwnPropertyDescriptor(e, s).enumerable;
|
|
16093
|
+
})), r.push.apply(r, n);
|
|
16094
|
+
}
|
|
16095
|
+
return r;
|
|
15994
16096
|
}
|
|
15995
|
-
function
|
|
15996
|
-
|
|
16097
|
+
function qL(e) {
|
|
16098
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
16099
|
+
var r = arguments[t] != null ? arguments[t] : {};
|
|
16100
|
+
t % 2 ? ZE(Object(r), !0).forEach(function(n) {
|
|
16101
|
+
XL(e, n, r[n]);
|
|
16102
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ZE(Object(r)).forEach(function(n) {
|
|
16103
|
+
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
16104
|
+
});
|
|
16105
|
+
}
|
|
16106
|
+
return e;
|
|
15997
16107
|
}
|
|
15998
|
-
|
|
15999
|
-
function
|
|
16000
|
-
|
|
16108
|
+
function Cs(e) {
|
|
16109
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Cs = function(t) {
|
|
16110
|
+
return typeof t;
|
|
16111
|
+
} : Cs = function(t) {
|
|
16112
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
16113
|
+
}, Cs(e);
|
|
16001
16114
|
}
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
;
|
|
16006
|
-
return t;
|
|
16115
|
+
function JL(e, t) {
|
|
16116
|
+
if (!(e instanceof t))
|
|
16117
|
+
throw new TypeError("Cannot call a class as a function");
|
|
16007
16118
|
}
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
|
|
16119
|
+
function $E(e, t) {
|
|
16120
|
+
for (var r = 0; r < t.length; r++) {
|
|
16121
|
+
var n = t[r];
|
|
16122
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
|
|
16123
|
+
}
|
|
16011
16124
|
}
|
|
16012
|
-
function
|
|
16013
|
-
|
|
16014
|
-
return e != null && (t == "object" || t == "function");
|
|
16125
|
+
function _L(e, t, r) {
|
|
16126
|
+
return t && $E(e.prototype, t), r && $E(e, r), e;
|
|
16015
16127
|
}
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
16024
|
-
e = Cl(t) ? t + "" : t;
|
|
16025
|
-
}
|
|
16026
|
-
if (typeof e != "string")
|
|
16027
|
-
return e === 0 ? e : +e;
|
|
16028
|
-
e = g3(e);
|
|
16029
|
-
var r = f3.test(e);
|
|
16030
|
-
return r || p3.test(e) ? h3(e.slice(2), r ? 2 : 8) : d3.test(e) ? $E : +e;
|
|
16128
|
+
function XL(e, t, r) {
|
|
16129
|
+
return t in e ? Object.defineProperty(e, t, {
|
|
16130
|
+
value: r,
|
|
16131
|
+
enumerable: !0,
|
|
16132
|
+
configurable: !0,
|
|
16133
|
+
writable: !0
|
|
16134
|
+
}) : e[t] = r, e;
|
|
16031
16135
|
}
|
|
16032
|
-
|
|
16033
|
-
return
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
var
|
|
16037
|
-
|
|
16038
|
-
var n, s, a, l, u, g, d = 0, p = !1, E = !1, h = !0;
|
|
16039
|
-
if (typeof e != "function")
|
|
16040
|
-
throw new TypeError(C3);
|
|
16041
|
-
t = eC(t) || 0, Cl(r) && (p = !!r.leading, E = "maxWait" in r, a = E ? I3(eC(r.maxWait) || 0, t) : a, h = "trailing" in r ? !!r.trailing : h);
|
|
16042
|
-
function I(H) {
|
|
16043
|
-
var W = n, X = s;
|
|
16044
|
-
return n = s = void 0, d = H, l = e.apply(X, W), l;
|
|
16045
|
-
}
|
|
16046
|
-
function B(H) {
|
|
16047
|
-
return d = H, u = setTimeout(R, t), p ? I(H) : l;
|
|
16048
|
-
}
|
|
16049
|
-
function Q(H) {
|
|
16050
|
-
var W = H - g, X = H - d, Z = t - W;
|
|
16051
|
-
return E ? B3(Z, a - X) : Z;
|
|
16052
|
-
}
|
|
16053
|
-
function y(H) {
|
|
16054
|
-
var W = H - g, X = H - d;
|
|
16055
|
-
return g === void 0 || W >= t || W < 0 || E && X >= a;
|
|
16056
|
-
}
|
|
16057
|
-
function R() {
|
|
16058
|
-
var H = eu();
|
|
16059
|
-
if (y(H))
|
|
16060
|
-
return O(H);
|
|
16061
|
-
u = setTimeout(R, Q(H));
|
|
16062
|
-
}
|
|
16063
|
-
function O(H) {
|
|
16064
|
-
return u = void 0, h && n ? I(H) : (n = s = void 0, l);
|
|
16065
|
-
}
|
|
16066
|
-
function x() {
|
|
16067
|
-
u !== void 0 && clearTimeout(u), d = 0, n = g = s = u = void 0;
|
|
16068
|
-
}
|
|
16069
|
-
function T() {
|
|
16070
|
-
return u === void 0 ? l : O(eu());
|
|
16071
|
-
}
|
|
16072
|
-
function P() {
|
|
16073
|
-
var H = eu(), W = y(H);
|
|
16074
|
-
if (n = arguments, s = this, g = H, W) {
|
|
16075
|
-
if (u === void 0)
|
|
16076
|
-
return B(g);
|
|
16077
|
-
if (E)
|
|
16078
|
-
return clearTimeout(u), u = setTimeout(R, t), I(g);
|
|
16136
|
+
function Wu() {
|
|
16137
|
+
return Wu = Object.assign || function(e) {
|
|
16138
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
16139
|
+
var r = arguments[t];
|
|
16140
|
+
for (var n in r)
|
|
16141
|
+
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
16079
16142
|
}
|
|
16080
|
-
return
|
|
16081
|
-
}
|
|
16082
|
-
return P.cancel = x, P.flush = T, P;
|
|
16083
|
-
}
|
|
16084
|
-
var m3 = "Expected a function";
|
|
16085
|
-
function Q3(e, t, r) {
|
|
16086
|
-
var n = !0, s = !0;
|
|
16087
|
-
if (typeof e != "function")
|
|
16088
|
-
throw new TypeError(m3);
|
|
16089
|
-
return Cl(r) && (n = "leading" in r ? !!r.leading : n, s = "trailing" in r ? !!r.trailing : s), _a(e, t, {
|
|
16090
|
-
leading: n,
|
|
16091
|
-
maxWait: t,
|
|
16092
|
-
trailing: s
|
|
16093
|
-
});
|
|
16143
|
+
return e;
|
|
16144
|
+
}, Wu.apply(this, arguments);
|
|
16094
16145
|
}
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
|
|
16099
|
-
|
|
16100
|
-
|
|
16146
|
+
function ZL(e, t) {
|
|
16147
|
+
if (typeof t != "function" && t !== null)
|
|
16148
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
16149
|
+
e.prototype = Object.create(t && t.prototype, {
|
|
16150
|
+
constructor: {
|
|
16151
|
+
value: e,
|
|
16152
|
+
writable: !0,
|
|
16153
|
+
configurable: !0
|
|
16101
16154
|
}
|
|
16102
|
-
|
|
16103
|
-
}, Ci.apply(this, arguments);
|
|
16104
|
-
}, gi = null, tC = null;
|
|
16105
|
-
Hm && window.addEventListener("resize", function() {
|
|
16106
|
-
tC !== window.devicePixelRatio && (tC = window.devicePixelRatio, gi = null);
|
|
16107
|
-
});
|
|
16108
|
-
function rC() {
|
|
16109
|
-
if (gi === null) {
|
|
16110
|
-
if (typeof document > "u")
|
|
16111
|
-
return gi = 0, gi;
|
|
16112
|
-
var e = document.body, t = document.createElement("div");
|
|
16113
|
-
t.classList.add("simplebar-hide-scrollbar"), e.appendChild(t);
|
|
16114
|
-
var r = t.getBoundingClientRect().right;
|
|
16115
|
-
e.removeChild(t), gi = r;
|
|
16116
|
-
}
|
|
16117
|
-
return gi;
|
|
16155
|
+
}), t && Yu(e, t);
|
|
16118
16156
|
}
|
|
16119
|
-
function
|
|
16120
|
-
return
|
|
16157
|
+
function Uu(e) {
|
|
16158
|
+
return Uu = Object.setPrototypeOf ? Object.getPrototypeOf : function(r) {
|
|
16159
|
+
return r.__proto__ || Object.getPrototypeOf(r);
|
|
16160
|
+
}, Uu(e);
|
|
16121
16161
|
}
|
|
16122
|
-
function
|
|
16123
|
-
return
|
|
16162
|
+
function Yu(e, t) {
|
|
16163
|
+
return Yu = Object.setPrototypeOf || function(n, s) {
|
|
16164
|
+
return n.__proto__ = s, n;
|
|
16165
|
+
}, Yu(e, t);
|
|
16124
16166
|
}
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16129
|
-
|
|
16130
|
-
|
|
16131
|
-
});
|
|
16132
|
-
switch (s.value) {
|
|
16133
|
-
case "true":
|
|
16134
|
-
n[l] = !0;
|
|
16135
|
-
break;
|
|
16136
|
-
case "false":
|
|
16137
|
-
n[l] = !1;
|
|
16138
|
-
break;
|
|
16139
|
-
case void 0:
|
|
16140
|
-
n[l] = !0;
|
|
16141
|
-
break;
|
|
16142
|
-
default:
|
|
16143
|
-
n[l] = s.value;
|
|
16144
|
-
}
|
|
16145
|
-
}
|
|
16146
|
-
return n;
|
|
16147
|
-
}, t);
|
|
16167
|
+
function $L(e, t) {
|
|
16168
|
+
if (e == null)
|
|
16169
|
+
return {};
|
|
16170
|
+
var r = {}, n = Object.keys(e), s, a;
|
|
16171
|
+
for (a = 0; a < n.length; a++)
|
|
16172
|
+
s = n[a], !(t.indexOf(s) >= 0) && (r[s] = e[s]);
|
|
16148
16173
|
return r;
|
|
16149
|
-
};
|
|
16150
|
-
function Um(e, t) {
|
|
16151
|
-
var r;
|
|
16152
|
-
!e || (r = e.classList).add.apply(r, t.split(" "));
|
|
16153
16174
|
}
|
|
16154
|
-
function
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16175
|
+
function Wr(e, t) {
|
|
16176
|
+
if (e == null)
|
|
16177
|
+
return {};
|
|
16178
|
+
var r = $L(e, t), n, s;
|
|
16179
|
+
if (Object.getOwnPropertySymbols) {
|
|
16180
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
16181
|
+
for (s = 0; s < a.length; s++)
|
|
16182
|
+
n = a[s], !(t.indexOf(n) >= 0) && (!Object.prototype.propertyIsEnumerable.call(e, n) || (r[n] = e[n]));
|
|
16183
|
+
}
|
|
16184
|
+
return r;
|
|
16158
16185
|
}
|
|
16159
|
-
function
|
|
16160
|
-
|
|
16186
|
+
function _a(e) {
|
|
16187
|
+
if (e === void 0)
|
|
16188
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16189
|
+
return e;
|
|
16161
16190
|
}
|
|
16162
|
-
|
|
16163
|
-
|
|
16164
|
-
|
|
16165
|
-
|
|
16166
|
-
|
|
16167
|
-
|
|
16168
|
-
|
|
16169
|
-
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
|
|
16175
|
-
|
|
16176
|
-
|
|
16177
|
-
|
|
16178
|
-
|
|
16179
|
-
|
|
16180
|
-
n.scrollXTicking || (s.requestAnimationFrame(n.scrollX), n.scrollXTicking = !0), n.scrollYTicking || (s.requestAnimationFrame(n.scrollY), n.scrollYTicking = !0), n.isScrolling || (n.isScrolling = !0, Vn(n.el, n.classNames.scrolling)), n.showScrollbar("x"), n.showScrollbar("y"), n.onStopScrolling();
|
|
16181
|
-
}, this.scrollX = function() {
|
|
16182
|
-
n.axis.x.isOverflowing && n.positionScrollbar("x"), n.scrollXTicking = !1;
|
|
16183
|
-
}, this.scrollY = function() {
|
|
16184
|
-
n.axis.y.isOverflowing && n.positionScrollbar("y"), n.scrollYTicking = !1;
|
|
16185
|
-
}, this._onStopScrolling = function() {
|
|
16186
|
-
zn(n.el, n.classNames.scrolling), n.options.autoHide && (n.hideScrollbar("x"), n.hideScrollbar("y")), n.isScrolling = !1;
|
|
16187
|
-
}, this.onMouseEnter = function() {
|
|
16188
|
-
n.isMouseEntering || (Vn(n.el, n.classNames.mouseEntered), n.showScrollbar("x"), n.showScrollbar("y"), n.isMouseEntering = !0), n.onMouseEntered();
|
|
16189
|
-
}, this._onMouseEntered = function() {
|
|
16190
|
-
zn(n.el, n.classNames.mouseEntered), n.options.autoHide && (n.hideScrollbar("x"), n.hideScrollbar("y")), n.isMouseEntering = !1;
|
|
16191
|
-
}, this._onMouseMove = function(s) {
|
|
16192
|
-
n.mouseX = s.clientX, n.mouseY = s.clientY, (n.axis.x.isOverflowing || n.axis.x.forceVisible) && n.onMouseMoveForAxis("x"), (n.axis.y.isOverflowing || n.axis.y.forceVisible) && n.onMouseMoveForAxis("y");
|
|
16193
|
-
}, this.onMouseLeave = function() {
|
|
16194
|
-
n.onMouseMove.cancel(), (n.axis.x.isOverflowing || n.axis.x.forceVisible) && n.onMouseLeaveForAxis("x"), (n.axis.y.isOverflowing || n.axis.y.forceVisible) && n.onMouseLeaveForAxis("y"), n.mouseX = -1, n.mouseY = -1;
|
|
16195
|
-
}, this._onWindowResize = function() {
|
|
16196
|
-
n.scrollbarWidth = n.getScrollbarWidth(), n.hideNativeScrollbar();
|
|
16197
|
-
}, this.onPointerEvent = function(s) {
|
|
16198
|
-
if (!(!n.axis.x.track.el || !n.axis.y.track.el || !n.axis.x.scrollbar.el || !n.axis.y.scrollbar.el)) {
|
|
16199
|
-
var a, l;
|
|
16200
|
-
n.axis.x.track.rect = n.axis.x.track.el.getBoundingClientRect(), n.axis.y.track.rect = n.axis.y.track.el.getBoundingClientRect(), (n.axis.x.isOverflowing || n.axis.x.forceVisible) && (a = n.isWithinBounds(n.axis.x.track.rect)), (n.axis.y.isOverflowing || n.axis.y.forceVisible) && (l = n.isWithinBounds(n.axis.y.track.rect)), (a || l) && (s.stopPropagation(), s.type === "pointerdown" && s.pointerType !== "touch" && (a && (n.axis.x.scrollbar.rect = n.axis.x.scrollbar.el.getBoundingClientRect(), n.isWithinBounds(n.axis.x.scrollbar.rect) ? n.onDragStart(s, "x") : n.onTrackClick(s, "x")), l && (n.axis.y.scrollbar.rect = n.axis.y.scrollbar.el.getBoundingClientRect(), n.isWithinBounds(n.axis.y.scrollbar.rect) ? n.onDragStart(s, "y") : n.onTrackClick(s, "y"))));
|
|
16201
|
-
}
|
|
16202
|
-
}, this.drag = function(s) {
|
|
16203
|
-
var a, l, u, g, d, p, E, h, I, B, Q;
|
|
16204
|
-
if (!(!n.draggedAxis || !n.contentWrapperEl)) {
|
|
16205
|
-
var y, R = n.axis[n.draggedAxis].track, O = (l = (a = R.rect) === null || a === void 0 ? void 0 : a[n.axis[n.draggedAxis].sizeAttr]) !== null && l !== void 0 ? l : 0, x = n.axis[n.draggedAxis].scrollbar, T = (g = (u = n.contentWrapperEl) === null || u === void 0 ? void 0 : u[n.axis[n.draggedAxis].scrollSizeAttr]) !== null && g !== void 0 ? g : 0, P = parseInt((p = (d = n.elStyles) === null || d === void 0 ? void 0 : d[n.axis[n.draggedAxis].sizeAttr]) !== null && p !== void 0 ? p : "0px", 10);
|
|
16206
|
-
s.preventDefault(), s.stopPropagation(), n.draggedAxis === "y" ? y = s.pageY : y = s.pageX;
|
|
16207
|
-
var H = y - ((h = (E = R.rect) === null || E === void 0 ? void 0 : E[n.axis[n.draggedAxis].offsetAttr]) !== null && h !== void 0 ? h : 0) - n.axis[n.draggedAxis].dragOffset;
|
|
16208
|
-
H = n.draggedAxis === "x" && n.isRtl ? ((B = (I = R.rect) === null || I === void 0 ? void 0 : I[n.axis[n.draggedAxis].sizeAttr]) !== null && B !== void 0 ? B : 0) - x.size - H : H;
|
|
16209
|
-
var W = H / (O - x.size), X = W * (T - P);
|
|
16210
|
-
n.draggedAxis === "x" && n.isRtl && (X = !((Q = e.getRtlHelpers()) === null || Q === void 0) && Q.isScrollingToNegative ? -X : X), n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr] = X;
|
|
16211
|
-
}
|
|
16212
|
-
}, this.onEndDrag = function(s) {
|
|
16213
|
-
var a = tu(n.el), l = Hn(n.el);
|
|
16214
|
-
s.preventDefault(), s.stopPropagation(), zn(n.el, n.classNames.dragging), a.removeEventListener("mousemove", n.drag, !0), a.removeEventListener("mouseup", n.onEndDrag, !0), n.removePreventClickId = l.setTimeout(function() {
|
|
16215
|
-
a.removeEventListener("click", n.preventClick, !0), a.removeEventListener("dblclick", n.preventClick, !0), n.removePreventClickId = null;
|
|
16216
|
-
});
|
|
16217
|
-
}, this.preventClick = function(s) {
|
|
16218
|
-
s.preventDefault(), s.stopPropagation();
|
|
16219
|
-
}, this.el = t, this.options = Ci(Ci({}, e.defaultOptions), r), this.classNames = Ci(Ci({}, e.defaultOptions.classNames), r.classNames), this.axis = {
|
|
16220
|
-
x: {
|
|
16221
|
-
scrollOffsetAttr: "scrollLeft",
|
|
16222
|
-
sizeAttr: "width",
|
|
16223
|
-
scrollSizeAttr: "scrollWidth",
|
|
16224
|
-
offsetSizeAttr: "offsetWidth",
|
|
16225
|
-
offsetAttr: "left",
|
|
16226
|
-
overflowAttr: "overflowX",
|
|
16227
|
-
dragOffset: 0,
|
|
16228
|
-
isOverflowing: !0,
|
|
16229
|
-
forceVisible: !1,
|
|
16230
|
-
track: { size: null, el: null, rect: null, isVisible: !1 },
|
|
16231
|
-
scrollbar: { size: null, el: null, rect: null, isVisible: !1 }
|
|
16232
|
-
},
|
|
16233
|
-
y: {
|
|
16234
|
-
scrollOffsetAttr: "scrollTop",
|
|
16235
|
-
sizeAttr: "height",
|
|
16236
|
-
scrollSizeAttr: "scrollHeight",
|
|
16237
|
-
offsetSizeAttr: "offsetHeight",
|
|
16238
|
-
offsetAttr: "top",
|
|
16239
|
-
overflowAttr: "overflowY",
|
|
16240
|
-
dragOffset: 0,
|
|
16241
|
-
isOverflowing: !0,
|
|
16242
|
-
forceVisible: !1,
|
|
16243
|
-
track: { size: null, el: null, rect: null, isVisible: !1 },
|
|
16244
|
-
scrollbar: { size: null, el: null, rect: null, isVisible: !1 }
|
|
16245
|
-
}
|
|
16246
|
-
}, typeof this.el != "object" || !this.el.nodeName)
|
|
16247
|
-
throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));
|
|
16248
|
-
this.onMouseMove = Q3(this._onMouseMove, 64), this.onWindowResize = _a(this._onWindowResize, 64, { leading: !0 }), this.onStopScrolling = _a(this._onStopScrolling, this.stopScrollDelay), this.onMouseEntered = _a(this._onMouseEntered, this.stopScrollDelay), this.init();
|
|
16249
|
-
}
|
|
16250
|
-
return e.getRtlHelpers = function() {
|
|
16251
|
-
if (e.rtlHelpers)
|
|
16252
|
-
return e.rtlHelpers;
|
|
16253
|
-
var t = document.createElement("div");
|
|
16254
|
-
t.innerHTML = '<div class="simplebar-dummy-scrollbar-size"><div></div></div>';
|
|
16255
|
-
var r = t.firstElementChild, n = r == null ? void 0 : r.firstElementChild;
|
|
16256
|
-
if (!n)
|
|
16257
|
-
return null;
|
|
16258
|
-
document.body.appendChild(r), r.scrollLeft = 0;
|
|
16259
|
-
var s = e.getOffset(r), a = e.getOffset(n);
|
|
16260
|
-
r.scrollLeft = -999;
|
|
16261
|
-
var l = e.getOffset(n);
|
|
16262
|
-
return document.body.removeChild(r), e.rtlHelpers = {
|
|
16263
|
-
isScrollOriginAtZero: s.left !== a.left,
|
|
16264
|
-
isScrollingToNegative: a.left !== l.left
|
|
16265
|
-
}, e.rtlHelpers;
|
|
16266
|
-
}, e.prototype.getScrollbarWidth = function() {
|
|
16191
|
+
function e3(e, t) {
|
|
16192
|
+
if (t && (typeof t == "object" || typeof t == "function"))
|
|
16193
|
+
return t;
|
|
16194
|
+
if (t !== void 0)
|
|
16195
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
16196
|
+
return _a(e);
|
|
16197
|
+
}
|
|
16198
|
+
function t3(e, t) {
|
|
16199
|
+
return r3(e) || n3(e, t) || o3(e, t) || i3();
|
|
16200
|
+
}
|
|
16201
|
+
function r3(e) {
|
|
16202
|
+
if (Array.isArray(e))
|
|
16203
|
+
return e;
|
|
16204
|
+
}
|
|
16205
|
+
function n3(e, t) {
|
|
16206
|
+
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
16207
|
+
if (r != null) {
|
|
16208
|
+
var n = [], s = !0, a = !1, l, u;
|
|
16267
16209
|
try {
|
|
16268
|
-
|
|
16269
|
-
|
|
16270
|
-
|
|
16271
|
-
|
|
16272
|
-
|
|
16273
|
-
|
|
16274
|
-
|
|
16275
|
-
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
}, e.prototype.init = function() {
|
|
16279
|
-
Hm && (this.initDOM(), this.rtlHelpers = e.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
|
|
16280
|
-
}, e.prototype.initDOM = function() {
|
|
16281
|
-
var t, r;
|
|
16282
|
-
this.wrapperEl = this.el.querySelector(ur(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(ur(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(ur(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(ur(this.classNames.offset)), this.maskEl = this.el.querySelector(ur(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, ur(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(ur(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(ur(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, "".concat(ur(this.classNames.track)).concat(ur(this.classNames.horizontal))), this.axis.y.track.el = this.findChild(this.el, "".concat(ur(this.classNames.track)).concat(ur(this.classNames.vertical))), this.axis.x.scrollbar.el = ((t = this.axis.x.track.el) === null || t === void 0 ? void 0 : t.querySelector(ur(this.classNames.scrollbar))) || null, this.axis.y.scrollbar.el = ((r = this.axis.y.track.el) === null || r === void 0 ? void 0 : r.querySelector(ur(this.classNames.scrollbar))) || null, this.options.autoHide || (Vn(this.axis.x.scrollbar.el, this.classNames.visible), Vn(this.axis.y.scrollbar.el, this.classNames.visible));
|
|
16283
|
-
}, e.prototype.initListeners = function() {
|
|
16284
|
-
var t = this, r, n = Hn(this.el);
|
|
16285
|
-
if (this.el.addEventListener("mouseenter", this.onMouseEnter), this.el.addEventListener("pointerdown", this.onPointerEvent, !0), this.el.addEventListener("mousemove", this.onMouseMove), this.el.addEventListener("mouseleave", this.onMouseLeave), (r = this.contentWrapperEl) === null || r === void 0 || r.addEventListener("scroll", this.onScroll), n.addEventListener("resize", this.onWindowResize), !!this.contentEl) {
|
|
16286
|
-
if (window.ResizeObserver) {
|
|
16287
|
-
var s = !1, a = n.ResizeObserver || ResizeObserver;
|
|
16288
|
-
this.resizeObserver = new a(function() {
|
|
16289
|
-
!s || n.requestAnimationFrame(function() {
|
|
16290
|
-
t.recalculate();
|
|
16291
|
-
});
|
|
16292
|
-
}), this.resizeObserver.observe(this.el), this.resizeObserver.observe(this.contentEl), n.requestAnimationFrame(function() {
|
|
16293
|
-
s = !0;
|
|
16294
|
-
});
|
|
16210
|
+
for (r = r.call(e); !(s = (l = r.next()).done) && (n.push(l.value), !(t && n.length === t)); s = !0)
|
|
16211
|
+
;
|
|
16212
|
+
} catch (g) {
|
|
16213
|
+
a = !0, u = g;
|
|
16214
|
+
} finally {
|
|
16215
|
+
try {
|
|
16216
|
+
!s && r.return != null && r.return();
|
|
16217
|
+
} finally {
|
|
16218
|
+
if (a)
|
|
16219
|
+
throw u;
|
|
16295
16220
|
}
|
|
16296
|
-
this.mutationObserver = new n.MutationObserver(function() {
|
|
16297
|
-
n.requestAnimationFrame(function() {
|
|
16298
|
-
t.recalculate();
|
|
16299
|
-
});
|
|
16300
|
-
}), this.mutationObserver.observe(this.contentEl, {
|
|
16301
|
-
childList: !0,
|
|
16302
|
-
subtree: !0,
|
|
16303
|
-
characterData: !0
|
|
16304
|
-
});
|
|
16305
|
-
}
|
|
16306
|
-
}, e.prototype.recalculate = function() {
|
|
16307
|
-
if (!(!this.heightAutoObserverEl || !this.contentEl || !this.contentWrapperEl || !this.wrapperEl || !this.placeholderEl)) {
|
|
16308
|
-
var t = Hn(this.el);
|
|
16309
|
-
this.elStyles = t.getComputedStyle(this.el), this.isRtl = this.elStyles.direction === "rtl";
|
|
16310
|
-
var r = this.contentEl.offsetWidth, n = this.heightAutoObserverEl.offsetHeight <= 1, s = this.heightAutoObserverEl.offsetWidth <= 1 || r > 0, a = this.contentWrapperEl.offsetWidth, l = this.elStyles.overflowX, u = this.elStyles.overflowY;
|
|
16311
|
-
this.contentEl.style.padding = "".concat(this.elStyles.paddingTop, " ").concat(this.elStyles.paddingRight, " ").concat(this.elStyles.paddingBottom, " ").concat(this.elStyles.paddingLeft), this.wrapperEl.style.margin = "-".concat(this.elStyles.paddingTop, " -").concat(this.elStyles.paddingRight, " -").concat(this.elStyles.paddingBottom, " -").concat(this.elStyles.paddingLeft);
|
|
16312
|
-
var g = this.contentEl.scrollHeight, d = this.contentEl.scrollWidth;
|
|
16313
|
-
this.contentWrapperEl.style.height = n ? "auto" : "100%", this.placeholderEl.style.width = s ? "".concat(r || d, "px") : "auto", this.placeholderEl.style.height = "".concat(g, "px");
|
|
16314
|
-
var p = this.contentWrapperEl.offsetHeight;
|
|
16315
|
-
this.axis.x.isOverflowing = r !== 0 && d > r, this.axis.y.isOverflowing = g > p, this.axis.x.isOverflowing = l === "hidden" ? !1 : this.axis.x.isOverflowing, this.axis.y.isOverflowing = u === "hidden" ? !1 : this.axis.y.isOverflowing, this.axis.x.forceVisible = this.options.forceVisible === "x" || this.options.forceVisible === !0, this.axis.y.forceVisible = this.options.forceVisible === "y" || this.options.forceVisible === !0, this.hideNativeScrollbar();
|
|
16316
|
-
var E = this.axis.x.isOverflowing ? this.scrollbarWidth : 0, h = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;
|
|
16317
|
-
this.axis.x.isOverflowing = this.axis.x.isOverflowing && d > a - h, this.axis.y.isOverflowing = this.axis.y.isOverflowing && g > p - E, this.axis.x.scrollbar.size = this.getScrollbarSize("x"), this.axis.y.scrollbar.size = this.getScrollbarSize("y"), this.axis.x.scrollbar.el && (this.axis.x.scrollbar.el.style.width = "".concat(this.axis.x.scrollbar.size, "px")), this.axis.y.scrollbar.el && (this.axis.y.scrollbar.el.style.height = "".concat(this.axis.y.scrollbar.size, "px")), this.positionScrollbar("x"), this.positionScrollbar("y"), this.toggleTrackVisibility("x"), this.toggleTrackVisibility("y");
|
|
16318
|
-
}
|
|
16319
|
-
}, e.prototype.getScrollbarSize = function(t) {
|
|
16320
|
-
var r, n;
|
|
16321
|
-
if (t === void 0 && (t = "y"), !this.axis[t].isOverflowing || !this.contentEl)
|
|
16322
|
-
return 0;
|
|
16323
|
-
var s = this.contentEl[this.axis[t].scrollSizeAttr], a = (n = (r = this.axis[t].track.el) === null || r === void 0 ? void 0 : r[this.axis[t].offsetSizeAttr]) !== null && n !== void 0 ? n : 0, l = a / s, u;
|
|
16324
|
-
return u = Math.max(~~(l * a), this.options.scrollbarMinSize), this.options.scrollbarMaxSize && (u = Math.min(u, this.options.scrollbarMaxSize)), u;
|
|
16325
|
-
}, e.prototype.positionScrollbar = function(t) {
|
|
16326
|
-
var r, n, s;
|
|
16327
|
-
t === void 0 && (t = "y");
|
|
16328
|
-
var a = this.axis[t].scrollbar;
|
|
16329
|
-
if (!(!this.axis[t].isOverflowing || !this.contentWrapperEl || !a.el || !this.elStyles)) {
|
|
16330
|
-
var l = this.contentWrapperEl[this.axis[t].scrollSizeAttr], u = ((r = this.axis[t].track.el) === null || r === void 0 ? void 0 : r[this.axis[t].offsetSizeAttr]) || 0, g = parseInt(this.elStyles[this.axis[t].sizeAttr], 10), d = this.contentWrapperEl[this.axis[t].scrollOffsetAttr];
|
|
16331
|
-
d = t === "x" && this.isRtl && ((n = e.getRtlHelpers()) === null || n === void 0 ? void 0 : n.isScrollOriginAtZero) ? -d : d, t === "x" && this.isRtl && (d = !((s = e.getRtlHelpers()) === null || s === void 0) && s.isScrollingToNegative ? d : -d);
|
|
16332
|
-
var p = d / (l - g), E = ~~((u - a.size) * p);
|
|
16333
|
-
E = t === "x" && this.isRtl ? -E + (u - a.size) : E, a.el.style.transform = t === "x" ? "translate3d(".concat(E, "px, 0, 0)") : "translate3d(0, ".concat(E, "px, 0)");
|
|
16334
16221
|
}
|
|
16335
|
-
|
|
16336
|
-
|
|
16337
|
-
|
|
16338
|
-
|
|
16339
|
-
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
|
|
16344
|
-
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16348
|
-
|
|
16349
|
-
|
|
16350
|
-
|
|
16351
|
-
|
|
16352
|
-
|
|
16353
|
-
|
|
16354
|
-
|
|
16355
|
-
|
|
16356
|
-
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
|
|
16360
|
-
|
|
16361
|
-
|
|
16362
|
-
|
|
16363
|
-
|
|
16364
|
-
|
|
16365
|
-
|
|
16222
|
+
return n;
|
|
16223
|
+
}
|
|
16224
|
+
}
|
|
16225
|
+
function o3(e, t) {
|
|
16226
|
+
if (!!e) {
|
|
16227
|
+
if (typeof e == "string")
|
|
16228
|
+
return eC(e, t);
|
|
16229
|
+
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
16230
|
+
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
|
|
16231
|
+
return Array.from(e);
|
|
16232
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
|
|
16233
|
+
return eC(e, t);
|
|
16234
|
+
}
|
|
16235
|
+
}
|
|
16236
|
+
function eC(e, t) {
|
|
16237
|
+
(t == null || t > e.length) && (t = e.length);
|
|
16238
|
+
for (var r = 0, n = new Array(t); r < t; r++)
|
|
16239
|
+
n[r] = e[r];
|
|
16240
|
+
return n;
|
|
16241
|
+
}
|
|
16242
|
+
function i3() {
|
|
16243
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
16244
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
16245
|
+
}
|
|
16246
|
+
var Kt = {
|
|
16247
|
+
Mobile: "mobile",
|
|
16248
|
+
Tablet: "tablet",
|
|
16249
|
+
SmartTv: "smarttv",
|
|
16250
|
+
Console: "console",
|
|
16251
|
+
Wearable: "wearable",
|
|
16252
|
+
Embedded: "embedded",
|
|
16253
|
+
Browser: void 0
|
|
16254
|
+
}, fr = {
|
|
16255
|
+
Chrome: "Chrome",
|
|
16256
|
+
Firefox: "Firefox",
|
|
16257
|
+
Opera: "Opera",
|
|
16258
|
+
Yandex: "Yandex",
|
|
16259
|
+
Safari: "Safari",
|
|
16260
|
+
InternetExplorer: "Internet Explorer",
|
|
16261
|
+
Edge: "Edge",
|
|
16262
|
+
Chromium: "Chromium",
|
|
16263
|
+
Ie: "IE",
|
|
16264
|
+
MobileSafari: "Mobile Safari",
|
|
16265
|
+
EdgeChromium: "Edge Chromium",
|
|
16266
|
+
MIUI: "MIUI Browser",
|
|
16267
|
+
SamsungBrowser: "Samsung Browser"
|
|
16268
|
+
}, Di = {
|
|
16269
|
+
IOS: "iOS",
|
|
16270
|
+
Android: "Android",
|
|
16271
|
+
WindowsPhone: "Windows Phone",
|
|
16272
|
+
Windows: "Windows",
|
|
16273
|
+
MAC_OS: "Mac OS"
|
|
16274
|
+
}, s3 = {
|
|
16275
|
+
isMobile: !1,
|
|
16276
|
+
isTablet: !1,
|
|
16277
|
+
isBrowser: !1,
|
|
16278
|
+
isSmartTV: !1,
|
|
16279
|
+
isConsole: !1,
|
|
16280
|
+
isWearable: !1
|
|
16281
|
+
}, a3 = function(t) {
|
|
16282
|
+
switch (t) {
|
|
16283
|
+
case Kt.Mobile:
|
|
16284
|
+
return {
|
|
16285
|
+
isMobile: !0
|
|
16366
16286
|
};
|
|
16367
|
-
|
|
16368
|
-
|
|
16369
|
-
|
|
16370
|
-
|
|
16371
|
-
|
|
16372
|
-
|
|
16373
|
-
|
|
16374
|
-
|
|
16375
|
-
|
|
16376
|
-
|
|
16377
|
-
|
|
16378
|
-
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
16390
|
-
|
|
16391
|
-
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
|
|
16397
|
-
|
|
16398
|
-
|
|
16399
|
-
|
|
16400
|
-
|
|
16401
|
-
|
|
16402
|
-
|
|
16403
|
-
|
|
16404
|
-
|
|
16405
|
-
|
|
16406
|
-
|
|
16407
|
-
|
|
16408
|
-
|
|
16409
|
-
|
|
16410
|
-
|
|
16411
|
-
|
|
16412
|
-
|
|
16413
|
-
|
|
16414
|
-
|
|
16415
|
-
}
|
|
16416
|
-
|
|
16417
|
-
|
|
16418
|
-
|
|
16419
|
-
|
|
16420
|
-
|
|
16421
|
-
|
|
16422
|
-
|
|
16423
|
-
}
|
|
16287
|
+
case Kt.Tablet:
|
|
16288
|
+
return {
|
|
16289
|
+
isTablet: !0
|
|
16290
|
+
};
|
|
16291
|
+
case Kt.SmartTv:
|
|
16292
|
+
return {
|
|
16293
|
+
isSmartTV: !0
|
|
16294
|
+
};
|
|
16295
|
+
case Kt.Console:
|
|
16296
|
+
return {
|
|
16297
|
+
isConsole: !0
|
|
16298
|
+
};
|
|
16299
|
+
case Kt.Wearable:
|
|
16300
|
+
return {
|
|
16301
|
+
isWearable: !0
|
|
16302
|
+
};
|
|
16303
|
+
case Kt.Browser:
|
|
16304
|
+
return {
|
|
16305
|
+
isBrowser: !0
|
|
16306
|
+
};
|
|
16307
|
+
case Kt.Embedded:
|
|
16308
|
+
return {
|
|
16309
|
+
isEmbedded: !0
|
|
16310
|
+
};
|
|
16311
|
+
default:
|
|
16312
|
+
return s3;
|
|
16313
|
+
}
|
|
16314
|
+
}, l3 = function(t) {
|
|
16315
|
+
return jm(t);
|
|
16316
|
+
}, Se = function(t) {
|
|
16317
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
16318
|
+
return t || r;
|
|
16319
|
+
}, $g = function() {
|
|
16320
|
+
return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
16321
|
+
}, ed = function(t) {
|
|
16322
|
+
var r = $g();
|
|
16323
|
+
return r && r.platform && (r.platform.indexOf(t) !== -1 || r.platform === "MacIntel" && r.maxTouchPoints > 1 && !window.MSStream);
|
|
16324
|
+
}, A3 = function(t, r, n, s, a) {
|
|
16325
|
+
return {
|
|
16326
|
+
isBrowser: t,
|
|
16327
|
+
browserMajorVersion: Se(r.major),
|
|
16328
|
+
browserFullVersion: Se(r.version),
|
|
16329
|
+
browserName: Se(r.name),
|
|
16330
|
+
engineName: Se(n.name),
|
|
16331
|
+
engineVersion: Se(n.version),
|
|
16332
|
+
osName: Se(s.name),
|
|
16333
|
+
osVersion: Se(s.version),
|
|
16334
|
+
userAgent: Se(a)
|
|
16335
|
+
};
|
|
16336
|
+
}, tC = function(t, r, n, s) {
|
|
16337
|
+
return qL({}, t, {
|
|
16338
|
+
vendor: Se(r.vendor),
|
|
16339
|
+
model: Se(r.model),
|
|
16340
|
+
os: Se(n.name),
|
|
16341
|
+
osVersion: Se(n.version),
|
|
16342
|
+
ua: Se(s)
|
|
16343
|
+
});
|
|
16344
|
+
}, c3 = function(t, r, n, s) {
|
|
16345
|
+
return {
|
|
16346
|
+
isSmartTV: t,
|
|
16347
|
+
engineName: Se(r.name),
|
|
16348
|
+
engineVersion: Se(r.version),
|
|
16349
|
+
osName: Se(n.name),
|
|
16350
|
+
osVersion: Se(n.version),
|
|
16351
|
+
userAgent: Se(s)
|
|
16352
|
+
};
|
|
16353
|
+
}, u3 = function(t, r, n, s) {
|
|
16354
|
+
return {
|
|
16355
|
+
isConsole: t,
|
|
16356
|
+
engineName: Se(r.name),
|
|
16357
|
+
engineVersion: Se(r.version),
|
|
16358
|
+
osName: Se(n.name),
|
|
16359
|
+
osVersion: Se(n.version),
|
|
16360
|
+
userAgent: Se(s)
|
|
16361
|
+
};
|
|
16362
|
+
}, g3 = function(t, r, n, s) {
|
|
16363
|
+
return {
|
|
16364
|
+
isWearable: t,
|
|
16365
|
+
engineName: Se(r.name),
|
|
16366
|
+
engineVersion: Se(r.version),
|
|
16367
|
+
osName: Se(n.name),
|
|
16368
|
+
osVersion: Se(n.version),
|
|
16369
|
+
userAgent: Se(s)
|
|
16370
|
+
};
|
|
16371
|
+
}, d3 = function(t, r, n, s, a) {
|
|
16372
|
+
return {
|
|
16373
|
+
isEmbedded: t,
|
|
16374
|
+
vendor: Se(r.vendor),
|
|
16375
|
+
model: Se(r.model),
|
|
16376
|
+
engineName: Se(n.name),
|
|
16377
|
+
engineVersion: Se(n.version),
|
|
16378
|
+
osName: Se(s.name),
|
|
16379
|
+
osVersion: Se(s.version),
|
|
16380
|
+
userAgent: Se(a)
|
|
16381
|
+
};
|
|
16424
16382
|
};
|
|
16425
|
-
function
|
|
16426
|
-
var r =
|
|
16427
|
-
|
|
16428
|
-
|
|
16429
|
-
if (
|
|
16430
|
-
|
|
16431
|
-
|
|
16432
|
-
|
|
16383
|
+
function f3(e) {
|
|
16384
|
+
var t = e ? Hs(e) : Hm, r = t.device, n = t.browser, s = t.engine, a = t.os, l = t.ua, u = a3(r.type), g = u.isBrowser, d = u.isMobile, p = u.isTablet, E = u.isSmartTV, h = u.isConsole, I = u.isWearable, B = u.isEmbedded;
|
|
16385
|
+
if (g)
|
|
16386
|
+
return A3(g, n, s, a, l);
|
|
16387
|
+
if (E)
|
|
16388
|
+
return c3(E, s, a, l);
|
|
16389
|
+
if (h)
|
|
16390
|
+
return u3(h, s, a, l);
|
|
16391
|
+
if (d || p)
|
|
16392
|
+
return tC(u, r, a, l);
|
|
16393
|
+
if (I)
|
|
16394
|
+
return g3(I, s, a, l);
|
|
16395
|
+
if (B)
|
|
16396
|
+
return d3(B, r, s, a, l);
|
|
16433
16397
|
}
|
|
16434
|
-
var
|
|
16435
|
-
var r =
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
|
|
16439
|
-
|
|
16440
|
-
|
|
16441
|
-
|
|
16442
|
-
|
|
16443
|
-
|
|
16444
|
-
|
|
16445
|
-
return
|
|
16446
|
-
|
|
16447
|
-
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
16456
|
-
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16460
|
-
|
|
16461
|
-
|
|
16462
|
-
|
|
16463
|
-
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
|
|
16468
|
-
|
|
16469
|
-
|
|
16470
|
-
|
|
16471
|
-
|
|
16472
|
-
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
|
|
16476
|
-
|
|
16477
|
-
|
|
16478
|
-
|
|
16479
|
-
|
|
16480
|
-
|
|
16481
|
-
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
|
|
16487
|
-
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16491
|
-
|
|
16492
|
-
|
|
16493
|
-
|
|
16494
|
-
|
|
16495
|
-
|
|
16496
|
-
|
|
16497
|
-
|
|
16498
|
-
|
|
16499
|
-
|
|
16500
|
-
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
})
|
|
16504
|
-
|
|
16505
|
-
|
|
16506
|
-
|
|
16507
|
-
|
|
16508
|
-
|
|
16509
|
-
|
|
16510
|
-
|
|
16511
|
-
|
|
16512
|
-
|
|
16513
|
-
|
|
16514
|
-
|
|
16515
|
-
|
|
16516
|
-
|
|
16517
|
-
|
|
16518
|
-
|
|
16519
|
-
|
|
16520
|
-
|
|
16521
|
-
|
|
16522
|
-
|
|
16523
|
-
|
|
16524
|
-
|
|
16525
|
-
|
|
16526
|
-
|
|
16527
|
-
|
|
16528
|
-
|
|
16529
|
-
|
|
16530
|
-
|
|
16531
|
-
|
|
16532
|
-
|
|
16533
|
-
|
|
16534
|
-
|
|
16535
|
-
|
|
16536
|
-
|
|
16537
|
-
|
|
16538
|
-
|
|
16539
|
-
|
|
16540
|
-
|
|
16541
|
-
|
|
16542
|
-
|
|
16543
|
-
|
|
16544
|
-
}, Li = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Rr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, Ft = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [y, [I, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [y, [I, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [I, y], [/opios[\/ ]+([\w\.]+)/i], [y, [I, te + " Mini"]], [/\bopr\/([\w\.]+)/i], [y, [I, te]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\w\.]+)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [I, y], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [y, [I, "UC" + re]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [y, [I, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [y, [I, "WeChat"]], [/konqueror\/([\w\.]+)/i], [y, [I, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [y, [I, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [y, [I, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[I, /(.+)/, "$1 Secure " + re], y], [/\bfocus\/([\w\.]+)/i], [y, [I, $ + " Focus"]], [/\bopt\/([\w\.]+)/i], [y, [I, te + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [y, [I, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [y, [I, "Dolphin"]], [/coast\/([\w\.]+)/i], [y, [I, te + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [y, [I, "MIUI " + re]], [/fxios\/([-\w\.]+)/i], [y, [I, $]], [/\bqihu|(qi?ho?o?|360)browser/i], [[I, "360 " + re]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[I, /(.+)/, "$1 " + re], y], [/(comodo_dragon)\/([\w\.]+)/i], [[I, /_/g, " "], y], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [I, y], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [I], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[I, Ie], y], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [I, y], [/\bgsa\/([\w\.]+) .*safari\//i], [y, [I, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [y, [I, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [y, [I, L + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[I, L + " WebView"], y], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [y, [I, "Android " + re]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [I, y], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [y, [I, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [y, I], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [I, [y, Pn, Li]], [/(webkit|khtml)\/([\w\.]+)/i], [I, y], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[I, "Netscape"], y], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [y, [I, $ + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [I, y], [/(cobalt)\/([\w\.]+)/i], [I, [y, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[R, "amd64"]], [/(ia32(?=;))/i], [[R, se]], [/((?:i[346]|x)86)[;\)]/i], [[R, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[R, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[R, "armhf"]], [/windows (ce|mobile); ppc;/i], [[R, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[R, /ower/, a, se]], [/(sun4\w)[;\)]/i], [[R, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[R, se]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [h, [Q, ae], [B, T]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [h, [Q, ae], [B, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [Q, G], [B, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [Q, G], [B, T]], [/(macintosh);/i], [h, [Q, G]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [Q, ge], [B, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [h, [Q, K], [B, T]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [Q, K], [B, x]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[h, /_/g, " "], [Q, ce], [B, x]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[h, /_/g, " "], [Q, ce], [B, T]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [Q, "OPPO"], [B, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [Q, "Vivo"], [B, x]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [h, [Q, "Realme"], [B, x]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [h, [Q, k], [B, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [Q, k], [B, T]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [Q, _], [B, T]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [Q, _], [B, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [h, [Q, "Lenovo"], [B, T]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[h, /_/g, " "], [Q, "Nokia"], [B, x]], [/(pixel c)\b/i], [h, [Q, z], [B, T]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [Q, z], [B, x]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [h, [Q, Ae], [B, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [Q, Ae], [B, T]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [Q, "OnePlus"], [B, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [Q, Z], [B, T]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [Q, Z], [B, x]], [/(playbook);[-\w\),; ]+(rim)/i], [h, Q, [B, T]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [Q, Ee], [B, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [Q, ue], [B, T]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [Q, ue], [B, x]], [/(nexus 9)/i], [h, [Q, "HTC"], [B, T]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [Q, [h, /_/g, " "], [B, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [Q, "Acer"], [B, T]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [Q, "Meizu"], [B, x]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [Q, h, [B, x]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [Q, h, [B, T]], [/(surface duo)/i], [h, [Q, F], [B, T]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [Q, "Fairphone"], [B, x]], [/(u304aa)/i], [h, [Q, "AT&T"], [B, x]], [/\bsie-(\w*)/i], [h, [Q, "Siemens"], [B, x]], [/\b(rct\w+) b/i], [h, [Q, "RCA"], [B, T]], [/\b(venue[\d ]{2,7}) b/i], [h, [Q, "Dell"], [B, T]], [/\b(q(?:mv|ta)\w+) b/i], [h, [Q, "Verizon"], [B, T]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [Q, "Barnes & Noble"], [B, T]], [/\b(tm\d{3}\w+) b/i], [h, [Q, "NuVision"], [B, T]], [/\b(k88) b/i], [h, [Q, "ZTE"], [B, T]], [/\b(nx\d{3}j) b/i], [h, [Q, "ZTE"], [B, x]], [/\b(gen\d{3}) b.+49h/i], [h, [Q, "Swiss"], [B, x]], [/\b(zur\d{3}) b/i], [h, [Q, "Swiss"], [B, T]], [/\b((zeki)?tb.*\b) b/i], [h, [Q, "Zeki"], [B, T]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[Q, "Dragon Touch"], h, [B, T]], [/\b(ns-?\w{0,9}) b/i], [h, [Q, "Insignia"], [B, T]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [Q, "NextBook"], [B, T]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[Q, "Voice"], h, [B, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[Q, "LvTel"], h, [B, x]], [/\b(ph-1) /i], [h, [Q, "Essential"], [B, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [Q, "Envizen"], [B, T]], [/\b(trio[-\w\. ]+) b/i], [h, [Q, "MachSpeed"], [B, T]], [/\btu_(1491) b/i], [h, [Q, "Rotor"], [B, T]], [/(shield[\w ]+) b/i], [h, [Q, "Nvidia"], [B, T]], [/(sprint) (\w+)/i], [Q, h, [B, x]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [Q, F], [B, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [Q, Ce], [B, T]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [Q, Ce], [B, x]], [/smart-tv.+(samsung)/i], [Q, [B, P]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [Q, ae], [B, P]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[Q, _], [B, P]], [/(apple) ?tv/i], [Q, [h, G + " TV"], [B, P]], [/crkey/i], [[h, L + "cast"], [Q, z], [B, P]], [/droid.+aft(\w)( bui|\))/i], [h, [Q, Z], [B, P]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [Q, ge], [B, P]], [/(bravia[\w ]+)( bui|\))/i], [h, [Q, Ae], [B, P]], [/(mitv-\w{5}) bui/i], [h, [Q, ce], [B, P]], [/Hbbtv.*(technisat) (.*);/i], [Q, h, [B, P]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[Q, sr], [h, sr], [B, P]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[B, P]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [Q, h, [B, O]], [/droid.+; (shield) bui/i], [h, [Q, "Nvidia"], [B, O]], [/(playstation [345portablevi]+)/i], [h, [Q, Ae], [B, O]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [Q, F], [B, O]], [/((pebble))app/i], [Q, h, [B, H]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [Q, G], [B, H]], [/droid.+; (glass) \d/i], [h, [Q, z], [B, H]], [/droid.+; (wt63?0{2,3})\)/i], [h, [Q, Ce], [B, H]], [/(quest( 2| pro)?)/i], [h, [Q, Ie], [B, H]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [Q, [B, W]], [/(aeobc)\b/i], [h, [Q, Z], [B, W]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [h, [B, x]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [B, T]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[B, T]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[B, x]], [/(android[-\w\. ]{0,9});.+buil/i], [h, [Q, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [y, [I, N + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [y, [I, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [I, y], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [y, I]], os: [[/microsoft (windows) (vista|xp)/i], [I, y], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [I, [y, Pn, Rr]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[I, "Windows"], [y, Pn, Rr]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[y, /_/g, "."], [I, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[I, Be], [y, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [y, I], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [I, y], [/\(bb(10);/i], [y, [I, Ee]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [y, [I, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [y, [I, $ + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [y, [I, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [y, [I, "watchOS"]], [/crkey\/([\d\.]+)/i], [y, [I, L + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[I, de], y], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [I, y], [/(sunos) ?([\w\.\d]*)/i], [[I, "Solaris"], y], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [I, y]] }, St = function(Re, qe) {
|
|
16545
|
-
|
|
16546
|
-
|
|
16547
|
-
|
|
16548
|
-
|
|
16549
|
-
|
|
16550
|
-
|
|
16551
|
-
|
|
16552
|
-
|
|
16553
|
-
|
|
16554
|
-
|
|
16555
|
-
var Qe = {};
|
|
16556
|
-
return Qe[Q] = n, Qe[h] = n, Qe[B] = n, Ue.call(Qe, Ye, Ht.device), Ve && !Qe[B] && me && me.mobile && (Qe[B] = x), Ve && Qe[h] == "Macintosh" && ve && typeof ve.standalone !== g && ve.maxTouchPoints && ve.maxTouchPoints > 2 && (Qe[h] = "iPad", Qe[B] = T), Qe;
|
|
16557
|
-
}, this.getEngine = function() {
|
|
16558
|
-
var Qe = {};
|
|
16559
|
-
return Qe[I] = n, Qe[y] = n, Ue.call(Qe, Ye, Ht.engine), Qe;
|
|
16560
|
-
}, this.getOS = function() {
|
|
16561
|
-
var Qe = {};
|
|
16562
|
-
return Qe[I] = n, Qe[y] = n, Ue.call(Qe, Ye, Ht.os), Ve && !Qe[I] && me && me.platform != "Unknown" && (Qe[I] = me.platform.replace(/chrome os/i, de).replace(/macos/i, Be)), Qe;
|
|
16563
|
-
}, this.getResult = function() {
|
|
16564
|
-
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
16565
|
-
}, this.getUA = function() {
|
|
16566
|
-
return Ye;
|
|
16567
|
-
}, this.setUA = function(Qe) {
|
|
16568
|
-
return Ye = typeof Qe === p && Qe.length > X ? sr(Qe, X) : Qe, this;
|
|
16569
|
-
}, this.setUA(Ye), this;
|
|
16570
|
-
};
|
|
16571
|
-
St.VERSION = s, St.BROWSER = ne([I, y, E]), St.CPU = ne([R]), St.DEVICE = ne([h, Q, B, O, x, P, T, H, W]), St.ENGINE = St.OS = ne([I, y]), e.exports && (t = e.exports = St), t.UAParser = St;
|
|
16572
|
-
var pr = typeof r !== g && (r.jQuery || r.Zepto);
|
|
16573
|
-
if (pr && !pr.ua) {
|
|
16574
|
-
var Ur = new St();
|
|
16575
|
-
pr.ua = Ur.getResult(), pr.ua.get = function() {
|
|
16576
|
-
return Ur.getUA();
|
|
16577
|
-
}, pr.ua.set = function(Re) {
|
|
16578
|
-
Ur.setUA(Re);
|
|
16579
|
-
var qe = Ur.getResult();
|
|
16580
|
-
for (var ve in qe)
|
|
16581
|
-
pr.ua[ve] = qe[ve];
|
|
16582
|
-
};
|
|
16583
|
-
}
|
|
16584
|
-
})(typeof window == "object" ? window : Vr);
|
|
16585
|
-
})(zu, zu.exports);
|
|
16586
|
-
Object.defineProperty(pe, "__esModule", {
|
|
16587
|
-
value: !0
|
|
16588
|
-
});
|
|
16589
|
-
function w3(e) {
|
|
16590
|
-
return e && typeof e == "object" && "default" in e ? e.default : e;
|
|
16591
|
-
}
|
|
16592
|
-
var qt = We, gt = w3(qt), qm = zu.exports, oo = new qm(), $t = oo.getBrowser(), T3 = oo.getCPU(), Pr = oo.getDevice(), Zg = oo.getEngine(), io = oo.getOS(), js = oo.getUA(), Jm = function(t) {
|
|
16593
|
-
return oo.setUA(t);
|
|
16594
|
-
}, Hs = function(t) {
|
|
16595
|
-
if (!t) {
|
|
16596
|
-
console.error("No userAgent string was provided");
|
|
16597
|
-
return;
|
|
16598
|
-
}
|
|
16599
|
-
var r = new qm(t);
|
|
16398
|
+
var Vm = function(t) {
|
|
16399
|
+
var r = t.type;
|
|
16400
|
+
return r === Kt.Mobile;
|
|
16401
|
+
}, zm = function(t) {
|
|
16402
|
+
var r = t.type;
|
|
16403
|
+
return r === Kt.Tablet;
|
|
16404
|
+
}, Wm = function(t) {
|
|
16405
|
+
var r = t.type;
|
|
16406
|
+
return r === Kt.Mobile || r === Kt.Tablet;
|
|
16407
|
+
}, Um = function(t) {
|
|
16408
|
+
var r = t.type;
|
|
16409
|
+
return r === Kt.SmartTv;
|
|
16410
|
+
}, El = function(t) {
|
|
16411
|
+
var r = t.type;
|
|
16412
|
+
return r === Kt.Browser;
|
|
16413
|
+
}, Ym = function(t) {
|
|
16414
|
+
var r = t.type;
|
|
16415
|
+
return r === Kt.Wearable;
|
|
16416
|
+
}, Gm = function(t) {
|
|
16417
|
+
var r = t.type;
|
|
16418
|
+
return r === Kt.Console;
|
|
16419
|
+
}, Km = function(t) {
|
|
16420
|
+
var r = t.type;
|
|
16421
|
+
return r === Kt.Embedded;
|
|
16422
|
+
}, qm = function(t) {
|
|
16423
|
+
var r = t.vendor;
|
|
16424
|
+
return Se(r);
|
|
16425
|
+
}, Jm = function(t) {
|
|
16426
|
+
var r = t.model;
|
|
16427
|
+
return Se(r);
|
|
16428
|
+
}, _m = function(t) {
|
|
16429
|
+
var r = t.type;
|
|
16430
|
+
return Se(r, "browser");
|
|
16431
|
+
}, Xm = function(t) {
|
|
16432
|
+
var r = t.name;
|
|
16433
|
+
return r === Di.Android;
|
|
16434
|
+
}, Zm = function(t) {
|
|
16435
|
+
var r = t.name;
|
|
16436
|
+
return r === Di.Windows;
|
|
16437
|
+
}, $m = function(t) {
|
|
16438
|
+
var r = t.name;
|
|
16439
|
+
return r === Di.MAC_OS;
|
|
16440
|
+
}, e0 = function(t) {
|
|
16441
|
+
var r = t.name;
|
|
16442
|
+
return r === Di.WindowsPhone;
|
|
16443
|
+
}, t0 = function(t) {
|
|
16444
|
+
var r = t.name;
|
|
16445
|
+
return r === Di.IOS;
|
|
16446
|
+
}, r0 = function(t) {
|
|
16447
|
+
var r = t.version;
|
|
16448
|
+
return Se(r);
|
|
16449
|
+
}, n0 = function(t) {
|
|
16450
|
+
var r = t.name;
|
|
16451
|
+
return Se(r);
|
|
16452
|
+
}, o0 = function(t) {
|
|
16453
|
+
var r = t.name;
|
|
16454
|
+
return r === fr.Chrome;
|
|
16455
|
+
}, i0 = function(t) {
|
|
16456
|
+
var r = t.name;
|
|
16457
|
+
return r === fr.Firefox;
|
|
16458
|
+
}, s0 = function(t) {
|
|
16459
|
+
var r = t.name;
|
|
16460
|
+
return r === fr.Chromium;
|
|
16461
|
+
}, Cl = function(t) {
|
|
16462
|
+
var r = t.name;
|
|
16463
|
+
return r === fr.Edge;
|
|
16464
|
+
}, a0 = function(t) {
|
|
16465
|
+
var r = t.name;
|
|
16466
|
+
return r === fr.Yandex;
|
|
16467
|
+
}, l0 = function(t) {
|
|
16468
|
+
var r = t.name;
|
|
16469
|
+
return r === fr.Safari || r === fr.MobileSafari;
|
|
16470
|
+
}, A0 = function(t) {
|
|
16471
|
+
var r = t.name;
|
|
16472
|
+
return r === fr.MobileSafari;
|
|
16473
|
+
}, c0 = function(t) {
|
|
16474
|
+
var r = t.name;
|
|
16475
|
+
return r === fr.Opera;
|
|
16476
|
+
}, u0 = function(t) {
|
|
16477
|
+
var r = t.name;
|
|
16478
|
+
return r === fr.InternetExplorer || r === fr.Ie;
|
|
16479
|
+
}, g0 = function(t) {
|
|
16480
|
+
var r = t.name;
|
|
16481
|
+
return r === fr.MIUI;
|
|
16482
|
+
}, d0 = function(t) {
|
|
16483
|
+
var r = t.name;
|
|
16484
|
+
return r === fr.SamsungBrowser;
|
|
16485
|
+
}, f0 = function(t) {
|
|
16486
|
+
var r = t.version;
|
|
16487
|
+
return Se(r);
|
|
16488
|
+
}, p0 = function(t) {
|
|
16489
|
+
var r = t.major;
|
|
16490
|
+
return Se(r);
|
|
16491
|
+
}, h0 = function(t) {
|
|
16492
|
+
var r = t.name;
|
|
16493
|
+
return Se(r);
|
|
16494
|
+
}, E0 = function(t) {
|
|
16495
|
+
var r = t.name;
|
|
16496
|
+
return Se(r);
|
|
16497
|
+
}, C0 = function(t) {
|
|
16498
|
+
var r = t.version;
|
|
16499
|
+
return Se(r);
|
|
16500
|
+
}, I0 = function() {
|
|
16501
|
+
var t = $g(), r = t && t.userAgent && t.userAgent.toLowerCase();
|
|
16502
|
+
return typeof r == "string" ? /electron/.test(r) : !1;
|
|
16503
|
+
}, Qi = function(t) {
|
|
16504
|
+
return typeof t == "string" && t.indexOf("Edg/") !== -1;
|
|
16505
|
+
}, B0 = function() {
|
|
16506
|
+
var t = $g();
|
|
16507
|
+
return t && (/iPad|iPhone|iPod/.test(t.platform) || t.platform === "MacIntel" && t.maxTouchPoints > 1) && !window.MSStream;
|
|
16508
|
+
}, rn = function() {
|
|
16509
|
+
return ed("iPad");
|
|
16510
|
+
}, m0 = function() {
|
|
16511
|
+
return ed("iPhone");
|
|
16512
|
+
}, Q0 = function() {
|
|
16513
|
+
return ed("iPod");
|
|
16514
|
+
}, y0 = function(t) {
|
|
16515
|
+
return Se(t);
|
|
16516
|
+
};
|
|
16517
|
+
function v0(e) {
|
|
16518
|
+
var t = e || Hm, r = t.device, n = t.browser, s = t.os, a = t.engine, l = t.ua;
|
|
16600
16519
|
return {
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16520
|
+
isSmartTV: Um(r),
|
|
16521
|
+
isConsole: Gm(r),
|
|
16522
|
+
isWearable: Ym(r),
|
|
16523
|
+
isEmbedded: Km(r),
|
|
16524
|
+
isMobileSafari: A0(n) || rn(),
|
|
16525
|
+
isChromium: s0(n),
|
|
16526
|
+
isMobile: Wm(r) || rn(),
|
|
16527
|
+
isMobileOnly: Vm(r),
|
|
16528
|
+
isTablet: zm(r) || rn(),
|
|
16529
|
+
isBrowser: El(r),
|
|
16530
|
+
isDesktop: El(r),
|
|
16531
|
+
isAndroid: Xm(s),
|
|
16532
|
+
isWinPhone: e0(s),
|
|
16533
|
+
isIOS: t0(s) || rn(),
|
|
16534
|
+
isChrome: o0(n),
|
|
16535
|
+
isFirefox: i0(n),
|
|
16536
|
+
isSafari: l0(n),
|
|
16537
|
+
isOpera: c0(n),
|
|
16538
|
+
isIE: u0(n),
|
|
16539
|
+
osVersion: r0(s),
|
|
16540
|
+
osName: n0(s),
|
|
16541
|
+
fullBrowserVersion: f0(n),
|
|
16542
|
+
browserVersion: p0(n),
|
|
16543
|
+
browserName: h0(n),
|
|
16544
|
+
mobileVendor: qm(r),
|
|
16545
|
+
mobileModel: Jm(r),
|
|
16546
|
+
engineName: E0(a),
|
|
16547
|
+
engineVersion: C0(a),
|
|
16548
|
+
getUA: y0(l),
|
|
16549
|
+
isEdge: Cl(n) || Qi(l),
|
|
16550
|
+
isYandex: a0(n),
|
|
16551
|
+
deviceType: _m(r),
|
|
16552
|
+
isIOS13: B0(),
|
|
16553
|
+
isIPad13: rn(),
|
|
16554
|
+
isIPhone13: m0(),
|
|
16555
|
+
isIPod13: Q0(),
|
|
16556
|
+
isElectron: I0(),
|
|
16557
|
+
isEdgeChromium: Qi(l),
|
|
16558
|
+
isLegacyEdge: Cl(n) && !Qi(l),
|
|
16559
|
+
isWindows: Zm(s),
|
|
16560
|
+
isMacOs: $m(s),
|
|
16561
|
+
isMIUI: g0(n),
|
|
16562
|
+
isSamsungBrowser: d0(n)
|
|
16611
16563
|
};
|
|
16612
|
-
}, _m = /* @__PURE__ */ Object.freeze({
|
|
16613
|
-
ClientUAInstance: oo,
|
|
16614
|
-
browser: $t,
|
|
16615
|
-
cpu: T3,
|
|
16616
|
-
device: Pr,
|
|
16617
|
-
engine: Zg,
|
|
16618
|
-
os: io,
|
|
16619
|
-
ua: js,
|
|
16620
|
-
setUa: Jm,
|
|
16621
|
-
parseUserAgent: Hs
|
|
16622
|
-
});
|
|
16623
|
-
function nC(e, t) {
|
|
16624
|
-
var r = Object.keys(e);
|
|
16625
|
-
if (Object.getOwnPropertySymbols) {
|
|
16626
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
16627
|
-
t && (n = n.filter(function(s) {
|
|
16628
|
-
return Object.getOwnPropertyDescriptor(e, s).enumerable;
|
|
16629
|
-
})), r.push.apply(r, n);
|
|
16630
|
-
}
|
|
16631
|
-
return r;
|
|
16632
16564
|
}
|
|
16633
|
-
|
|
16634
|
-
|
|
16635
|
-
|
|
16636
|
-
|
|
16637
|
-
O3(e, n, r[n]);
|
|
16638
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : nC(Object(r)).forEach(function(n) {
|
|
16639
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
16640
|
-
});
|
|
16641
|
-
}
|
|
16642
|
-
return e;
|
|
16643
|
-
}
|
|
16644
|
-
function Cs(e) {
|
|
16645
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Cs = function(t) {
|
|
16646
|
-
return typeof t;
|
|
16647
|
-
} : Cs = function(t) {
|
|
16648
|
-
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
16649
|
-
}, Cs(e);
|
|
16650
|
-
}
|
|
16651
|
-
function R3(e, t) {
|
|
16652
|
-
if (!(e instanceof t))
|
|
16653
|
-
throw new TypeError("Cannot call a class as a function");
|
|
16654
|
-
}
|
|
16655
|
-
function oC(e, t) {
|
|
16656
|
-
for (var r = 0; r < t.length; r++) {
|
|
16657
|
-
var n = t[r];
|
|
16658
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
|
|
16565
|
+
var b0 = Um(Pr), x0 = Gm(Pr), w0 = Ym(Pr), p3 = Km(Pr), h3 = A0($t) || rn(), E3 = s0($t), rA = Wm(Pr) || rn(), T0 = Vm(Pr), P0 = zm(Pr) || rn(), R0 = El(Pr), C3 = El(Pr), S0 = Xm(io), O0 = e0(io), D0 = t0(io) || rn(), I3 = o0($t), B3 = i0($t), m3 = l0($t), Q3 = c0($t), M0 = u0($t), y3 = r0(io), v3 = n0(io), b3 = f0($t), x3 = p0($t), w3 = h0($t), T3 = qm(Pr), P3 = Jm(Pr), R3 = E0(Zg), S3 = C0(Zg), O3 = y0(js), D3 = Cl($t) || Qi(js), M3 = a0($t), k3 = _m(Pr), F3 = B0(), N3 = rn(), L3 = m0(), j3 = Q0(), H3 = I0(), V3 = Qi(js), z3 = Cl($t) && !Qi(js), W3 = Zm(io), U3 = $m(io), Y3 = g0($t), G3 = d0($t), K3 = function(t) {
|
|
16566
|
+
if (!t || typeof t != "string") {
|
|
16567
|
+
console.error("No valid user agent string was provided");
|
|
16568
|
+
return;
|
|
16659
16569
|
}
|
|
16570
|
+
var r = Hs(t), n = r.device, s = r.browser, a = r.os, l = r.engine, u = r.ua;
|
|
16571
|
+
return v0({
|
|
16572
|
+
device: n,
|
|
16573
|
+
browser: s,
|
|
16574
|
+
os: a,
|
|
16575
|
+
engine: l,
|
|
16576
|
+
ua: u
|
|
16577
|
+
});
|
|
16578
|
+
}, q3 = function(t) {
|
|
16579
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16580
|
+
return S0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16581
|
+
}, J3 = function(t) {
|
|
16582
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16583
|
+
return R0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16584
|
+
}, _3 = function(t) {
|
|
16585
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16586
|
+
return M0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16587
|
+
}, X3 = function(t) {
|
|
16588
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16589
|
+
return D0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16590
|
+
}, Z3 = function(t) {
|
|
16591
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16592
|
+
return rA ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16593
|
+
}, $3 = function(t) {
|
|
16594
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16595
|
+
return P0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16596
|
+
}, e5 = function(t) {
|
|
16597
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16598
|
+
return O0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16599
|
+
}, t5 = function(t) {
|
|
16600
|
+
var r = t.renderWithFragment, n = t.children;
|
|
16601
|
+
t.viewClassName, t.style;
|
|
16602
|
+
var s = Wr(t, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
16603
|
+
return T0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16604
|
+
}, r5 = function(t) {
|
|
16605
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16606
|
+
return b0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16607
|
+
}, n5 = function(t) {
|
|
16608
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16609
|
+
return x0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16610
|
+
}, o5 = function(t) {
|
|
16611
|
+
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
16612
|
+
return w0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
16613
|
+
}, i5 = function(t) {
|
|
16614
|
+
var r = t.renderWithFragment, n = t.children;
|
|
16615
|
+
t.viewClassName, t.style;
|
|
16616
|
+
var s = t.condition, a = Wr(t, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
16617
|
+
return s ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", a, n) : null;
|
|
16618
|
+
};
|
|
16619
|
+
function s5(e) {
|
|
16620
|
+
return /* @__PURE__ */ function(t) {
|
|
16621
|
+
ZL(r, t);
|
|
16622
|
+
function r(n) {
|
|
16623
|
+
var s;
|
|
16624
|
+
return JL(this, r), s = e3(this, Uu(r).call(this, n)), s.isEventListenerAdded = !1, s.handleOrientationChange = s.handleOrientationChange.bind(_a(s)), s.onOrientationChange = s.onOrientationChange.bind(_a(s)), s.onPageLoad = s.onPageLoad.bind(_a(s)), s.state = {
|
|
16625
|
+
isLandscape: !1,
|
|
16626
|
+
isPortrait: !1
|
|
16627
|
+
}, s;
|
|
16628
|
+
}
|
|
16629
|
+
return _L(r, [{
|
|
16630
|
+
key: "handleOrientationChange",
|
|
16631
|
+
value: function() {
|
|
16632
|
+
this.isEventListenerAdded || (this.isEventListenerAdded = !0);
|
|
16633
|
+
var s = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
16634
|
+
this.setState({
|
|
16635
|
+
isPortrait: s === 0,
|
|
16636
|
+
isLandscape: s === 90
|
|
16637
|
+
});
|
|
16638
|
+
}
|
|
16639
|
+
}, {
|
|
16640
|
+
key: "onOrientationChange",
|
|
16641
|
+
value: function() {
|
|
16642
|
+
this.handleOrientationChange();
|
|
16643
|
+
}
|
|
16644
|
+
}, {
|
|
16645
|
+
key: "onPageLoad",
|
|
16646
|
+
value: function() {
|
|
16647
|
+
this.handleOrientationChange();
|
|
16648
|
+
}
|
|
16649
|
+
}, {
|
|
16650
|
+
key: "componentDidMount",
|
|
16651
|
+
value: function() {
|
|
16652
|
+
(typeof window > "u" ? "undefined" : Cs(window)) !== void 0 && rA && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
|
|
16653
|
+
}
|
|
16654
|
+
}, {
|
|
16655
|
+
key: "componentWillUnmount",
|
|
16656
|
+
value: function() {
|
|
16657
|
+
window.removeEventListener("resize", this.onOrientationChange, !1);
|
|
16658
|
+
}
|
|
16659
|
+
}, {
|
|
16660
|
+
key: "render",
|
|
16661
|
+
value: function() {
|
|
16662
|
+
return gt.createElement(e, Wu({}, this.props, {
|
|
16663
|
+
isLandscape: this.state.isLandscape,
|
|
16664
|
+
isPortrait: this.state.isPortrait
|
|
16665
|
+
}));
|
|
16666
|
+
}
|
|
16667
|
+
}]), r;
|
|
16668
|
+
}(gt.Component);
|
|
16660
16669
|
}
|
|
16661
|
-
function
|
|
16662
|
-
|
|
16670
|
+
function a5() {
|
|
16671
|
+
var e = qt.useState(function() {
|
|
16672
|
+
var a = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
16673
|
+
return {
|
|
16674
|
+
isPortrait: a === 0,
|
|
16675
|
+
isLandscape: a === 90,
|
|
16676
|
+
orientation: a === 0 ? "portrait" : "landscape"
|
|
16677
|
+
};
|
|
16678
|
+
}), t = t3(e, 2), r = t[0], n = t[1], s = qt.useCallback(function() {
|
|
16679
|
+
var a = window.innerWidth > window.innerHeight ? 90 : 0, l = {
|
|
16680
|
+
isPortrait: a === 0,
|
|
16681
|
+
isLandscape: a === 90,
|
|
16682
|
+
orientation: a === 0 ? "portrait" : "landscape"
|
|
16683
|
+
};
|
|
16684
|
+
r.orientation !== l.orientation && n(l);
|
|
16685
|
+
}, [r.orientation]);
|
|
16686
|
+
return qt.useEffect(function() {
|
|
16687
|
+
return (typeof window > "u" ? "undefined" : Cs(window)) !== void 0 && rA && (s(), window.addEventListener("load", s, !1), window.addEventListener("resize", s, !1)), function() {
|
|
16688
|
+
window.removeEventListener("resize", s, !1), window.removeEventListener("load", s, !1);
|
|
16689
|
+
};
|
|
16690
|
+
}, [s]), r;
|
|
16663
16691
|
}
|
|
16664
|
-
function
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
enumerable: !0,
|
|
16668
|
-
configurable: !0,
|
|
16669
|
-
writable: !0
|
|
16670
|
-
}) : e[t] = r, e;
|
|
16692
|
+
function k0(e) {
|
|
16693
|
+
var t = e || window.navigator.userAgent;
|
|
16694
|
+
return Hs(t);
|
|
16671
16695
|
}
|
|
16672
|
-
function
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
var r = arguments[t];
|
|
16676
|
-
for (var n in r)
|
|
16677
|
-
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
16678
|
-
}
|
|
16679
|
-
return e;
|
|
16680
|
-
}, Wu.apply(this, arguments);
|
|
16696
|
+
function l5(e) {
|
|
16697
|
+
var t = e || window.navigator.userAgent, r = k0(t), n = v0(r);
|
|
16698
|
+
return [n, r];
|
|
16681
16699
|
}
|
|
16682
|
-
|
|
16683
|
-
|
|
16684
|
-
|
|
16685
|
-
|
|
16686
|
-
|
|
16687
|
-
|
|
16688
|
-
|
|
16689
|
-
|
|
16690
|
-
|
|
16691
|
-
|
|
16700
|
+
pe.AndroidView = q3;
|
|
16701
|
+
pe.BrowserTypes = fr;
|
|
16702
|
+
var A5 = pe.BrowserView = J3;
|
|
16703
|
+
pe.ConsoleView = n5;
|
|
16704
|
+
pe.CustomView = i5;
|
|
16705
|
+
pe.IEView = _3;
|
|
16706
|
+
pe.IOSView = X3;
|
|
16707
|
+
pe.MobileOnlyView = t5;
|
|
16708
|
+
var c5 = pe.MobileView = Z3;
|
|
16709
|
+
pe.OsTypes = Di;
|
|
16710
|
+
pe.SmartTVView = r5;
|
|
16711
|
+
pe.TabletView = $3;
|
|
16712
|
+
pe.WearableView = o5;
|
|
16713
|
+
pe.WinPhoneView = e5;
|
|
16714
|
+
pe.browserName = w3;
|
|
16715
|
+
pe.browserVersion = x3;
|
|
16716
|
+
pe.deviceDetect = f3;
|
|
16717
|
+
pe.deviceType = k3;
|
|
16718
|
+
pe.engineName = R3;
|
|
16719
|
+
pe.engineVersion = S3;
|
|
16720
|
+
pe.fullBrowserVersion = b3;
|
|
16721
|
+
pe.getSelectorsByUserAgent = K3;
|
|
16722
|
+
pe.getUA = O3;
|
|
16723
|
+
pe.isAndroid = S0;
|
|
16724
|
+
pe.isBrowser = R0;
|
|
16725
|
+
pe.isChrome = I3;
|
|
16726
|
+
pe.isChromium = E3;
|
|
16727
|
+
pe.isConsole = x0;
|
|
16728
|
+
pe.isDesktop = C3;
|
|
16729
|
+
pe.isEdge = D3;
|
|
16730
|
+
pe.isEdgeChromium = V3;
|
|
16731
|
+
pe.isElectron = H3;
|
|
16732
|
+
pe.isEmbedded = p3;
|
|
16733
|
+
pe.isFirefox = B3;
|
|
16734
|
+
pe.isIE = M0;
|
|
16735
|
+
pe.isIOS = D0;
|
|
16736
|
+
pe.isIOS13 = F3;
|
|
16737
|
+
pe.isIPad13 = N3;
|
|
16738
|
+
pe.isIPhone13 = L3;
|
|
16739
|
+
pe.isIPod13 = j3;
|
|
16740
|
+
pe.isLegacyEdge = z3;
|
|
16741
|
+
pe.isMIUI = Y3;
|
|
16742
|
+
pe.isMacOs = U3;
|
|
16743
|
+
pe.isMobile = rA;
|
|
16744
|
+
pe.isMobileOnly = T0;
|
|
16745
|
+
pe.isMobileSafari = h3;
|
|
16746
|
+
pe.isOpera = Q3;
|
|
16747
|
+
pe.isSafari = m3;
|
|
16748
|
+
pe.isSamsungBrowser = G3;
|
|
16749
|
+
pe.isSmartTV = b0;
|
|
16750
|
+
pe.isTablet = P0;
|
|
16751
|
+
pe.isWearable = w0;
|
|
16752
|
+
pe.isWinPhone = O0;
|
|
16753
|
+
pe.isWindows = W3;
|
|
16754
|
+
pe.isYandex = M3;
|
|
16755
|
+
pe.mobileModel = P3;
|
|
16756
|
+
pe.mobileVendor = T3;
|
|
16757
|
+
pe.osName = v3;
|
|
16758
|
+
pe.osVersion = y3;
|
|
16759
|
+
pe.parseUserAgent = Hs;
|
|
16760
|
+
pe.setUserAgent = l3;
|
|
16761
|
+
pe.useDeviceData = k0;
|
|
16762
|
+
pe.useDeviceSelectors = l5;
|
|
16763
|
+
pe.useMobileOrientation = a5;
|
|
16764
|
+
pe.withOrientationChange = s5;
|
|
16765
|
+
var u5 = typeof global == "object" && global && global.Object === Object && global;
|
|
16766
|
+
const g5 = u5;
|
|
16767
|
+
var d5 = typeof self == "object" && self && self.Object === Object && self, f5 = g5 || d5 || Function("return this")();
|
|
16768
|
+
const F0 = f5;
|
|
16769
|
+
var p5 = F0.Symbol;
|
|
16770
|
+
const Il = p5;
|
|
16771
|
+
var N0 = Object.prototype, h5 = N0.hasOwnProperty, E5 = N0.toString, os = Il ? Il.toStringTag : void 0;
|
|
16772
|
+
function C5(e) {
|
|
16773
|
+
var t = h5.call(e, os), r = e[os];
|
|
16774
|
+
try {
|
|
16775
|
+
e[os] = void 0;
|
|
16776
|
+
var n = !0;
|
|
16777
|
+
} catch {
|
|
16778
|
+
}
|
|
16779
|
+
var s = E5.call(e);
|
|
16780
|
+
return n && (t ? e[os] = r : delete e[os]), s;
|
|
16692
16781
|
}
|
|
16693
|
-
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
}, Uu(e);
|
|
16782
|
+
var I5 = Object.prototype, B5 = I5.toString;
|
|
16783
|
+
function m5(e) {
|
|
16784
|
+
return B5.call(e);
|
|
16697
16785
|
}
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
}, Yu(e, t);
|
|
16786
|
+
var Q5 = "[object Null]", y5 = "[object Undefined]", rC = Il ? Il.toStringTag : void 0;
|
|
16787
|
+
function v5(e) {
|
|
16788
|
+
return e == null ? e === void 0 ? y5 : Q5 : rC && rC in Object(e) ? C5(e) : m5(e);
|
|
16702
16789
|
}
|
|
16703
|
-
function
|
|
16704
|
-
|
|
16705
|
-
return {};
|
|
16706
|
-
var r = {}, n = Object.keys(e), s, a;
|
|
16707
|
-
for (a = 0; a < n.length; a++)
|
|
16708
|
-
s = n[a], !(t.indexOf(s) >= 0) && (r[s] = e[s]);
|
|
16709
|
-
return r;
|
|
16790
|
+
function b5(e) {
|
|
16791
|
+
return e != null && typeof e == "object";
|
|
16710
16792
|
}
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16714
|
-
var r = M3(e, t), n, s;
|
|
16715
|
-
if (Object.getOwnPropertySymbols) {
|
|
16716
|
-
var a = Object.getOwnPropertySymbols(e);
|
|
16717
|
-
for (s = 0; s < a.length; s++)
|
|
16718
|
-
n = a[s], !(t.indexOf(n) >= 0) && (!Object.prototype.propertyIsEnumerable.call(e, n) || (r[n] = e[n]));
|
|
16719
|
-
}
|
|
16720
|
-
return r;
|
|
16793
|
+
var x5 = "[object Symbol]";
|
|
16794
|
+
function w5(e) {
|
|
16795
|
+
return typeof e == "symbol" || b5(e) && v5(e) == x5;
|
|
16721
16796
|
}
|
|
16722
|
-
|
|
16723
|
-
|
|
16724
|
-
|
|
16725
|
-
|
|
16797
|
+
var T5 = /\s/;
|
|
16798
|
+
function P5(e) {
|
|
16799
|
+
for (var t = e.length; t-- && T5.test(e.charAt(t)); )
|
|
16800
|
+
;
|
|
16801
|
+
return t;
|
|
16726
16802
|
}
|
|
16727
|
-
|
|
16728
|
-
|
|
16729
|
-
|
|
16730
|
-
if (t !== void 0)
|
|
16731
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
16732
|
-
return Xa(e);
|
|
16803
|
+
var R5 = /^\s+/;
|
|
16804
|
+
function S5(e) {
|
|
16805
|
+
return e && e.slice(0, P5(e) + 1).replace(R5, "");
|
|
16733
16806
|
}
|
|
16734
|
-
function
|
|
16735
|
-
|
|
16807
|
+
function Bl(e) {
|
|
16808
|
+
var t = typeof e;
|
|
16809
|
+
return e != null && (t == "object" || t == "function");
|
|
16736
16810
|
}
|
|
16737
|
-
|
|
16738
|
-
|
|
16811
|
+
var nC = 0 / 0, O5 = /^[-+]0x[0-9a-f]+$/i, D5 = /^0b[01]+$/i, M5 = /^0o[0-7]+$/i, k5 = parseInt;
|
|
16812
|
+
function oC(e) {
|
|
16813
|
+
if (typeof e == "number")
|
|
16739
16814
|
return e;
|
|
16740
|
-
|
|
16741
|
-
|
|
16742
|
-
|
|
16743
|
-
|
|
16744
|
-
|
|
16745
|
-
try {
|
|
16746
|
-
for (r = r.call(e); !(s = (l = r.next()).done) && (n.push(l.value), !(t && n.length === t)); s = !0)
|
|
16747
|
-
;
|
|
16748
|
-
} catch (g) {
|
|
16749
|
-
a = !0, u = g;
|
|
16750
|
-
} finally {
|
|
16751
|
-
try {
|
|
16752
|
-
!s && r.return != null && r.return();
|
|
16753
|
-
} finally {
|
|
16754
|
-
if (a)
|
|
16755
|
-
throw u;
|
|
16756
|
-
}
|
|
16757
|
-
}
|
|
16758
|
-
return n;
|
|
16815
|
+
if (w5(e))
|
|
16816
|
+
return nC;
|
|
16817
|
+
if (Bl(e)) {
|
|
16818
|
+
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
16819
|
+
e = Bl(t) ? t + "" : t;
|
|
16759
16820
|
}
|
|
16821
|
+
if (typeof e != "string")
|
|
16822
|
+
return e === 0 ? e : +e;
|
|
16823
|
+
e = S5(e);
|
|
16824
|
+
var r = D5.test(e);
|
|
16825
|
+
return r || M5.test(e) ? k5(e.slice(2), r ? 2 : 8) : O5.test(e) ? nC : +e;
|
|
16760
16826
|
}
|
|
16761
|
-
function
|
|
16762
|
-
|
|
16763
|
-
|
|
16764
|
-
|
|
16765
|
-
|
|
16766
|
-
|
|
16767
|
-
|
|
16768
|
-
|
|
16769
|
-
|
|
16827
|
+
var F5 = function() {
|
|
16828
|
+
return F0.Date.now();
|
|
16829
|
+
};
|
|
16830
|
+
const eu = F5;
|
|
16831
|
+
var N5 = "Expected a function", L5 = Math.max, j5 = Math.min;
|
|
16832
|
+
function Xa(e, t, r) {
|
|
16833
|
+
var n, s, a, l, u, g, d = 0, p = !1, E = !1, h = !0;
|
|
16834
|
+
if (typeof e != "function")
|
|
16835
|
+
throw new TypeError(N5);
|
|
16836
|
+
t = oC(t) || 0, Bl(r) && (p = !!r.leading, E = "maxWait" in r, a = E ? L5(oC(r.maxWait) || 0, t) : a, h = "trailing" in r ? !!r.trailing : h);
|
|
16837
|
+
function I(H) {
|
|
16838
|
+
var W = n, X = s;
|
|
16839
|
+
return n = s = void 0, d = H, l = e.apply(X, W), l;
|
|
16840
|
+
}
|
|
16841
|
+
function B(H) {
|
|
16842
|
+
return d = H, u = setTimeout(R, t), p ? I(H) : l;
|
|
16843
|
+
}
|
|
16844
|
+
function Q(H) {
|
|
16845
|
+
var W = H - g, X = H - d, Z = t - W;
|
|
16846
|
+
return E ? j5(Z, a - X) : Z;
|
|
16847
|
+
}
|
|
16848
|
+
function y(H) {
|
|
16849
|
+
var W = H - g, X = H - d;
|
|
16850
|
+
return g === void 0 || W >= t || W < 0 || E && X >= a;
|
|
16851
|
+
}
|
|
16852
|
+
function R() {
|
|
16853
|
+
var H = eu();
|
|
16854
|
+
if (y(H))
|
|
16855
|
+
return O(H);
|
|
16856
|
+
u = setTimeout(R, Q(H));
|
|
16857
|
+
}
|
|
16858
|
+
function O(H) {
|
|
16859
|
+
return u = void 0, h && n ? I(H) : (n = s = void 0, l);
|
|
16860
|
+
}
|
|
16861
|
+
function x() {
|
|
16862
|
+
u !== void 0 && clearTimeout(u), d = 0, n = g = s = u = void 0;
|
|
16863
|
+
}
|
|
16864
|
+
function T() {
|
|
16865
|
+
return u === void 0 ? l : O(eu());
|
|
16866
|
+
}
|
|
16867
|
+
function P() {
|
|
16868
|
+
var H = eu(), W = y(H);
|
|
16869
|
+
if (n = arguments, s = this, g = H, W) {
|
|
16870
|
+
if (u === void 0)
|
|
16871
|
+
return B(g);
|
|
16872
|
+
if (E)
|
|
16873
|
+
return clearTimeout(u), u = setTimeout(R, t), I(g);
|
|
16874
|
+
}
|
|
16875
|
+
return u === void 0 && (u = setTimeout(R, t)), l;
|
|
16770
16876
|
}
|
|
16877
|
+
return P.cancel = x, P.flush = T, P;
|
|
16771
16878
|
}
|
|
16772
|
-
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
|
|
16776
|
-
|
|
16879
|
+
var H5 = "Expected a function";
|
|
16880
|
+
function V5(e, t, r) {
|
|
16881
|
+
var n = !0, s = !0;
|
|
16882
|
+
if (typeof e != "function")
|
|
16883
|
+
throw new TypeError(H5);
|
|
16884
|
+
return Bl(r) && (n = "leading" in r ? !!r.leading : n, s = "trailing" in r ? !!r.trailing : s), Xa(e, t, {
|
|
16885
|
+
leading: n,
|
|
16886
|
+
maxWait: t,
|
|
16887
|
+
trailing: s
|
|
16888
|
+
});
|
|
16777
16889
|
}
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
var
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
|
|
16788
|
-
|
|
16789
|
-
|
|
16790
|
-
}
|
|
16791
|
-
|
|
16792
|
-
|
|
16793
|
-
|
|
16794
|
-
|
|
16795
|
-
|
|
16796
|
-
|
|
16797
|
-
|
|
16798
|
-
|
|
16799
|
-
Ie: "IE",
|
|
16800
|
-
MobileSafari: "Mobile Safari",
|
|
16801
|
-
EdgeChromium: "Edge Chromium",
|
|
16802
|
-
MIUI: "MIUI Browser",
|
|
16803
|
-
SamsungBrowser: "Samsung Browser"
|
|
16804
|
-
}, Di = {
|
|
16805
|
-
IOS: "iOS",
|
|
16806
|
-
Android: "Android",
|
|
16807
|
-
WindowsPhone: "Windows Phone",
|
|
16808
|
-
Windows: "Windows",
|
|
16809
|
-
MAC_OS: "Mac OS"
|
|
16810
|
-
}, V3 = {
|
|
16811
|
-
isMobile: !1,
|
|
16812
|
-
isTablet: !1,
|
|
16813
|
-
isBrowser: !1,
|
|
16814
|
-
isSmartTV: !1,
|
|
16815
|
-
isConsole: !1,
|
|
16816
|
-
isWearable: !1
|
|
16817
|
-
}, z3 = function(t) {
|
|
16818
|
-
switch (t) {
|
|
16819
|
-
case Kt.Mobile:
|
|
16820
|
-
return {
|
|
16821
|
-
isMobile: !0
|
|
16822
|
-
};
|
|
16823
|
-
case Kt.Tablet:
|
|
16824
|
-
return {
|
|
16825
|
-
isTablet: !0
|
|
16826
|
-
};
|
|
16827
|
-
case Kt.SmartTv:
|
|
16828
|
-
return {
|
|
16829
|
-
isSmartTV: !0
|
|
16830
|
-
};
|
|
16831
|
-
case Kt.Console:
|
|
16832
|
-
return {
|
|
16833
|
-
isConsole: !0
|
|
16834
|
-
};
|
|
16835
|
-
case Kt.Wearable:
|
|
16836
|
-
return {
|
|
16837
|
-
isWearable: !0
|
|
16838
|
-
};
|
|
16839
|
-
case Kt.Browser:
|
|
16840
|
-
return {
|
|
16841
|
-
isBrowser: !0
|
|
16842
|
-
};
|
|
16843
|
-
case Kt.Embedded:
|
|
16844
|
-
return {
|
|
16845
|
-
isEmbedded: !0
|
|
16846
|
-
};
|
|
16847
|
-
default:
|
|
16848
|
-
return V3;
|
|
16890
|
+
var z5 = !!(typeof window < "u" && window.document && window.document.createElement), L0 = z5, Ci = function() {
|
|
16891
|
+
return Ci = Object.assign || function(t) {
|
|
16892
|
+
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
16893
|
+
r = arguments[n];
|
|
16894
|
+
for (var a in r)
|
|
16895
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
16896
|
+
}
|
|
16897
|
+
return t;
|
|
16898
|
+
}, Ci.apply(this, arguments);
|
|
16899
|
+
}, gi = null, iC = null;
|
|
16900
|
+
L0 && window.addEventListener("resize", function() {
|
|
16901
|
+
iC !== window.devicePixelRatio && (iC = window.devicePixelRatio, gi = null);
|
|
16902
|
+
});
|
|
16903
|
+
function sC() {
|
|
16904
|
+
if (gi === null) {
|
|
16905
|
+
if (typeof document > "u")
|
|
16906
|
+
return gi = 0, gi;
|
|
16907
|
+
var e = document.body, t = document.createElement("div");
|
|
16908
|
+
t.classList.add("simplebar-hide-scrollbar"), e.appendChild(t);
|
|
16909
|
+
var r = t.getBoundingClientRect().right;
|
|
16910
|
+
e.removeChild(t), gi = r;
|
|
16849
16911
|
}
|
|
16850
|
-
|
|
16851
|
-
|
|
16852
|
-
|
|
16853
|
-
|
|
16854
|
-
|
|
16855
|
-
|
|
16856
|
-
return
|
|
16857
|
-
}
|
|
16858
|
-
|
|
16859
|
-
|
|
16860
|
-
|
|
16861
|
-
|
|
16862
|
-
|
|
16863
|
-
|
|
16864
|
-
|
|
16865
|
-
|
|
16866
|
-
|
|
16867
|
-
|
|
16868
|
-
|
|
16869
|
-
|
|
16870
|
-
|
|
16871
|
-
|
|
16872
|
-
|
|
16873
|
-
|
|
16874
|
-
|
|
16875
|
-
|
|
16876
|
-
|
|
16877
|
-
|
|
16878
|
-
|
|
16879
|
-
|
|
16880
|
-
},
|
|
16881
|
-
return
|
|
16882
|
-
isSmartTV: t,
|
|
16883
|
-
engineName: Se(r.name),
|
|
16884
|
-
engineVersion: Se(r.version),
|
|
16885
|
-
osName: Se(n.name),
|
|
16886
|
-
osVersion: Se(n.version),
|
|
16887
|
-
userAgent: Se(s)
|
|
16888
|
-
};
|
|
16889
|
-
}, G3 = function(t, r, n, s) {
|
|
16890
|
-
return {
|
|
16891
|
-
isConsole: t,
|
|
16892
|
-
engineName: Se(r.name),
|
|
16893
|
-
engineVersion: Se(r.version),
|
|
16894
|
-
osName: Se(n.name),
|
|
16895
|
-
osVersion: Se(n.version),
|
|
16896
|
-
userAgent: Se(s)
|
|
16897
|
-
};
|
|
16898
|
-
}, K3 = function(t, r, n, s) {
|
|
16899
|
-
return {
|
|
16900
|
-
isWearable: t,
|
|
16901
|
-
engineName: Se(r.name),
|
|
16902
|
-
engineVersion: Se(r.version),
|
|
16903
|
-
osName: Se(n.name),
|
|
16904
|
-
osVersion: Se(n.version),
|
|
16905
|
-
userAgent: Se(s)
|
|
16906
|
-
};
|
|
16907
|
-
}, q3 = function(t, r, n, s, a) {
|
|
16908
|
-
return {
|
|
16909
|
-
isEmbedded: t,
|
|
16910
|
-
vendor: Se(r.vendor),
|
|
16911
|
-
model: Se(r.model),
|
|
16912
|
-
engineName: Se(n.name),
|
|
16913
|
-
engineVersion: Se(n.version),
|
|
16914
|
-
osName: Se(s.name),
|
|
16915
|
-
osVersion: Se(s.version),
|
|
16916
|
-
userAgent: Se(a)
|
|
16917
|
-
};
|
|
16912
|
+
return gi;
|
|
16913
|
+
}
|
|
16914
|
+
function j0(e) {
|
|
16915
|
+
return !e || !e.ownerDocument || !e.ownerDocument.defaultView ? window : e.ownerDocument.defaultView;
|
|
16916
|
+
}
|
|
16917
|
+
function H0(e) {
|
|
16918
|
+
return !e || !e.ownerDocument ? document : e.ownerDocument;
|
|
16919
|
+
}
|
|
16920
|
+
var V0 = function(e) {
|
|
16921
|
+
var t = {}, r = Array.prototype.reduce.call(e, function(n, s) {
|
|
16922
|
+
var a = s.name.match(/data-simplebar-(.+)/);
|
|
16923
|
+
if (a) {
|
|
16924
|
+
var l = a[1].replace(/\W+(.)/g, function(u, g) {
|
|
16925
|
+
return g.toUpperCase();
|
|
16926
|
+
});
|
|
16927
|
+
switch (s.value) {
|
|
16928
|
+
case "true":
|
|
16929
|
+
n[l] = !0;
|
|
16930
|
+
break;
|
|
16931
|
+
case "false":
|
|
16932
|
+
n[l] = !1;
|
|
16933
|
+
break;
|
|
16934
|
+
case void 0:
|
|
16935
|
+
n[l] = !0;
|
|
16936
|
+
break;
|
|
16937
|
+
default:
|
|
16938
|
+
n[l] = s.value;
|
|
16939
|
+
}
|
|
16940
|
+
}
|
|
16941
|
+
return n;
|
|
16942
|
+
}, t);
|
|
16943
|
+
return r;
|
|
16918
16944
|
};
|
|
16919
|
-
function
|
|
16920
|
-
var
|
|
16921
|
-
|
|
16922
|
-
return U3(g, n, s, a, l);
|
|
16923
|
-
if (E)
|
|
16924
|
-
return Y3(E, s, a, l);
|
|
16925
|
-
if (h)
|
|
16926
|
-
return G3(h, s, a, l);
|
|
16927
|
-
if (d || p)
|
|
16928
|
-
return sC(u, r, a, l);
|
|
16929
|
-
if (I)
|
|
16930
|
-
return K3(I, s, a, l);
|
|
16931
|
-
if (B)
|
|
16932
|
-
return q3(B, r, s, a, l);
|
|
16945
|
+
function z0(e, t) {
|
|
16946
|
+
var r;
|
|
16947
|
+
!e || (r = e.classList).add.apply(r, t.split(" "));
|
|
16933
16948
|
}
|
|
16934
|
-
|
|
16935
|
-
|
|
16936
|
-
|
|
16937
|
-
}
|
|
16938
|
-
|
|
16939
|
-
|
|
16940
|
-
|
|
16941
|
-
|
|
16942
|
-
|
|
16943
|
-
|
|
16944
|
-
|
|
16945
|
-
|
|
16946
|
-
|
|
16947
|
-
|
|
16948
|
-
|
|
16949
|
-
|
|
16950
|
-
|
|
16951
|
-
|
|
16952
|
-
|
|
16953
|
-
|
|
16954
|
-
|
|
16955
|
-
},
|
|
16956
|
-
|
|
16957
|
-
|
|
16958
|
-
},
|
|
16959
|
-
|
|
16960
|
-
|
|
16961
|
-
},
|
|
16962
|
-
|
|
16963
|
-
|
|
16964
|
-
|
|
16965
|
-
|
|
16966
|
-
|
|
16967
|
-
},
|
|
16968
|
-
|
|
16969
|
-
|
|
16970
|
-
|
|
16971
|
-
|
|
16972
|
-
|
|
16973
|
-
},
|
|
16974
|
-
|
|
16975
|
-
|
|
16976
|
-
|
|
16977
|
-
|
|
16978
|
-
|
|
16979
|
-
|
|
16980
|
-
|
|
16981
|
-
|
|
16982
|
-
},
|
|
16983
|
-
|
|
16984
|
-
|
|
16985
|
-
|
|
16986
|
-
|
|
16987
|
-
|
|
16988
|
-
|
|
16989
|
-
|
|
16990
|
-
|
|
16991
|
-
}
|
|
16992
|
-
|
|
16993
|
-
|
|
16994
|
-
|
|
16995
|
-
|
|
16996
|
-
|
|
16997
|
-
},
|
|
16998
|
-
|
|
16999
|
-
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
17008
|
-
|
|
17009
|
-
|
|
17010
|
-
|
|
17011
|
-
|
|
17012
|
-
},
|
|
17013
|
-
|
|
17014
|
-
|
|
17015
|
-
|
|
17016
|
-
|
|
17017
|
-
|
|
17018
|
-
|
|
17019
|
-
|
|
17020
|
-
|
|
17021
|
-
|
|
17022
|
-
|
|
17023
|
-
|
|
17024
|
-
|
|
17025
|
-
|
|
17026
|
-
|
|
17027
|
-
|
|
17028
|
-
|
|
17029
|
-
|
|
17030
|
-
|
|
17031
|
-
|
|
17032
|
-
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
|
|
17040
|
-
|
|
17041
|
-
|
|
17042
|
-
|
|
17043
|
-
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
},
|
|
17047
|
-
|
|
17048
|
-
|
|
17049
|
-
|
|
17050
|
-
|
|
17051
|
-
|
|
16949
|
+
function W0(e, t) {
|
|
16950
|
+
!e || t.split(" ").forEach(function(r) {
|
|
16951
|
+
e.classList.remove(r);
|
|
16952
|
+
});
|
|
16953
|
+
}
|
|
16954
|
+
function U0(e) {
|
|
16955
|
+
return ".".concat(e.split(" ").join("."));
|
|
16956
|
+
}
|
|
16957
|
+
var W5 = /* @__PURE__ */ Object.freeze({
|
|
16958
|
+
__proto__: null,
|
|
16959
|
+
getElementWindow: j0,
|
|
16960
|
+
getElementDocument: H0,
|
|
16961
|
+
getOptions: V0,
|
|
16962
|
+
addClasses: z0,
|
|
16963
|
+
removeClasses: W0,
|
|
16964
|
+
classNamesToQuery: U0
|
|
16965
|
+
}), Hn = j0, tu = H0, U5 = V0, Vn = z0, zn = W0, ur = U0, ja = function() {
|
|
16966
|
+
function e(t, r) {
|
|
16967
|
+
r === void 0 && (r = {});
|
|
16968
|
+
var n = this;
|
|
16969
|
+
if (this.removePreventClickId = null, this.minScrollbarWidth = 20, this.stopScrollDelay = 175, this.isScrolling = !1, this.isMouseEntering = !1, this.scrollXTicking = !1, this.scrollYTicking = !1, this.wrapperEl = null, this.contentWrapperEl = null, this.contentEl = null, this.offsetEl = null, this.maskEl = null, this.placeholderEl = null, this.heightAutoObserverWrapperEl = null, this.heightAutoObserverEl = null, this.rtlHelpers = null, this.scrollbarWidth = 0, this.resizeObserver = null, this.mutationObserver = null, this.elStyles = null, this.isRtl = null, this.mouseX = 0, this.mouseY = 0, this.onMouseMove = function() {
|
|
16970
|
+
}, this.onWindowResize = function() {
|
|
16971
|
+
}, this.onStopScrolling = function() {
|
|
16972
|
+
}, this.onMouseEntered = function() {
|
|
16973
|
+
}, this.onScroll = function() {
|
|
16974
|
+
var s = Hn(n.el);
|
|
16975
|
+
n.scrollXTicking || (s.requestAnimationFrame(n.scrollX), n.scrollXTicking = !0), n.scrollYTicking || (s.requestAnimationFrame(n.scrollY), n.scrollYTicking = !0), n.isScrolling || (n.isScrolling = !0, Vn(n.el, n.classNames.scrolling)), n.showScrollbar("x"), n.showScrollbar("y"), n.onStopScrolling();
|
|
16976
|
+
}, this.scrollX = function() {
|
|
16977
|
+
n.axis.x.isOverflowing && n.positionScrollbar("x"), n.scrollXTicking = !1;
|
|
16978
|
+
}, this.scrollY = function() {
|
|
16979
|
+
n.axis.y.isOverflowing && n.positionScrollbar("y"), n.scrollYTicking = !1;
|
|
16980
|
+
}, this._onStopScrolling = function() {
|
|
16981
|
+
zn(n.el, n.classNames.scrolling), n.options.autoHide && (n.hideScrollbar("x"), n.hideScrollbar("y")), n.isScrolling = !1;
|
|
16982
|
+
}, this.onMouseEnter = function() {
|
|
16983
|
+
n.isMouseEntering || (Vn(n.el, n.classNames.mouseEntered), n.showScrollbar("x"), n.showScrollbar("y"), n.isMouseEntering = !0), n.onMouseEntered();
|
|
16984
|
+
}, this._onMouseEntered = function() {
|
|
16985
|
+
zn(n.el, n.classNames.mouseEntered), n.options.autoHide && (n.hideScrollbar("x"), n.hideScrollbar("y")), n.isMouseEntering = !1;
|
|
16986
|
+
}, this._onMouseMove = function(s) {
|
|
16987
|
+
n.mouseX = s.clientX, n.mouseY = s.clientY, (n.axis.x.isOverflowing || n.axis.x.forceVisible) && n.onMouseMoveForAxis("x"), (n.axis.y.isOverflowing || n.axis.y.forceVisible) && n.onMouseMoveForAxis("y");
|
|
16988
|
+
}, this.onMouseLeave = function() {
|
|
16989
|
+
n.onMouseMove.cancel(), (n.axis.x.isOverflowing || n.axis.x.forceVisible) && n.onMouseLeaveForAxis("x"), (n.axis.y.isOverflowing || n.axis.y.forceVisible) && n.onMouseLeaveForAxis("y"), n.mouseX = -1, n.mouseY = -1;
|
|
16990
|
+
}, this._onWindowResize = function() {
|
|
16991
|
+
n.scrollbarWidth = n.getScrollbarWidth(), n.hideNativeScrollbar();
|
|
16992
|
+
}, this.onPointerEvent = function(s) {
|
|
16993
|
+
if (!(!n.axis.x.track.el || !n.axis.y.track.el || !n.axis.x.scrollbar.el || !n.axis.y.scrollbar.el)) {
|
|
16994
|
+
var a, l;
|
|
16995
|
+
n.axis.x.track.rect = n.axis.x.track.el.getBoundingClientRect(), n.axis.y.track.rect = n.axis.y.track.el.getBoundingClientRect(), (n.axis.x.isOverflowing || n.axis.x.forceVisible) && (a = n.isWithinBounds(n.axis.x.track.rect)), (n.axis.y.isOverflowing || n.axis.y.forceVisible) && (l = n.isWithinBounds(n.axis.y.track.rect)), (a || l) && (s.stopPropagation(), s.type === "pointerdown" && s.pointerType !== "touch" && (a && (n.axis.x.scrollbar.rect = n.axis.x.scrollbar.el.getBoundingClientRect(), n.isWithinBounds(n.axis.x.scrollbar.rect) ? n.onDragStart(s, "x") : n.onTrackClick(s, "x")), l && (n.axis.y.scrollbar.rect = n.axis.y.scrollbar.el.getBoundingClientRect(), n.isWithinBounds(n.axis.y.scrollbar.rect) ? n.onDragStart(s, "y") : n.onTrackClick(s, "y"))));
|
|
16996
|
+
}
|
|
16997
|
+
}, this.drag = function(s) {
|
|
16998
|
+
var a, l, u, g, d, p, E, h, I, B, Q;
|
|
16999
|
+
if (!(!n.draggedAxis || !n.contentWrapperEl)) {
|
|
17000
|
+
var y, R = n.axis[n.draggedAxis].track, O = (l = (a = R.rect) === null || a === void 0 ? void 0 : a[n.axis[n.draggedAxis].sizeAttr]) !== null && l !== void 0 ? l : 0, x = n.axis[n.draggedAxis].scrollbar, T = (g = (u = n.contentWrapperEl) === null || u === void 0 ? void 0 : u[n.axis[n.draggedAxis].scrollSizeAttr]) !== null && g !== void 0 ? g : 0, P = parseInt((p = (d = n.elStyles) === null || d === void 0 ? void 0 : d[n.axis[n.draggedAxis].sizeAttr]) !== null && p !== void 0 ? p : "0px", 10);
|
|
17001
|
+
s.preventDefault(), s.stopPropagation(), n.draggedAxis === "y" ? y = s.pageY : y = s.pageX;
|
|
17002
|
+
var H = y - ((h = (E = R.rect) === null || E === void 0 ? void 0 : E[n.axis[n.draggedAxis].offsetAttr]) !== null && h !== void 0 ? h : 0) - n.axis[n.draggedAxis].dragOffset;
|
|
17003
|
+
H = n.draggedAxis === "x" && n.isRtl ? ((B = (I = R.rect) === null || I === void 0 ? void 0 : I[n.axis[n.draggedAxis].sizeAttr]) !== null && B !== void 0 ? B : 0) - x.size - H : H;
|
|
17004
|
+
var W = H / (O - x.size), X = W * (T - P);
|
|
17005
|
+
n.draggedAxis === "x" && n.isRtl && (X = !((Q = e.getRtlHelpers()) === null || Q === void 0) && Q.isScrollingToNegative ? -X : X), n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr] = X;
|
|
17006
|
+
}
|
|
17007
|
+
}, this.onEndDrag = function(s) {
|
|
17008
|
+
var a = tu(n.el), l = Hn(n.el);
|
|
17009
|
+
s.preventDefault(), s.stopPropagation(), zn(n.el, n.classNames.dragging), a.removeEventListener("mousemove", n.drag, !0), a.removeEventListener("mouseup", n.onEndDrag, !0), n.removePreventClickId = l.setTimeout(function() {
|
|
17010
|
+
a.removeEventListener("click", n.preventClick, !0), a.removeEventListener("dblclick", n.preventClick, !0), n.removePreventClickId = null;
|
|
17011
|
+
});
|
|
17012
|
+
}, this.preventClick = function(s) {
|
|
17013
|
+
s.preventDefault(), s.stopPropagation();
|
|
17014
|
+
}, this.el = t, this.options = Ci(Ci({}, e.defaultOptions), r), this.classNames = Ci(Ci({}, e.defaultOptions.classNames), r.classNames), this.axis = {
|
|
17015
|
+
x: {
|
|
17016
|
+
scrollOffsetAttr: "scrollLeft",
|
|
17017
|
+
sizeAttr: "width",
|
|
17018
|
+
scrollSizeAttr: "scrollWidth",
|
|
17019
|
+
offsetSizeAttr: "offsetWidth",
|
|
17020
|
+
offsetAttr: "left",
|
|
17021
|
+
overflowAttr: "overflowX",
|
|
17022
|
+
dragOffset: 0,
|
|
17023
|
+
isOverflowing: !0,
|
|
17024
|
+
forceVisible: !1,
|
|
17025
|
+
track: { size: null, el: null, rect: null, isVisible: !1 },
|
|
17026
|
+
scrollbar: { size: null, el: null, rect: null, isVisible: !1 }
|
|
17027
|
+
},
|
|
17028
|
+
y: {
|
|
17029
|
+
scrollOffsetAttr: "scrollTop",
|
|
17030
|
+
sizeAttr: "height",
|
|
17031
|
+
scrollSizeAttr: "scrollHeight",
|
|
17032
|
+
offsetSizeAttr: "offsetHeight",
|
|
17033
|
+
offsetAttr: "top",
|
|
17034
|
+
overflowAttr: "overflowY",
|
|
17035
|
+
dragOffset: 0,
|
|
17036
|
+
isOverflowing: !0,
|
|
17037
|
+
forceVisible: !1,
|
|
17038
|
+
track: { size: null, el: null, rect: null, isVisible: !1 },
|
|
17039
|
+
scrollbar: { size: null, el: null, rect: null, isVisible: !1 }
|
|
17040
|
+
}
|
|
17041
|
+
}, typeof this.el != "object" || !this.el.nodeName)
|
|
17042
|
+
throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));
|
|
17043
|
+
this.onMouseMove = V5(this._onMouseMove, 64), this.onWindowResize = Xa(this._onWindowResize, 64, { leading: !0 }), this.onStopScrolling = Xa(this._onStopScrolling, this.stopScrollDelay), this.onMouseEntered = Xa(this._onMouseEntered, this.stopScrollDelay), this.init();
|
|
17044
|
+
}
|
|
17045
|
+
return e.getRtlHelpers = function() {
|
|
17046
|
+
if (e.rtlHelpers)
|
|
17047
|
+
return e.rtlHelpers;
|
|
17048
|
+
var t = document.createElement("div");
|
|
17049
|
+
t.innerHTML = '<div class="simplebar-dummy-scrollbar-size"><div></div></div>';
|
|
17050
|
+
var r = t.firstElementChild, n = r == null ? void 0 : r.firstElementChild;
|
|
17051
|
+
if (!n)
|
|
17052
|
+
return null;
|
|
17053
|
+
document.body.appendChild(r), r.scrollLeft = 0;
|
|
17054
|
+
var s = e.getOffset(r), a = e.getOffset(n);
|
|
17055
|
+
r.scrollLeft = -999;
|
|
17056
|
+
var l = e.getOffset(n);
|
|
17057
|
+
return document.body.removeChild(r), e.rtlHelpers = {
|
|
17058
|
+
isScrollOriginAtZero: s.left !== a.left,
|
|
17059
|
+
isScrollingToNegative: a.left !== l.left
|
|
17060
|
+
}, e.rtlHelpers;
|
|
17061
|
+
}, e.prototype.getScrollbarWidth = function() {
|
|
17062
|
+
try {
|
|
17063
|
+
return this.contentWrapperEl && getComputedStyle(this.contentWrapperEl, "::-webkit-scrollbar").display === "none" || "scrollbarWidth" in document.documentElement.style || "-ms-overflow-style" in document.documentElement.style ? 0 : sC();
|
|
17064
|
+
} catch {
|
|
17065
|
+
return sC();
|
|
17066
|
+
}
|
|
17067
|
+
}, e.getOffset = function(t) {
|
|
17068
|
+
var r = t.getBoundingClientRect(), n = tu(t), s = Hn(t);
|
|
17069
|
+
return {
|
|
17070
|
+
top: r.top + (s.pageYOffset || n.documentElement.scrollTop),
|
|
17071
|
+
left: r.left + (s.pageXOffset || n.documentElement.scrollLeft)
|
|
17072
|
+
};
|
|
17073
|
+
}, e.prototype.init = function() {
|
|
17074
|
+
L0 && (this.initDOM(), this.rtlHelpers = e.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
|
|
17075
|
+
}, e.prototype.initDOM = function() {
|
|
17076
|
+
var t, r;
|
|
17077
|
+
this.wrapperEl = this.el.querySelector(ur(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(ur(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(ur(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(ur(this.classNames.offset)), this.maskEl = this.el.querySelector(ur(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, ur(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(ur(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(ur(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, "".concat(ur(this.classNames.track)).concat(ur(this.classNames.horizontal))), this.axis.y.track.el = this.findChild(this.el, "".concat(ur(this.classNames.track)).concat(ur(this.classNames.vertical))), this.axis.x.scrollbar.el = ((t = this.axis.x.track.el) === null || t === void 0 ? void 0 : t.querySelector(ur(this.classNames.scrollbar))) || null, this.axis.y.scrollbar.el = ((r = this.axis.y.track.el) === null || r === void 0 ? void 0 : r.querySelector(ur(this.classNames.scrollbar))) || null, this.options.autoHide || (Vn(this.axis.x.scrollbar.el, this.classNames.visible), Vn(this.axis.y.scrollbar.el, this.classNames.visible));
|
|
17078
|
+
}, e.prototype.initListeners = function() {
|
|
17079
|
+
var t = this, r, n = Hn(this.el);
|
|
17080
|
+
if (this.el.addEventListener("mouseenter", this.onMouseEnter), this.el.addEventListener("pointerdown", this.onPointerEvent, !0), this.el.addEventListener("mousemove", this.onMouseMove), this.el.addEventListener("mouseleave", this.onMouseLeave), (r = this.contentWrapperEl) === null || r === void 0 || r.addEventListener("scroll", this.onScroll), n.addEventListener("resize", this.onWindowResize), !!this.contentEl) {
|
|
17081
|
+
if (window.ResizeObserver) {
|
|
17082
|
+
var s = !1, a = n.ResizeObserver || ResizeObserver;
|
|
17083
|
+
this.resizeObserver = new a(function() {
|
|
17084
|
+
!s || n.requestAnimationFrame(function() {
|
|
17085
|
+
t.recalculate();
|
|
17086
|
+
});
|
|
17087
|
+
}), this.resizeObserver.observe(this.el), this.resizeObserver.observe(this.contentEl), n.requestAnimationFrame(function() {
|
|
17088
|
+
s = !0;
|
|
17089
|
+
});
|
|
17090
|
+
}
|
|
17091
|
+
this.mutationObserver = new n.MutationObserver(function() {
|
|
17092
|
+
n.requestAnimationFrame(function() {
|
|
17093
|
+
t.recalculate();
|
|
17094
|
+
});
|
|
17095
|
+
}), this.mutationObserver.observe(this.contentEl, {
|
|
17096
|
+
childList: !0,
|
|
17097
|
+
subtree: !0,
|
|
17098
|
+
characterData: !0
|
|
17099
|
+
});
|
|
17100
|
+
}
|
|
17101
|
+
}, e.prototype.recalculate = function() {
|
|
17102
|
+
if (!(!this.heightAutoObserverEl || !this.contentEl || !this.contentWrapperEl || !this.wrapperEl || !this.placeholderEl)) {
|
|
17103
|
+
var t = Hn(this.el);
|
|
17104
|
+
this.elStyles = t.getComputedStyle(this.el), this.isRtl = this.elStyles.direction === "rtl";
|
|
17105
|
+
var r = this.contentEl.offsetWidth, n = this.heightAutoObserverEl.offsetHeight <= 1, s = this.heightAutoObserverEl.offsetWidth <= 1 || r > 0, a = this.contentWrapperEl.offsetWidth, l = this.elStyles.overflowX, u = this.elStyles.overflowY;
|
|
17106
|
+
this.contentEl.style.padding = "".concat(this.elStyles.paddingTop, " ").concat(this.elStyles.paddingRight, " ").concat(this.elStyles.paddingBottom, " ").concat(this.elStyles.paddingLeft), this.wrapperEl.style.margin = "-".concat(this.elStyles.paddingTop, " -").concat(this.elStyles.paddingRight, " -").concat(this.elStyles.paddingBottom, " -").concat(this.elStyles.paddingLeft);
|
|
17107
|
+
var g = this.contentEl.scrollHeight, d = this.contentEl.scrollWidth;
|
|
17108
|
+
this.contentWrapperEl.style.height = n ? "auto" : "100%", this.placeholderEl.style.width = s ? "".concat(r || d, "px") : "auto", this.placeholderEl.style.height = "".concat(g, "px");
|
|
17109
|
+
var p = this.contentWrapperEl.offsetHeight;
|
|
17110
|
+
this.axis.x.isOverflowing = r !== 0 && d > r, this.axis.y.isOverflowing = g > p, this.axis.x.isOverflowing = l === "hidden" ? !1 : this.axis.x.isOverflowing, this.axis.y.isOverflowing = u === "hidden" ? !1 : this.axis.y.isOverflowing, this.axis.x.forceVisible = this.options.forceVisible === "x" || this.options.forceVisible === !0, this.axis.y.forceVisible = this.options.forceVisible === "y" || this.options.forceVisible === !0, this.hideNativeScrollbar();
|
|
17111
|
+
var E = this.axis.x.isOverflowing ? this.scrollbarWidth : 0, h = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;
|
|
17112
|
+
this.axis.x.isOverflowing = this.axis.x.isOverflowing && d > a - h, this.axis.y.isOverflowing = this.axis.y.isOverflowing && g > p - E, this.axis.x.scrollbar.size = this.getScrollbarSize("x"), this.axis.y.scrollbar.size = this.getScrollbarSize("y"), this.axis.x.scrollbar.el && (this.axis.x.scrollbar.el.style.width = "".concat(this.axis.x.scrollbar.size, "px")), this.axis.y.scrollbar.el && (this.axis.y.scrollbar.el.style.height = "".concat(this.axis.y.scrollbar.size, "px")), this.positionScrollbar("x"), this.positionScrollbar("y"), this.toggleTrackVisibility("x"), this.toggleTrackVisibility("y");
|
|
17113
|
+
}
|
|
17114
|
+
}, e.prototype.getScrollbarSize = function(t) {
|
|
17115
|
+
var r, n;
|
|
17116
|
+
if (t === void 0 && (t = "y"), !this.axis[t].isOverflowing || !this.contentEl)
|
|
17117
|
+
return 0;
|
|
17118
|
+
var s = this.contentEl[this.axis[t].scrollSizeAttr], a = (n = (r = this.axis[t].track.el) === null || r === void 0 ? void 0 : r[this.axis[t].offsetSizeAttr]) !== null && n !== void 0 ? n : 0, l = a / s, u;
|
|
17119
|
+
return u = Math.max(~~(l * a), this.options.scrollbarMinSize), this.options.scrollbarMaxSize && (u = Math.min(u, this.options.scrollbarMaxSize)), u;
|
|
17120
|
+
}, e.prototype.positionScrollbar = function(t) {
|
|
17121
|
+
var r, n, s;
|
|
17122
|
+
t === void 0 && (t = "y");
|
|
17123
|
+
var a = this.axis[t].scrollbar;
|
|
17124
|
+
if (!(!this.axis[t].isOverflowing || !this.contentWrapperEl || !a.el || !this.elStyles)) {
|
|
17125
|
+
var l = this.contentWrapperEl[this.axis[t].scrollSizeAttr], u = ((r = this.axis[t].track.el) === null || r === void 0 ? void 0 : r[this.axis[t].offsetSizeAttr]) || 0, g = parseInt(this.elStyles[this.axis[t].sizeAttr], 10), d = this.contentWrapperEl[this.axis[t].scrollOffsetAttr];
|
|
17126
|
+
d = t === "x" && this.isRtl && ((n = e.getRtlHelpers()) === null || n === void 0 ? void 0 : n.isScrollOriginAtZero) ? -d : d, t === "x" && this.isRtl && (d = !((s = e.getRtlHelpers()) === null || s === void 0) && s.isScrollingToNegative ? d : -d);
|
|
17127
|
+
var p = d / (l - g), E = ~~((u - a.size) * p);
|
|
17128
|
+
E = t === "x" && this.isRtl ? -E + (u - a.size) : E, a.el.style.transform = t === "x" ? "translate3d(".concat(E, "px, 0, 0)") : "translate3d(0, ".concat(E, "px, 0)");
|
|
17129
|
+
}
|
|
17130
|
+
}, e.prototype.toggleTrackVisibility = function(t) {
|
|
17131
|
+
t === void 0 && (t = "y");
|
|
17132
|
+
var r = this.axis[t].track.el, n = this.axis[t].scrollbar.el;
|
|
17133
|
+
!r || !n || !this.contentWrapperEl || (this.axis[t].isOverflowing || this.axis[t].forceVisible ? (r.style.visibility = "visible", this.contentWrapperEl.style[this.axis[t].overflowAttr] = "scroll", this.el.classList.add("".concat(this.classNames.scrollable, "-").concat(t))) : (r.style.visibility = "hidden", this.contentWrapperEl.style[this.axis[t].overflowAttr] = "hidden", this.el.classList.remove("".concat(this.classNames.scrollable, "-").concat(t))), this.axis[t].isOverflowing ? n.style.display = "block" : n.style.display = "none");
|
|
17134
|
+
}, e.prototype.showScrollbar = function(t) {
|
|
17135
|
+
t === void 0 && (t = "y"), this.axis[t].isOverflowing && !this.axis[t].scrollbar.isVisible && (Vn(this.axis[t].scrollbar.el, this.classNames.visible), this.axis[t].scrollbar.isVisible = !0);
|
|
17136
|
+
}, e.prototype.hideScrollbar = function(t) {
|
|
17137
|
+
t === void 0 && (t = "y"), this.axis[t].isOverflowing && this.axis[t].scrollbar.isVisible && (zn(this.axis[t].scrollbar.el, this.classNames.visible), this.axis[t].scrollbar.isVisible = !1);
|
|
17138
|
+
}, e.prototype.hideNativeScrollbar = function() {
|
|
17139
|
+
!this.offsetEl || (this.offsetEl.style[this.isRtl ? "left" : "right"] = this.axis.y.isOverflowing || this.axis.y.forceVisible ? "-".concat(this.scrollbarWidth, "px") : "0px", this.offsetEl.style.bottom = this.axis.x.isOverflowing || this.axis.x.forceVisible ? "-".concat(this.scrollbarWidth, "px") : "0px");
|
|
17140
|
+
}, e.prototype.onMouseMoveForAxis = function(t) {
|
|
17141
|
+
t === void 0 && (t = "y");
|
|
17142
|
+
var r = this.axis[t];
|
|
17143
|
+
!r.track.el || !r.scrollbar.el || (r.track.rect = r.track.el.getBoundingClientRect(), r.scrollbar.rect = r.scrollbar.el.getBoundingClientRect(), this.isWithinBounds(r.track.rect) ? (this.showScrollbar(t), Vn(r.track.el, this.classNames.hover), this.isWithinBounds(r.scrollbar.rect) ? Vn(r.scrollbar.el, this.classNames.hover) : zn(r.scrollbar.el, this.classNames.hover)) : (zn(r.track.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(t)));
|
|
17144
|
+
}, e.prototype.onMouseLeaveForAxis = function(t) {
|
|
17145
|
+
t === void 0 && (t = "y"), zn(this.axis[t].track.el, this.classNames.hover), zn(this.axis[t].scrollbar.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(t);
|
|
17146
|
+
}, e.prototype.onDragStart = function(t, r) {
|
|
17147
|
+
var n;
|
|
17148
|
+
r === void 0 && (r = "y");
|
|
17149
|
+
var s = tu(this.el), a = Hn(this.el), l = this.axis[r].scrollbar, u = r === "y" ? t.pageY : t.pageX;
|
|
17150
|
+
this.axis[r].dragOffset = u - (((n = l.rect) === null || n === void 0 ? void 0 : n[this.axis[r].offsetAttr]) || 0), this.draggedAxis = r, Vn(this.el, this.classNames.dragging), s.addEventListener("mousemove", this.drag, !0), s.addEventListener("mouseup", this.onEndDrag, !0), this.removePreventClickId === null ? (s.addEventListener("click", this.preventClick, !0), s.addEventListener("dblclick", this.preventClick, !0)) : (a.clearTimeout(this.removePreventClickId), this.removePreventClickId = null);
|
|
17151
|
+
}, e.prototype.onTrackClick = function(t, r) {
|
|
17152
|
+
var n = this, s, a, l, u;
|
|
17153
|
+
r === void 0 && (r = "y");
|
|
17154
|
+
var g = this.axis[r];
|
|
17155
|
+
if (!(!this.options.clickOnTrack || !g.scrollbar.el || !this.contentWrapperEl)) {
|
|
17156
|
+
t.preventDefault();
|
|
17157
|
+
var d = Hn(this.el);
|
|
17158
|
+
this.axis[r].scrollbar.rect = g.scrollbar.el.getBoundingClientRect();
|
|
17159
|
+
var p = this.axis[r].scrollbar, E = (a = (s = p.rect) === null || s === void 0 ? void 0 : s[this.axis[r].offsetAttr]) !== null && a !== void 0 ? a : 0, h = parseInt((u = (l = this.elStyles) === null || l === void 0 ? void 0 : l[this.axis[r].sizeAttr]) !== null && u !== void 0 ? u : "0px", 10), I = this.contentWrapperEl[this.axis[r].scrollOffsetAttr], B = r === "y" ? this.mouseY - E : this.mouseX - E, Q = B < 0 ? -1 : 1, y = Q === -1 ? I - h : I + h, R = 40, O = function() {
|
|
17160
|
+
!n.contentWrapperEl || (Q === -1 ? I > y && (I -= R, n.contentWrapperEl[n.axis[r].scrollOffsetAttr] = I, d.requestAnimationFrame(O)) : I < y && (I += R, n.contentWrapperEl[n.axis[r].scrollOffsetAttr] = I, d.requestAnimationFrame(O)));
|
|
17161
|
+
};
|
|
17162
|
+
O();
|
|
17163
|
+
}
|
|
17164
|
+
}, e.prototype.getContentElement = function() {
|
|
17165
|
+
return this.contentEl;
|
|
17166
|
+
}, e.prototype.getScrollElement = function() {
|
|
17167
|
+
return this.contentWrapperEl;
|
|
17168
|
+
}, e.prototype.removeListeners = function() {
|
|
17169
|
+
var t = Hn(this.el);
|
|
17170
|
+
this.el.removeEventListener("mouseenter", this.onMouseEnter), this.el.removeEventListener("pointerdown", this.onPointerEvent, !0), this.el.removeEventListener("mousemove", this.onMouseMove), this.el.removeEventListener("mouseleave", this.onMouseLeave), this.contentWrapperEl && this.contentWrapperEl.removeEventListener("scroll", this.onScroll), t.removeEventListener("resize", this.onWindowResize), this.mutationObserver && this.mutationObserver.disconnect(), this.resizeObserver && this.resizeObserver.disconnect(), this.onMouseMove.cancel(), this.onWindowResize.cancel(), this.onStopScrolling.cancel(), this.onMouseEntered.cancel();
|
|
17171
|
+
}, e.prototype.unMount = function() {
|
|
17172
|
+
this.removeListeners();
|
|
17173
|
+
}, e.prototype.isWithinBounds = function(t) {
|
|
17174
|
+
return this.mouseX >= t.left && this.mouseX <= t.left + t.width && this.mouseY >= t.top && this.mouseY <= t.top + t.height;
|
|
17175
|
+
}, e.prototype.findChild = function(t, r) {
|
|
17176
|
+
var n = t.matches || t.webkitMatchesSelector || t.mozMatchesSelector || t.msMatchesSelector;
|
|
17177
|
+
return Array.prototype.filter.call(t.children, function(s) {
|
|
17178
|
+
return n.call(s, r);
|
|
17179
|
+
})[0];
|
|
17180
|
+
}, e.rtlHelpers = null, e.defaultOptions = {
|
|
17181
|
+
forceVisible: !1,
|
|
17182
|
+
clickOnTrack: !0,
|
|
17183
|
+
scrollbarMinSize: 25,
|
|
17184
|
+
scrollbarMaxSize: 0,
|
|
17185
|
+
ariaLabel: "scrollable content",
|
|
17186
|
+
classNames: {
|
|
17187
|
+
contentEl: "simplebar-content",
|
|
17188
|
+
contentWrapper: "simplebar-content-wrapper",
|
|
17189
|
+
offset: "simplebar-offset",
|
|
17190
|
+
mask: "simplebar-mask",
|
|
17191
|
+
wrapper: "simplebar-wrapper",
|
|
17192
|
+
placeholder: "simplebar-placeholder",
|
|
17193
|
+
scrollbar: "simplebar-scrollbar",
|
|
17194
|
+
track: "simplebar-track",
|
|
17195
|
+
heightAutoObserverWrapperEl: "simplebar-height-auto-observer-wrapper",
|
|
17196
|
+
heightAutoObserverEl: "simplebar-height-auto-observer",
|
|
17197
|
+
visible: "simplebar-visible",
|
|
17198
|
+
horizontal: "simplebar-horizontal",
|
|
17199
|
+
vertical: "simplebar-vertical",
|
|
17200
|
+
hover: "simplebar-hover",
|
|
17201
|
+
dragging: "simplebar-dragging",
|
|
17202
|
+
scrolling: "simplebar-scrolling",
|
|
17203
|
+
scrollable: "simplebar-scrollable",
|
|
17204
|
+
mouseEntered: "simplebar-mouse-entered"
|
|
17205
|
+
},
|
|
17206
|
+
scrollableNode: null,
|
|
17207
|
+
contentNode: null,
|
|
17208
|
+
autoHide: !0
|
|
17209
|
+
}, e.getOptions = U5, e.helpers = W5, e;
|
|
17210
|
+
}(), vr = function() {
|
|
17211
|
+
return vr = Object.assign || function(t) {
|
|
17212
|
+
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
17213
|
+
r = arguments[n];
|
|
17214
|
+
for (var a in r)
|
|
17215
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
17216
|
+
}
|
|
17217
|
+
return t;
|
|
17218
|
+
}, vr.apply(this, arguments);
|
|
17052
17219
|
};
|
|
17053
|
-
function
|
|
17054
|
-
var
|
|
17055
|
-
|
|
17056
|
-
|
|
17057
|
-
|
|
17058
|
-
|
|
17059
|
-
|
|
17060
|
-
|
|
17061
|
-
isChromium: h0(n),
|
|
17062
|
-
isMobile: $m(r) || rn(),
|
|
17063
|
-
isMobileOnly: Xm(r),
|
|
17064
|
-
isTablet: Zm(r) || rn(),
|
|
17065
|
-
isBrowser: Il(r),
|
|
17066
|
-
isDesktop: Il(r),
|
|
17067
|
-
isAndroid: a0(s),
|
|
17068
|
-
isWinPhone: c0(s),
|
|
17069
|
-
isIOS: u0(s) || rn(),
|
|
17070
|
-
isChrome: f0(n),
|
|
17071
|
-
isFirefox: p0(n),
|
|
17072
|
-
isSafari: C0(n),
|
|
17073
|
-
isOpera: B0(n),
|
|
17074
|
-
isIE: m0(n),
|
|
17075
|
-
osVersion: g0(s),
|
|
17076
|
-
osName: d0(s),
|
|
17077
|
-
fullBrowserVersion: v0(n),
|
|
17078
|
-
browserVersion: b0(n),
|
|
17079
|
-
browserName: x0(n),
|
|
17080
|
-
mobileVendor: o0(r),
|
|
17081
|
-
mobileModel: i0(r),
|
|
17082
|
-
engineName: w0(a),
|
|
17083
|
-
engineVersion: T0(a),
|
|
17084
|
-
getUA: D0(l),
|
|
17085
|
-
isEdge: Bl(n) || Qi(l),
|
|
17086
|
-
isYandex: E0(n),
|
|
17087
|
-
deviceType: s0(r),
|
|
17088
|
-
isIOS13: R0(),
|
|
17089
|
-
isIPad13: rn(),
|
|
17090
|
-
isIPhone13: S0(),
|
|
17091
|
-
isIPod13: O0(),
|
|
17092
|
-
isElectron: P0(),
|
|
17093
|
-
isEdgeChromium: Qi(l),
|
|
17094
|
-
isLegacyEdge: Bl(n) && !Qi(l),
|
|
17095
|
-
isWindows: l0(s),
|
|
17096
|
-
isMacOs: A0(s),
|
|
17097
|
-
isMIUI: Q0(n),
|
|
17098
|
-
isSamsungBrowser: y0(n)
|
|
17099
|
-
};
|
|
17220
|
+
function Y5(e, t) {
|
|
17221
|
+
var r = {};
|
|
17222
|
+
for (var n in e)
|
|
17223
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
17224
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
17225
|
+
for (var s = 0, n = Object.getOwnPropertySymbols(e); s < n.length; s++)
|
|
17226
|
+
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
17227
|
+
return r;
|
|
17100
17228
|
}
|
|
17101
|
-
var
|
|
17102
|
-
|
|
17103
|
-
|
|
17104
|
-
|
|
17105
|
-
}
|
|
17106
|
-
var r = Hs(t), n = r.device, s = r.browser, a = r.os, l = r.engine, u = r.ua;
|
|
17107
|
-
return M0({
|
|
17108
|
-
device: n,
|
|
17109
|
-
browser: s,
|
|
17110
|
-
os: a,
|
|
17111
|
-
engine: l,
|
|
17112
|
-
ua: u
|
|
17229
|
+
var Y0 = Y.forwardRef(function(e, t) {
|
|
17230
|
+
var r = e.children, n = e.scrollableNodeProps, s = n === void 0 ? {} : n, a = Y5(e, ["children", "scrollableNodeProps"]), l = Y.useRef(), u = Y.useRef(), g = Y.useRef(), d = {}, p = {};
|
|
17231
|
+
Object.keys(a).forEach(function(I) {
|
|
17232
|
+
Object.prototype.hasOwnProperty.call(ja.defaultOptions, I) ? d[I] = a[I] : p[I] = a[I];
|
|
17113
17233
|
});
|
|
17114
|
-
},
|
|
17115
|
-
|
|
17116
|
-
|
|
17117
|
-
|
|
17118
|
-
|
|
17119
|
-
|
|
17120
|
-
|
|
17121
|
-
|
|
17122
|
-
|
|
17123
|
-
|
|
17124
|
-
|
|
17125
|
-
|
|
17126
|
-
},
|
|
17127
|
-
|
|
17128
|
-
return rA ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
17129
|
-
}, M5 = function(t) {
|
|
17130
|
-
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
17131
|
-
return j0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
17132
|
-
}, k5 = function(t) {
|
|
17133
|
-
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
17134
|
-
return z0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
17135
|
-
}, F5 = function(t) {
|
|
17136
|
-
var r = t.renderWithFragment, n = t.children;
|
|
17137
|
-
t.viewClassName, t.style;
|
|
17138
|
-
var s = Wr(t, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
17139
|
-
return L0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
17140
|
-
}, N5 = function(t) {
|
|
17141
|
-
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
17142
|
-
return k0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
17143
|
-
}, L5 = function(t) {
|
|
17144
|
-
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
17145
|
-
return F0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
17146
|
-
}, j5 = function(t) {
|
|
17147
|
-
var r = t.renderWithFragment, n = t.children, s = Wr(t, ["renderWithFragment", "children"]);
|
|
17148
|
-
return N0 ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", s, n) : null;
|
|
17149
|
-
}, H5 = function(t) {
|
|
17150
|
-
var r = t.renderWithFragment, n = t.children;
|
|
17151
|
-
t.viewClassName, t.style;
|
|
17152
|
-
var s = t.condition, a = Wr(t, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
17153
|
-
return s ? r ? gt.createElement(qt.Fragment, null, n) : gt.createElement("div", a, n) : null;
|
|
17154
|
-
};
|
|
17155
|
-
function V5(e) {
|
|
17156
|
-
return /* @__PURE__ */ function(t) {
|
|
17157
|
-
D3(r, t);
|
|
17158
|
-
function r(n) {
|
|
17159
|
-
var s;
|
|
17160
|
-
return R3(this, r), s = k3(this, Uu(r).call(this, n)), s.isEventListenerAdded = !1, s.handleOrientationChange = s.handleOrientationChange.bind(Xa(s)), s.onOrientationChange = s.onOrientationChange.bind(Xa(s)), s.onPageLoad = s.onPageLoad.bind(Xa(s)), s.state = {
|
|
17161
|
-
isLandscape: !1,
|
|
17162
|
-
isPortrait: !1
|
|
17163
|
-
}, s;
|
|
17164
|
-
}
|
|
17165
|
-
return S3(r, [{
|
|
17166
|
-
key: "handleOrientationChange",
|
|
17167
|
-
value: function() {
|
|
17168
|
-
this.isEventListenerAdded || (this.isEventListenerAdded = !0);
|
|
17169
|
-
var s = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
17170
|
-
this.setState({
|
|
17171
|
-
isPortrait: s === 0,
|
|
17172
|
-
isLandscape: s === 90
|
|
17173
|
-
});
|
|
17174
|
-
}
|
|
17175
|
-
}, {
|
|
17176
|
-
key: "onOrientationChange",
|
|
17177
|
-
value: function() {
|
|
17178
|
-
this.handleOrientationChange();
|
|
17179
|
-
}
|
|
17180
|
-
}, {
|
|
17181
|
-
key: "onPageLoad",
|
|
17182
|
-
value: function() {
|
|
17183
|
-
this.handleOrientationChange();
|
|
17184
|
-
}
|
|
17185
|
-
}, {
|
|
17186
|
-
key: "componentDidMount",
|
|
17187
|
-
value: function() {
|
|
17188
|
-
(typeof window > "u" ? "undefined" : Cs(window)) !== void 0 && rA && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
|
|
17189
|
-
}
|
|
17190
|
-
}, {
|
|
17191
|
-
key: "componentWillUnmount",
|
|
17192
|
-
value: function() {
|
|
17193
|
-
window.removeEventListener("resize", this.onOrientationChange, !1);
|
|
17194
|
-
}
|
|
17195
|
-
}, {
|
|
17196
|
-
key: "render",
|
|
17197
|
-
value: function() {
|
|
17198
|
-
return gt.createElement(e, Wu({}, this.props, {
|
|
17199
|
-
isLandscape: this.state.isLandscape,
|
|
17200
|
-
isPortrait: this.state.isPortrait
|
|
17201
|
-
}));
|
|
17202
|
-
}
|
|
17203
|
-
}]), r;
|
|
17204
|
-
}(gt.Component);
|
|
17205
|
-
}
|
|
17206
|
-
function z5() {
|
|
17207
|
-
var e = qt.useState(function() {
|
|
17208
|
-
var a = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
17209
|
-
return {
|
|
17210
|
-
isPortrait: a === 0,
|
|
17211
|
-
isLandscape: a === 90,
|
|
17212
|
-
orientation: a === 0 ? "portrait" : "landscape"
|
|
17213
|
-
};
|
|
17214
|
-
}), t = F3(e, 2), r = t[0], n = t[1], s = qt.useCallback(function() {
|
|
17215
|
-
var a = window.innerWidth > window.innerHeight ? 90 : 0, l = {
|
|
17216
|
-
isPortrait: a === 0,
|
|
17217
|
-
isLandscape: a === 90,
|
|
17218
|
-
orientation: a === 0 ? "portrait" : "landscape"
|
|
17219
|
-
};
|
|
17220
|
-
r.orientation !== l.orientation && n(l);
|
|
17221
|
-
}, [r.orientation]);
|
|
17222
|
-
return qt.useEffect(function() {
|
|
17223
|
-
return (typeof window > "u" ? "undefined" : Cs(window)) !== void 0 && rA && (s(), window.addEventListener("load", s, !1), window.addEventListener("resize", s, !1)), function() {
|
|
17224
|
-
window.removeEventListener("resize", s, !1), window.removeEventListener("load", s, !1);
|
|
17234
|
+
var E = vr(vr({}, ja.defaultOptions.classNames), d.classNames), h = vr(vr({}, s), {
|
|
17235
|
+
className: "".concat(E.contentWrapper).concat(s.className ? " ".concat(s.className) : ""),
|
|
17236
|
+
tabIndex: 0,
|
|
17237
|
+
role: "region",
|
|
17238
|
+
"aria-label": d.ariaLabel || ja.defaultOptions.ariaLabel
|
|
17239
|
+
});
|
|
17240
|
+
return Y.useEffect(function() {
|
|
17241
|
+
var I;
|
|
17242
|
+
return u.current = h.ref ? h.ref.current : u.current, l.current && (I = new ja(l.current, vr(vr(vr({}, d), u.current && {
|
|
17243
|
+
scrollableNode: u.current
|
|
17244
|
+
}), g.current && {
|
|
17245
|
+
contentNode: g.current
|
|
17246
|
+
})), typeof t == "function" ? t(I) : t && (t.current = I)), function() {
|
|
17247
|
+
I == null || I.unMount(), I = null, typeof t == "function" && t(null);
|
|
17225
17248
|
};
|
|
17226
|
-
}, [
|
|
17227
|
-
|
|
17228
|
-
|
|
17229
|
-
|
|
17230
|
-
|
|
17231
|
-
|
|
17232
|
-
|
|
17233
|
-
|
|
17234
|
-
|
|
17235
|
-
|
|
17236
|
-
|
|
17237
|
-
|
|
17238
|
-
|
|
17239
|
-
|
|
17240
|
-
|
|
17241
|
-
|
|
17242
|
-
|
|
17243
|
-
|
|
17244
|
-
|
|
17245
|
-
|
|
17246
|
-
|
|
17247
|
-
|
|
17248
|
-
|
|
17249
|
-
|
|
17250
|
-
|
|
17251
|
-
|
|
17252
|
-
|
|
17253
|
-
|
|
17254
|
-
|
|
17255
|
-
|
|
17256
|
-
|
|
17257
|
-
|
|
17258
|
-
|
|
17259
|
-
|
|
17260
|
-
|
|
17261
|
-
|
|
17262
|
-
|
|
17263
|
-
|
|
17264
|
-
|
|
17265
|
-
|
|
17266
|
-
|
|
17267
|
-
|
|
17268
|
-
|
|
17269
|
-
|
|
17270
|
-
|
|
17271
|
-
|
|
17272
|
-
|
|
17273
|
-
|
|
17274
|
-
|
|
17275
|
-
|
|
17276
|
-
|
|
17277
|
-
|
|
17278
|
-
pe.isMacOs = b5;
|
|
17279
|
-
pe.isMobile = rA;
|
|
17280
|
-
pe.isMobileOnly = L0;
|
|
17281
|
-
pe.isMobileSafari = X3;
|
|
17282
|
-
pe.isOpera = n5;
|
|
17283
|
-
pe.isSafari = r5;
|
|
17284
|
-
pe.isSamsungBrowser = w5;
|
|
17285
|
-
pe.isSmartTV = k0;
|
|
17286
|
-
pe.isTablet = j0;
|
|
17287
|
-
pe.isWearable = N0;
|
|
17288
|
-
pe.isWinPhone = z0;
|
|
17289
|
-
pe.isWindows = v5;
|
|
17290
|
-
pe.isYandex = p5;
|
|
17291
|
-
pe.mobileModel = c5;
|
|
17292
|
-
pe.mobileVendor = A5;
|
|
17293
|
-
pe.osName = i5;
|
|
17294
|
-
pe.osVersion = o5;
|
|
17295
|
-
pe.parseUserAgent = Hs;
|
|
17296
|
-
pe.setUserAgent = W3;
|
|
17297
|
-
pe.useDeviceData = Y0;
|
|
17298
|
-
pe.useDeviceSelectors = W5;
|
|
17299
|
-
pe.useMobileOrientation = z5;
|
|
17300
|
-
pe.withOrientationChange = V5;
|
|
17301
|
-
const G5 = ie(U5)({
|
|
17249
|
+
}, []), /* @__PURE__ */ oe("div", {
|
|
17250
|
+
...vr({
|
|
17251
|
+
"data-simplebar": "init",
|
|
17252
|
+
ref: l
|
|
17253
|
+
}, p),
|
|
17254
|
+
children: [/* @__PURE__ */ oe("div", {
|
|
17255
|
+
className: E.wrapper,
|
|
17256
|
+
children: [/* @__PURE__ */ C("div", {
|
|
17257
|
+
className: E.heightAutoObserverWrapperEl,
|
|
17258
|
+
children: /* @__PURE__ */ C("div", {
|
|
17259
|
+
className: E.heightAutoObserverEl
|
|
17260
|
+
})
|
|
17261
|
+
}), /* @__PURE__ */ C("div", {
|
|
17262
|
+
className: E.mask,
|
|
17263
|
+
children: /* @__PURE__ */ C("div", {
|
|
17264
|
+
className: E.offset,
|
|
17265
|
+
children: typeof r == "function" ? r({
|
|
17266
|
+
scrollableNodeRef: u,
|
|
17267
|
+
scrollableNodeProps: vr(vr({}, h), {
|
|
17268
|
+
ref: u
|
|
17269
|
+
}),
|
|
17270
|
+
contentNodeRef: g,
|
|
17271
|
+
contentNodeProps: {
|
|
17272
|
+
className: E.contentEl,
|
|
17273
|
+
ref: g
|
|
17274
|
+
}
|
|
17275
|
+
}) : /* @__PURE__ */ C("div", {
|
|
17276
|
+
...vr({}, h),
|
|
17277
|
+
children: /* @__PURE__ */ C("div", {
|
|
17278
|
+
className: E.contentEl,
|
|
17279
|
+
children: r
|
|
17280
|
+
})
|
|
17281
|
+
})
|
|
17282
|
+
})
|
|
17283
|
+
}), /* @__PURE__ */ C("div", {
|
|
17284
|
+
className: E.placeholder
|
|
17285
|
+
})]
|
|
17286
|
+
}), /* @__PURE__ */ C("div", {
|
|
17287
|
+
className: "".concat(E.track, " simplebar-horizontal"),
|
|
17288
|
+
children: /* @__PURE__ */ C("div", {
|
|
17289
|
+
className: E.scrollbar
|
|
17290
|
+
})
|
|
17291
|
+
}), /* @__PURE__ */ C("div", {
|
|
17292
|
+
className: "".concat(E.track, " simplebar-vertical"),
|
|
17293
|
+
children: /* @__PURE__ */ C("div", {
|
|
17294
|
+
className: E.scrollbar
|
|
17295
|
+
})
|
|
17296
|
+
})]
|
|
17297
|
+
});
|
|
17298
|
+
});
|
|
17299
|
+
Y0.displayName = "SimpleBar";
|
|
17300
|
+
const G5 = ie(A5)({
|
|
17302
17301
|
flexGrow: 1,
|
|
17303
17302
|
height: "100%",
|
|
17304
17303
|
overflow: "hidden"
|
|
17305
|
-
}), K5 = ie(
|
|
17304
|
+
}), K5 = ie(Y0)(({
|
|
17306
17305
|
theme: e
|
|
17307
17306
|
}) => ({
|
|
17308
17307
|
maxHeight: "100%",
|
|
@@ -17338,7 +17337,7 @@ function G0({
|
|
|
17338
17337
|
...r,
|
|
17339
17338
|
children: e
|
|
17340
17339
|
})
|
|
17341
|
-
}), /* @__PURE__ */ C(
|
|
17340
|
+
}), /* @__PURE__ */ C(c5, {
|
|
17342
17341
|
children: /* @__PURE__ */ C(Me, {
|
|
17343
17342
|
sx: {
|
|
17344
17343
|
overflowX: "auto",
|
|
@@ -19658,7 +19657,7 @@ const q8 = pQ, J8 = ie("div")(({
|
|
|
19658
19657
|
children: /* @__PURE__ */ C(q8, {
|
|
19659
19658
|
color: "primary"
|
|
19660
19659
|
})
|
|
19661
|
-
}),
|
|
19660
|
+
}), f9 = (e) => (t) => /* @__PURE__ */ C(ER, {
|
|
19662
19661
|
fallback: /* @__PURE__ */ C(_8, {}),
|
|
19663
19662
|
children: /* @__PURE__ */ C(e, {
|
|
19664
19663
|
...t
|
|
@@ -19707,7 +19706,7 @@ const X8 = ie(qP, {})(({
|
|
|
19707
19706
|
EQ.propTypes = {
|
|
19708
19707
|
children: A.exports.node
|
|
19709
19708
|
};
|
|
19710
|
-
const
|
|
19709
|
+
const p9 = ie("div")({
|
|
19711
19710
|
width: "100%",
|
|
19712
19711
|
overflowX: "auto",
|
|
19713
19712
|
display: "block"
|
|
@@ -19861,7 +19860,7 @@ od.defaultProps = {
|
|
|
19861
19860
|
...To.defaultProps
|
|
19862
19861
|
};
|
|
19863
19862
|
od.Section = nd;
|
|
19864
|
-
const
|
|
19863
|
+
const h9 = ie(JP, {
|
|
19865
19864
|
name: "RaApplicaEdit",
|
|
19866
19865
|
slot: "root"
|
|
19867
19866
|
})(({
|
|
@@ -21791,7 +21790,7 @@ ZQ.defaultProps = {
|
|
|
21791
21790
|
const lz = ie(cR, {
|
|
21792
21791
|
name: "RaApplicaSearchInput",
|
|
21793
21792
|
slot: "root"
|
|
21794
|
-
})(() => ({})),
|
|
21793
|
+
})(() => ({})), E9 = (e) => /* @__PURE__ */ C(lz, {
|
|
21795
21794
|
...e
|
|
21796
21795
|
}), $Q = ie(ig, {
|
|
21797
21796
|
name: "RaApplicaSelectArrayInput",
|
|
@@ -21888,7 +21887,7 @@ const uz = (e) => {
|
|
|
21888
21887
|
const t = e.split(":");
|
|
21889
21888
|
return t.length === 1 && t.push("00"), xn().hour(t[0]).minute(t[1]);
|
|
21890
21889
|
};
|
|
21891
|
-
function
|
|
21890
|
+
function C9() {
|
|
21892
21891
|
var e = new Date().getTime();
|
|
21893
21892
|
window.performance && typeof window.performance.now == "function" && (e += performance.now());
|
|
21894
21893
|
var t = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(r) {
|
|
@@ -21924,7 +21923,7 @@ ty.propTypes = {
|
|
|
21924
21923
|
...ag.propTypes,
|
|
21925
21924
|
...lt.propTypes
|
|
21926
21925
|
};
|
|
21927
|
-
const
|
|
21926
|
+
const I9 = ie(qC, {
|
|
21928
21927
|
name: "RaApplicaDatagrid",
|
|
21929
21928
|
slot: "root"
|
|
21930
21929
|
})(() => ({
|
|
@@ -22172,7 +22171,7 @@ const Iz = () => {
|
|
|
22172
22171
|
})
|
|
22173
22172
|
})]
|
|
22174
22173
|
});
|
|
22175
|
-
},
|
|
22174
|
+
}, B9 = ({
|
|
22176
22175
|
...e
|
|
22177
22176
|
}) => {
|
|
22178
22177
|
const t = DR(), {
|
|
@@ -25929,43 +25928,43 @@ export {
|
|
|
25929
25928
|
FI as AppConfigContext,
|
|
25930
25929
|
NI as AppConfigProvider,
|
|
25931
25930
|
Ay as ApplicaAdmin,
|
|
25932
|
-
|
|
25933
|
-
|
|
25931
|
+
y9 as ArrayInput,
|
|
25932
|
+
v9 as ArrayInputContext,
|
|
25934
25933
|
DQ as AttachmentField,
|
|
25935
25934
|
UQ as AttachmentInput,
|
|
25936
25935
|
ez as AutocompleteArrayInput,
|
|
25937
25936
|
rz as AutocompleteInput,
|
|
25938
25937
|
Vu as Avatar,
|
|
25939
|
-
|
|
25938
|
+
b9 as BooleanField,
|
|
25940
25939
|
YQ as BooleanInput,
|
|
25941
25940
|
Rg as Breadcrumbs,
|
|
25942
|
-
|
|
25943
|
-
|
|
25941
|
+
x9 as BulkDeleteWithConfirmButton,
|
|
25942
|
+
w9 as Button,
|
|
25944
25943
|
od as CardForm,
|
|
25945
|
-
|
|
25944
|
+
T9 as ChipField,
|
|
25946
25945
|
VL as CircularWithLabel,
|
|
25947
25946
|
zL as CircularWithPath,
|
|
25948
|
-
|
|
25947
|
+
P9 as Confirm,
|
|
25949
25948
|
fd as CoverField,
|
|
25950
|
-
|
|
25951
|
-
|
|
25952
|
-
|
|
25949
|
+
R9 as Create,
|
|
25950
|
+
S9 as CreateButton,
|
|
25951
|
+
O9 as CreateContextProvider,
|
|
25953
25952
|
QQ as CreateInDialogButton,
|
|
25954
|
-
|
|
25953
|
+
I9 as Datagrid,
|
|
25955
25954
|
pd as DateAgoField,
|
|
25956
25955
|
FQ as DateField,
|
|
25957
25956
|
GQ as DateInput,
|
|
25958
|
-
|
|
25959
|
-
|
|
25957
|
+
D9 as DeleteWithConfirmButton,
|
|
25958
|
+
M9 as DeleteWithUndoButton,
|
|
25960
25959
|
Xg as Dot,
|
|
25961
|
-
|
|
25962
|
-
|
|
25960
|
+
h9 as Edit,
|
|
25961
|
+
k9 as EditButton,
|
|
25963
25962
|
vQ as EditInDialogButton,
|
|
25964
25963
|
LQ as EmailField,
|
|
25965
25964
|
hz as Empty,
|
|
25966
25965
|
jQ as FileField,
|
|
25967
25966
|
KQ as FileInput,
|
|
25968
|
-
|
|
25967
|
+
F9 as Form,
|
|
25969
25968
|
IQ as FormHeader,
|
|
25970
25969
|
qV as FunctionField,
|
|
25971
25970
|
Do as IconButton,
|
|
@@ -25977,8 +25976,8 @@ export {
|
|
|
25977
25976
|
WL as LinearWithIcon,
|
|
25978
25977
|
UL as LinearWithLabel,
|
|
25979
25978
|
ry as List,
|
|
25980
|
-
|
|
25981
|
-
|
|
25979
|
+
N9 as ListToolbar,
|
|
25980
|
+
f9 as Loadable,
|
|
25982
25981
|
_8 as Loader,
|
|
25983
25982
|
km as LoadingButton,
|
|
25984
25983
|
q0 as Logo,
|
|
@@ -25990,32 +25989,32 @@ export {
|
|
|
25990
25989
|
bg as MenuPopover,
|
|
25991
25990
|
Qs as MenuPropTypes,
|
|
25992
25991
|
X8 as Notification,
|
|
25993
|
-
|
|
25992
|
+
B9 as NotificationList,
|
|
25994
25993
|
JQ as NumberInput,
|
|
25995
|
-
|
|
25994
|
+
L9 as Pagination,
|
|
25996
25995
|
VQ as ReadonlyField,
|
|
25997
|
-
|
|
25996
|
+
j9 as RecordContextProvider,
|
|
25998
25997
|
az as RecordInput,
|
|
25999
|
-
|
|
25998
|
+
H9 as ReferenceArrayField,
|
|
26000
25999
|
_Q as ReferenceArrayInput,
|
|
26001
|
-
|
|
26000
|
+
V9 as ReferenceField,
|
|
26002
26001
|
XQ as ReferenceInput,
|
|
26003
26002
|
Vs as ReferenceManyField,
|
|
26004
26003
|
ZQ as ReferenceManyInput,
|
|
26005
|
-
|
|
26006
|
-
|
|
26007
|
-
|
|
26004
|
+
z9 as Resource,
|
|
26005
|
+
W9 as ResourceContextProvider,
|
|
26006
|
+
U9 as SaveButton,
|
|
26008
26007
|
EQ as ScrollTop,
|
|
26009
|
-
|
|
26010
|
-
|
|
26008
|
+
p9 as ScrollX,
|
|
26009
|
+
E9 as SearchInput,
|
|
26011
26010
|
ey as SelectArrayInput,
|
|
26012
26011
|
cz as SelectInput,
|
|
26013
26012
|
G0 as SimpleBar,
|
|
26014
26013
|
mQ as SimpleForm,
|
|
26015
|
-
|
|
26016
|
-
|
|
26017
|
-
|
|
26018
|
-
|
|
26014
|
+
Y9 as SimpleFormIterator,
|
|
26015
|
+
G9 as SimpleFormIteratorContext,
|
|
26016
|
+
K9 as SimpleList,
|
|
26017
|
+
q9 as SingleFieldList,
|
|
26019
26018
|
XV as SizeField,
|
|
26020
26019
|
CQ as SmallIcon,
|
|
26021
26020
|
Ed as SmartTextInput,
|
|
@@ -26027,43 +26026,43 @@ export {
|
|
|
26027
26026
|
ty as TimeInput,
|
|
26028
26027
|
Lo as Toolbar,
|
|
26029
26028
|
HL as Tooltip,
|
|
26030
|
-
|
|
26029
|
+
J9 as TopToolbar,
|
|
26031
26030
|
Mo as Transitions,
|
|
26032
|
-
|
|
26033
|
-
|
|
26034
|
-
|
|
26035
|
-
|
|
26036
|
-
|
|
26037
|
-
|
|
26038
|
-
|
|
26031
|
+
_9 as choices,
|
|
26032
|
+
X9 as email,
|
|
26033
|
+
Z9 as maxLength,
|
|
26034
|
+
$9 as maxValue,
|
|
26035
|
+
eU as minLength,
|
|
26036
|
+
tU as minValue,
|
|
26037
|
+
rU as number,
|
|
26039
26038
|
uz as parseTime,
|
|
26040
|
-
|
|
26041
|
-
|
|
26039
|
+
nU as regex,
|
|
26040
|
+
oU as required,
|
|
26042
26041
|
Yl as useAppConfig,
|
|
26043
|
-
|
|
26044
|
-
|
|
26042
|
+
iU as useArrayInput,
|
|
26043
|
+
sU as useAuthProvider,
|
|
26045
26044
|
fM as useBreadcrumbs,
|
|
26046
|
-
|
|
26047
|
-
|
|
26048
|
-
|
|
26049
|
-
|
|
26050
|
-
|
|
26051
|
-
|
|
26052
|
-
|
|
26045
|
+
aU as useDataProvider,
|
|
26046
|
+
lU as useGetIdentity,
|
|
26047
|
+
AU as useGetList,
|
|
26048
|
+
cU as useGetMany,
|
|
26049
|
+
uU as useGetManyReference,
|
|
26050
|
+
gU as useGetOne,
|
|
26051
|
+
dU as useListContext,
|
|
26053
26052
|
JI as useLocalStorage,
|
|
26054
26053
|
qI as useMenu,
|
|
26055
26054
|
sn as useMenuConfig,
|
|
26056
|
-
|
|
26057
|
-
|
|
26058
|
-
|
|
26059
|
-
|
|
26060
|
-
|
|
26061
|
-
|
|
26055
|
+
fU as useNotify,
|
|
26056
|
+
pU as usePermissions,
|
|
26057
|
+
hU as useRecordContext,
|
|
26058
|
+
EU as useResourceContext,
|
|
26059
|
+
CU as useResourceDefinition,
|
|
26060
|
+
IU as useResourceDefinitions,
|
|
26062
26061
|
pM as useResourceTitle,
|
|
26063
26062
|
Xt as useThemeConfig,
|
|
26064
|
-
|
|
26065
|
-
|
|
26066
|
-
|
|
26067
|
-
|
|
26068
|
-
|
|
26063
|
+
BU as useTranslate,
|
|
26064
|
+
mU as useUnselect,
|
|
26065
|
+
QU as useUnselectAll,
|
|
26066
|
+
yU as useUpdateMany,
|
|
26067
|
+
C9 as uuid
|
|
26069
26068
|
};
|