infinity-forge 0.0.9 → 0.1.0
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/sites/components/counter/component.d.ts +2 -0
- package/dist/sites/components/counter/component.js +28 -0
- package/dist/sites/components/counter/index.d.ts +1 -0
- package/dist/sites/components/counter/index.js +18 -0
- package/dist/sites/components/counter/interfaces.d.ts +12 -0
- package/dist/sites/components/counter/versions/version-01/box/index.d.ts +2 -0
- package/dist/sites/components/counter/versions/version-01/box/index.js +38 -0
- package/dist/sites/components/head/component.d.ts +2 -0
- package/dist/sites/components/head/index.d.ts +2 -0
- package/dist/sites/components/head/index.js +19 -0
- package/dist/sites/components/mvv/component.d.ts +2 -0
- package/dist/sites/components/mvv/component.js +28 -0
- package/dist/sites/components/mvv/index.d.ts +1 -0
- package/dist/sites/components/mvv/index.js +18 -0
- package/dist/sites/components/mvv/interfaces.d.ts +8 -0
- package/dist/sites/components/mvv/versions/index.d.ts +1 -0
- package/dist/sites/components/mvv/versions/index.js +18 -0
- package/dist/sites/components/mvv/versions/version-01/component.d.ts +2 -0
- package/dist/sites/components/mvv/versions/version-01/component.js +35 -0
- package/dist/sites/context/configs/context.d.ts +6 -0
- package/dist/sites/context/configs/context.js +21 -0
- package/dist/sites/context/configs/index.d.ts +2 -0
- package/dist/sites/context/configs/index.js +19 -0
- package/dist/sites/context/configs/scripts/acept-cookies/index.js +70 -0
- package/dist/sites/context/configs/scripts/acept-ratedr/index.js +68 -0
- package/dist/sites/context/configs/scripts/component.d.ts +2 -0
- package/dist/sites/context/configs/scripts/component.js +42 -0
- package/dist/sites/context/configs/scripts/index.d.ts +5 -0
- package/dist/sites/context/configs/scripts/index.js +22 -0
- package/dist/sites/context/configs/scripts/interfaces.d.ts +6 -0
- package/dist/sites/context/configs/scripts/whatsapp-fixed/index.js +38 -0
- package/dist/sites/context/index.d.ts +1 -0
- package/dist/sites/context/index.js +18 -0
- package/dist/ui/components/breadcrumb/index.d.ts +2 -0
- package/dist/ui/components/breadcrumb/index.js +68 -0
- package/dist/ui/components/button/component.d.ts +2 -0
- package/dist/ui/components/button/component.js +62 -0
- package/dist/ui/components/button/index.d.ts +2 -0
- package/dist/ui/components/button/index.js +19 -0
- package/dist/ui/components/button/interfaces.d.ts +10 -0
- package/dist/ui/components/container/index.d.ts +2 -0
- package/dist/ui/components/error-boundary/component.d.ts +2 -0
- package/dist/ui/components/error-boundary/component.js +12 -0
- package/dist/ui/components/error-boundary/error-body.d.ts +2 -0
- package/dist/ui/components/error-boundary/index.d.ts +2 -0
- package/dist/ui/components/error-boundary/index.js +19 -0
- package/dist/ui/components/form/checkbox/index.js +2 -2
- package/dist/ui/components/form/handler/custom-submit/index.d.ts +1 -1
- package/dist/ui/components/form/handler/custom-submit/index.js +1 -1
- package/dist/ui/components/form/handler/index.d.ts +1 -1
- package/dist/ui/components/form/handler/index.js +3 -3
- package/dist/ui/components/form/handler/interfaces.d.ts +2 -2
- package/dist/ui/components/form/helpers/index.d.ts +1 -1
- package/dist/ui/components/form/helpers/index.js +1 -1
- package/dist/ui/components/form/index.d.ts +12 -12
- package/dist/ui/components/form/index.js +12 -12
- package/dist/ui/components/form/input/index.d.ts +1 -1
- package/dist/ui/components/form/input/index.js +2 -2
- package/dist/ui/components/form/input-control/error/index.d.ts +1 -1
- package/dist/ui/components/form/input-control/error/index.js +1 -1
- package/dist/ui/components/form/input-control/index.d.ts +1 -1
- package/dist/ui/components/form/input-control/index.js +5 -5
- package/dist/ui/components/form/input-control/label/index.js +0 -34
- package/dist/ui/components/form/input-control/loader-input/index.js +2 -2
- package/dist/ui/components/form/input-cpf-cnpj/index.d.ts +2 -0
- package/dist/ui/components/form/input-cpf-cnpj/index.js +38 -0
- package/dist/ui/components/form/input-file/index.d.ts +1 -1
- package/dist/ui/components/form/input-file/index.js +1 -1
- package/dist/ui/components/form/input-mask/index.d.ts +1 -1
- package/dist/ui/components/form/input-mask/index.js +1 -1
- package/dist/ui/components/form/input-password/index.d.ts +2 -0
- package/dist/ui/components/form/input-password/index.js +49 -0
- package/dist/ui/components/form/radio/index.js +2 -2
- package/dist/ui/components/form/select/index.d.ts +1 -1
- package/dist/ui/components/form/select/index.js +2 -2
- package/dist/ui/components/form/select/interfaces.d.ts +1 -1
- package/dist/ui/components/form/textarea/index.d.ts +1 -1
- package/dist/ui/components/form/textarea/index.js +2 -2
- package/dist/ui/components/index.d.ts +8 -0
- package/dist/ui/components/index.js +25 -0
- package/dist/ui/components/loader-circle/index.d.ts +2 -0
- package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +3 -0
- package/dist/ui/components/menu-mobile/components/nav-links/index.js +66 -0
- package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +5 -0
- package/dist/ui/components/menu-mobile/index.d.ts +2 -0
- package/dist/ui/components/menu-mobile/index.js +78 -0
- package/dist/ui/components/menu-mobile/top/index.d.ts +2 -0
- package/dist/ui/components/menu-mobile/top/index.js +50 -0
- package/dist/ui/components/menu-mobile/top/interfaces.d.ts +6 -0
- package/dist/ui/components/next-image/index.d.ts +2 -0
- package/dist/ui/components/next-image/index.js +41 -0
- package/dist/ui/contexts/index.d.ts +0 -3
- package/dist/ui/contexts/index.js +0 -20
- package/dist/ui/contexts/theme/context.js +0 -19
- package/dist/ui/contexts/theme/index.d.ts +0 -2
- package/dist/ui/contexts/theme/index.js +0 -19
- package/dist/ui/contexts/toast/index.d.ts +0 -8
- package/dist/ui/contexts/toast/index.js +0 -70
- package/dist/ui/contexts/toast/toast-item/index.d.ts +0 -5
- package/dist/ui/contexts/toast/toast-item/index.js +0 -65
- package/dist/ui/hooks/index.d.ts +0 -2
- package/dist/ui/hooks/index.js +0 -19
- package/dist/ui/icons/index.d.ts +0 -39
- package/dist/ui/icons/index.js +0 -56
- package/dist/ui/icons/render-icon/index.d.ts +0 -7
- package/dist/ui/icons/render-icon/index.js +0 -38
- package/dist/ui/index.d.ts +5 -0
- package/dist/ui/index.js +22 -0
- package/dist/ui/utils/facebook/index.d.ts +0 -1
- package/dist/ui/utils/facebook/index.js +0 -18
- package/dist/ui/utils/index.d.ts +0 -5
- package/dist/ui/utils/index.js +0 -22
- package/dist/ui/utils/libs/@tanstack/index.d.ts +0 -1
- package/dist/ui/utils/libs/@tanstack/index.js +0 -18
- package/dist/ui/utils/libs/@tanstack/react-query/index.d.ts +0 -1
- package/dist/ui/utils/libs/@tanstack/react-query/index.js +0 -18
- package/dist/ui/utils/libs/index.d.ts +0 -2
- package/dist/ui/utils/libs/index.js +0 -19
- package/dist/ui/utils/libs/next/index.d.ts +0 -1
- package/dist/ui/utils/libs/next/index.js +0 -18
- package/dist/ui/utils/validations/index.d.ts +0 -2
- package/dist/ui/utils/validations/index.js +0 -19
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Counter = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var versions_1 = require("./versions");
|
|
17
|
+
function Counter(_a) {
|
|
18
|
+
var version = _a.version, data = _a.data;
|
|
19
|
+
switch (version) {
|
|
20
|
+
case 'Version01':
|
|
21
|
+
return (0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
|
|
22
|
+
default:
|
|
23
|
+
;
|
|
24
|
+
(0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.Counter = Counter;
|
|
28
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./component"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Box = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var react_1 = require("react");
|
|
29
|
+
var ui_1 = require("@/ui");
|
|
30
|
+
var S = __importStar(require("./styles"));
|
|
31
|
+
function Box(_a) {
|
|
32
|
+
var titulo = _a.titulo, numero = _a.numero;
|
|
33
|
+
var ref = (0, react_1.useRef)(null);
|
|
34
|
+
// const isVisible = useIntersection({ element: ref, once: true })
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Box', children: (0, jsx_runtime_1.jsxs)(S.Box, { ref: ref, "data-aos": 'fade-up', "data-aos-duration": '1000', "data-aos-delay": '200', "data-aos-easing": 'ease-in', children: [(0, jsx_runtime_1.jsx)("div", { className: 'font-64-medium', children: (0, jsx_runtime_1.jsx)("span", { children: "+" }) }), (0, jsx_runtime_1.jsx)("span", { className: 'font-24-regular title uppercase', children: titulo })] }) }));
|
|
36
|
+
}
|
|
37
|
+
exports.Box = Box;
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./component"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MVV = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var versions_1 = require("./versions");
|
|
17
|
+
function MVV(_a) {
|
|
18
|
+
var version = _a.version, data = _a.data;
|
|
19
|
+
switch (version) {
|
|
20
|
+
case 'Version01':
|
|
21
|
+
return (0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
|
|
22
|
+
default:
|
|
23
|
+
;
|
|
24
|
+
(0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.MVV = MVV;
|
|
28
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./component"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './version-01/component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./version-01/component"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Version01 = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var ui_1 = require("@/ui");
|
|
29
|
+
var S = __importStar(require("./styles"));
|
|
30
|
+
function Version01(_a) {
|
|
31
|
+
var list = _a.list;
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'MVV', children: (0, jsx_runtime_1.jsx)(S.MVV, { children: (0, jsx_runtime_1.jsx)(ui_1.Container, { children: list.map(function (mvv) { return ((0, jsx_runtime_1.jsxs)("div", { className: 'mvv-card', children: [mvv.imagem && ((0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: mvv.imagem }) })), mvv.titulo && (0, jsx_runtime_1.jsx)("h2", { className: 'font-24-medium', children: mvv.titulo }), mvv.descricao && ((0, jsx_runtime_1.jsx)("div", { className: 'font-16 description', dangerouslySetInnerHTML: { __html: mvv.descricao || '' } }))] }, mvv.id)); }) }) }) }));
|
|
33
|
+
}
|
|
34
|
+
exports.Version01 = Version01;
|
|
35
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IConfigsSiteContext, IContextConfigSite } from './interfaces';
|
|
3
|
+
export declare const ConfigSiteContext: import("react").Context<IConfigsSiteContext>;
|
|
4
|
+
declare function ConfigSiteProvider({ children }: IContextConfigSite): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function useConfigSite(): IConfigsSiteContext;
|
|
6
|
+
export { ConfigSiteProvider, useConfigSite };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useConfigSite = exports.ConfigSiteProvider = exports.ConfigSiteContext = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var react_1 = require("react");
|
|
6
|
+
var scripts_1 = require("./scripts");
|
|
7
|
+
var sites_1 = require("@/sites");
|
|
8
|
+
var ui_1 = require("@/ui");
|
|
9
|
+
var styled_components_1 = require("styled-components");
|
|
10
|
+
exports.ConfigSiteContext = (0, react_1.createContext)(undefined);
|
|
11
|
+
function ConfigSiteProvider(_a) {
|
|
12
|
+
var children = _a.children;
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)(exports.ConfigSiteContext.Provider, { value: undefined, children: [(0, jsx_runtime_1.jsx)(sites_1.HeadComponent, {}), (0, jsx_runtime_1.jsx)("div", { id: 'focus-to-top-page' }), (0, jsx_runtime_1.jsx)(styled_components_1.ThemeProvider, { theme: JSON.parse(process.env.theme), children: process.env.configurations && ((0, jsx_runtime_1.jsx)(scripts_1.Scripts, { children: (0, jsx_runtime_1.jsx)(ui_1.LoaderOnRouteChange, { children: children }), informations: JSON.parse(process.env.configurations) })) })] }));
|
|
14
|
+
}
|
|
15
|
+
exports.ConfigSiteProvider = ConfigSiteProvider;
|
|
16
|
+
function useConfigSite() {
|
|
17
|
+
var context = (0, react_1.useContext)(exports.ConfigSiteContext);
|
|
18
|
+
return context;
|
|
19
|
+
}
|
|
20
|
+
exports.useConfigSite = useConfigSite;
|
|
21
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./context"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.AceptCookies = void 0;
|
|
30
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
+
var react_1 = require("react");
|
|
32
|
+
var link_1 = __importDefault(require("next/link"));
|
|
33
|
+
var router_1 = require("next/router");
|
|
34
|
+
var ui_1 = require("@/ui");
|
|
35
|
+
var S = __importStar(require("./styles"));
|
|
36
|
+
function AceptCookies(_a) {
|
|
37
|
+
var children = _a.children;
|
|
38
|
+
var _b = (0, react_1.useState)('aceito'), acept = _b[0], setAcept = _b[1];
|
|
39
|
+
function getAcept() {
|
|
40
|
+
setAcept('aceito');
|
|
41
|
+
(0, ui_1.setCookie)('acept-cookie', 'aceito', 30);
|
|
42
|
+
}
|
|
43
|
+
function getRecuse() {
|
|
44
|
+
setAcept('recusado');
|
|
45
|
+
(0, ui_1.setCookie)('acept-cookie', 'recusado', 30);
|
|
46
|
+
}
|
|
47
|
+
var router = (0, router_1.useRouter)();
|
|
48
|
+
(0, react_1.useEffect)(function () {
|
|
49
|
+
if (process.browser) {
|
|
50
|
+
var aceptCookie = (0, ui_1.getCookie)('acept-cookie');
|
|
51
|
+
if (!aceptCookie || (aceptCookie !== 'aceito' && aceptCookie !== 'recusado')) {
|
|
52
|
+
setAcept('default');
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (aceptCookie === 'aceito') {
|
|
56
|
+
setAcept('aceito');
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (aceptCookie === 'recusado') {
|
|
60
|
+
setAcept('recusado');
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}, []);
|
|
65
|
+
// console.log(acept === "default" ||
|
|
66
|
+
// acept === "aceito")
|
|
67
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(acept === 'default' || acept === 'recusado') && !router.asPath.includes('politica') && ((0, jsx_runtime_1.jsxs)(S.AceptCookies, { id: 'cookies', children: [(0, jsx_runtime_1.jsx)("div", { className: 'overlay' }), (0, jsx_runtime_1.jsxs)("div", { className: 'bottom', children: [(0, jsx_runtime_1.jsxs)("p", { children: ["Utilizamos cookies para oferecer melhor experi\u00EAncia, melhorar o desempenho, analisar como voc\u00EA interage em nosso site e personalizar conte\u00FAdo. ", (0, jsx_runtime_1.jsx)(link_1.default, { href: '/politica-e-privacidade', children: "Saiba mais." })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'actions-cookie', children: [acept !== 'recusado' && ((0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'recusar', onClick: getRecuse, children: "Recusar Cookies" })), (0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'aceitar', onClick: getAcept, children: "Aceitar Cookies" })] })] })] })), (acept === 'default' || acept === 'aceito' || router.asPath.includes('politica')) && (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children })] }));
|
|
68
|
+
}
|
|
69
|
+
exports.AceptCookies = AceptCookies;
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.AceptRatedr = void 0;
|
|
30
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
+
var react_1 = require("react");
|
|
32
|
+
var link_1 = __importDefault(require("next/link"));
|
|
33
|
+
var router_1 = require("next/router");
|
|
34
|
+
var ui_1 = require("@/ui");
|
|
35
|
+
var S = __importStar(require("./styles"));
|
|
36
|
+
function AceptRatedr(_a) {
|
|
37
|
+
var children = _a.children;
|
|
38
|
+
var _b = (0, react_1.useState)('aceito'), acept = _b[0], setAcept = _b[1];
|
|
39
|
+
var router = (0, router_1.useRouter)();
|
|
40
|
+
function getAcept() {
|
|
41
|
+
setAcept('aceito');
|
|
42
|
+
(0, ui_1.setCookie)('acept-ratedr', 'aceito', 30);
|
|
43
|
+
}
|
|
44
|
+
function getRecuse() {
|
|
45
|
+
setAcept('recusado');
|
|
46
|
+
(0, ui_1.setCookie)('acept-ratedr', 'recusado', 30);
|
|
47
|
+
}
|
|
48
|
+
(0, react_1.useEffect)(function () {
|
|
49
|
+
if (process.browser) {
|
|
50
|
+
var aceptRatedr = (0, ui_1.getCookie)('acept-ratedr');
|
|
51
|
+
if (!aceptRatedr || (aceptRatedr !== 'aceito' && aceptRatedr !== 'recusado')) {
|
|
52
|
+
setAcept('default');
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (aceptRatedr === 'aceito') {
|
|
56
|
+
setAcept('aceito');
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (aceptRatedr === 'recusado') {
|
|
60
|
+
setAcept('recusado');
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}, []);
|
|
65
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(acept === 'default' || acept === 'recusado') && !router.asPath.includes('politica') && ((0, jsx_runtime_1.jsxs)(S.AceptCookies, { id: 'cookies', children: [(0, jsx_runtime_1.jsx)("div", { className: 'overlay' }), (0, jsx_runtime_1.jsxs)("div", { className: 'bottom', children: [(0, jsx_runtime_1.jsxs)("p", { children: ["Aviso: Conte\u00FAdo restrito para maiores de 18 anos. ", (0, jsx_runtime_1.jsx)(link_1.default, { href: '/politica-e-privacidade', children: "Saiba mais." })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'actions-cookie', children: [acept !== 'recusado' && ((0, jsx_runtime_1.jsx)("button", { className: 'recusar', onClick: getRecuse, children: "Recusar" })), (0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'aceitar', onClick: getAcept, children: "Aceitar que sou maior de 18 anos e entrar" })] })] })] })), (acept === 'default' || acept === 'aceito' || router.asPath.includes('politica')) && (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children })] }));
|
|
66
|
+
}
|
|
67
|
+
exports.AceptRatedr = AceptRatedr;
|
|
68
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Scripts = void 0;
|
|
7
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
var react_1 = require("react");
|
|
9
|
+
var head_1 = __importDefault(require("next/head"));
|
|
10
|
+
var script_1 = __importDefault(require("next/script"));
|
|
11
|
+
var router_1 = require("next/router");
|
|
12
|
+
var react_ga_1 = require("react-ga");
|
|
13
|
+
var ui_1 = require("@/ui");
|
|
14
|
+
var acept_ratedr_1 = require("./acept-ratedr");
|
|
15
|
+
var acept_cookies_1 = require("./acept-cookies");
|
|
16
|
+
var whatsapp_fixed_1 = require("./whatsapp-fixed");
|
|
17
|
+
function Scripts(_a) {
|
|
18
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
|
19
|
+
var children = _a.children, informations = _a.informations;
|
|
20
|
+
var router = (0, router_1.useRouter)();
|
|
21
|
+
(0, react_1.useEffect)(function () {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
if (process.browser && ((_a = informations === null || informations === void 0 ? void 0 : informations.google) === null || _a === void 0 ? void 0 : _a.ua)) {
|
|
24
|
+
var handleRouteChange_1 = function () {
|
|
25
|
+
(0, ui_1.pageview)(router.asPath);
|
|
26
|
+
};
|
|
27
|
+
(0, react_ga_1.initialize)((_b = informations === null || informations === void 0 ? void 0 : informations.google) === null || _b === void 0 ? void 0 : _b.ua);
|
|
28
|
+
(0, react_ga_1.pageview)(router === null || router === void 0 ? void 0 : router.asPath);
|
|
29
|
+
router.events.on('routeChangeComplete', handleRouteChange_1);
|
|
30
|
+
return function () {
|
|
31
|
+
router.events.off('routeChangeComplete', handleRouteChange_1);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
}, [router.events, router.pathname, router.asPath, (_b = informations === null || informations === void 0 ? void 0 : informations.google) === null || _b === void 0 ? void 0 : _b.ua]);
|
|
35
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(head_1.default, { children: [((_c = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _c === void 0 ? void 0 : _c.facebookDomainVerification) && ((0, jsx_runtime_1.jsx)("meta", { name: 'facebook-domain-verification', content: (_d = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _d === void 0 ? void 0 : _d.facebookDomainVerification })), (0, jsx_runtime_1.jsx)("link", { rel: 'preconnect', href: 'https://www.google-analytics.com' }), (0, jsx_runtime_1.jsx)("link", { rel: 'dns-prefetch', href: 'https://www.google-analytics.com' }), ((_e = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _e === void 0 ? void 0 : _e.pixelFacebook) && ((0, jsx_runtime_1.jsx)("script", { id: 'fb-pixel', dangerouslySetInnerHTML: {
|
|
36
|
+
__html: "\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', ".concat((_f = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _f === void 0 ? void 0 : _f.pixelFacebook, ");\n fbq('track', 'PageView');\n "),
|
|
37
|
+
} })), ((_g = informations === null || informations === void 0 ? void 0 : informations.google) === null || _g === void 0 ? void 0 : _g.gtm) && ((0, jsx_runtime_1.jsx)("script", { dangerouslySetInnerHTML: {
|
|
38
|
+
__html: "\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat((_h = informations === null || informations === void 0 ? void 0 : informations.google) === null || _h === void 0 ? void 0 : _h.gtm, "');\n "),
|
|
39
|
+
} }))] }), ((_j = informations === null || informations === void 0 ? void 0 : informations.google) === null || _j === void 0 ? void 0 : _j.gtm) && ((0, jsx_runtime_1.jsx)("noscript", { children: (0, jsx_runtime_1.jsx)("iframe", { src: "https://www.googletagmanager.com/ns.html?id=".concat((_k = informations === null || informations === void 0 ? void 0 : informations.google) === null || _k === void 0 ? void 0 : _k.gtm), height: '0', width: '0', style: { display: 'none', visibility: 'hidden' } }) })), ((_l = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _l === void 0 ? void 0 : _l.propertyId) && ((_m = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _m === void 0 ? void 0 : _m.widgetId) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://embed.tawk.to/".concat((_o = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _o === void 0 ? void 0 : _o.propertyId, "/").concat((_p = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _p === void 0 ? void 0 : _p.widgetId) })), ((_q = informations === null || informations === void 0 ? void 0 : informations.redesSociais) === null || _q === void 0 ? void 0 : _q.whatsappfixo) && ((_r = informations === null || informations === void 0 ? void 0 : informations.redesSociais) === null || _r === void 0 ? void 0 : _r.whatsapp) && ((0, jsx_runtime_1.jsx)(whatsapp_fixed_1.Whatsappfixed, { href: informations === null || informations === void 0 ? void 0 : informations.redesSociais.whatsapp })), (informations === null || informations === void 0 ? void 0 : informations.ratedR) ? ((0, jsx_runtime_1.jsx)(acept_ratedr_1.AceptRatedr, { children: (informations === null || informations === void 0 ? void 0 : informations.enableCookieVerification) ? (0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children }) : children })) : (informations === null || informations === void 0 ? void 0 : informations.enableCookieVerification) ? ((0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children })) : (children), process.browser && ((_s = informations === null || informations === void 0 ? void 0 : informations.google) === null || _s === void 0 ? void 0 : _s.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://www.googletagmanager.com/gtag/js?id=".concat((_t = informations === null || informations === void 0 ? void 0 : informations.google) === null || _t === void 0 ? void 0 : _t.aw), type: 'text/javascript', strategy: 'afterInteractive' })), process.browser && ((_u = informations === null || informations === void 0 ? void 0 : informations.google) === null || _u === void 0 ? void 0 : _u.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { id: 'google-analytics', children: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n \n gtag('js', new Date());\n gtag('config', '".concat((_v = informations === null || informations === void 0 ? void 0 : informations.google) === null || _v === void 0 ? void 0 : _v.aw, "');\n ") })), ((_w = informations === null || informations === void 0 ? void 0 : informations.rdStation) === null || _w === void 0 ? void 0 : _w.habilitarRD) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [process.browser && (informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation1) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation1 })), process.browser && (informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation2) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation2 }))] }))] }));
|
|
40
|
+
}
|
|
41
|
+
exports.Scripts = Scripts;
|
|
42
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./component"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
19
|
+
__exportStar(require("./acept-ratedr"), exports);
|
|
20
|
+
__exportStar(require("./acept-cookies"), exports);
|
|
21
|
+
__exportStar(require("./whatsapp-fixed"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Whatsappfixed = void 0;
|
|
30
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
+
var link_1 = __importDefault(require("next/link"));
|
|
32
|
+
var S = __importStar(require("./styles"));
|
|
33
|
+
function Whatsappfixed(_a) {
|
|
34
|
+
var href = _a.href;
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(S.Whattsapp, { children: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'whattsapp', href: href, rel: 'external', target: '_blank', children: (0, jsx_runtime_1.jsx)("svg", { fill: '#fff', xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24', width: '40px', height: '40px', "aria-label": '\u00EDcone do whattsapp', children: (0, jsx_runtime_1.jsx)("path", { d: 'M 12.011719 2 C 6.5057187 2 2.0234844 6.478375 2.0214844 11.984375 C 2.0204844 13.744375 2.4814687 15.462563 3.3554688 16.976562 L 2 22 L 7.2324219 20.763672 C 8.6914219 21.559672 10.333859 21.977516 12.005859 21.978516 L 12.009766 21.978516 C 17.514766 21.978516 21.995047 17.499141 21.998047 11.994141 C 22.000047 9.3251406 20.962172 6.8157344 19.076172 4.9277344 C 17.190172 3.0407344 14.683719 2.001 12.011719 2 z M 12.009766 4 C 14.145766 4.001 16.153109 4.8337969 17.662109 6.3417969 C 19.171109 7.8517969 20.000047 9.8581875 19.998047 11.992188 C 19.996047 16.396187 16.413812 19.978516 12.007812 19.978516 C 10.674812 19.977516 9.3544062 19.642812 8.1914062 19.007812 L 7.5175781 18.640625 L 6.7734375 18.816406 L 4.8046875 19.28125 L 5.2851562 17.496094 L 5.5019531 16.695312 L 5.0878906 15.976562 C 4.3898906 14.768562 4.0204844 13.387375 4.0214844 11.984375 C 4.0234844 7.582375 7.6067656 4 12.009766 4 z M 8.4765625 7.375 C 8.3095625 7.375 8.0395469 7.4375 7.8105469 7.6875 C 7.5815469 7.9365 6.9355469 8.5395781 6.9355469 9.7675781 C 6.9355469 10.995578 7.8300781 12.182609 7.9550781 12.349609 C 8.0790781 12.515609 9.68175 15.115234 12.21875 16.115234 C 14.32675 16.946234 14.754891 16.782234 15.212891 16.740234 C 15.670891 16.699234 16.690438 16.137687 16.898438 15.554688 C 17.106437 14.971687 17.106922 14.470187 17.044922 14.367188 C 16.982922 14.263188 16.816406 14.201172 16.566406 14.076172 C 16.317406 13.951172 15.090328 13.348625 14.861328 13.265625 C 14.632328 13.182625 14.464828 13.140625 14.298828 13.390625 C 14.132828 13.640625 13.655766 14.201187 13.509766 14.367188 C 13.363766 14.534188 13.21875 14.556641 12.96875 14.431641 C 12.71875 14.305641 11.914938 14.041406 10.960938 13.191406 C 10.218937 12.530406 9.7182656 11.714844 9.5722656 11.464844 C 9.4272656 11.215844 9.5585938 11.079078 9.6835938 10.955078 C 9.7955938 10.843078 9.9316406 10.663578 10.056641 10.517578 C 10.180641 10.371578 10.223641 10.267562 10.306641 10.101562 C 10.389641 9.9355625 10.347156 9.7890625 10.285156 9.6640625 C 10.223156 9.5390625 9.737625 8.3065 9.515625 7.8125 C 9.328625 7.3975 9.131125 7.3878594 8.953125 7.3808594 C 8.808125 7.3748594 8.6425625 7.375 8.4765625 7.375 z' }) }) }) }));
|
|
36
|
+
}
|
|
37
|
+
exports.Whatsappfixed = Whatsappfixed;
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./configs";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./configs"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|