update
5
a1_pl_dpd_post/.env
Normal file
@@ -0,0 +1,5 @@
|
||||
# 平台本地运行端口号
|
||||
VITE_PORT = 8848
|
||||
|
||||
# 是否隐藏首页 隐藏 true 不隐藏 false (勿删除,VITE_HIDE_HOME只需在.env文件配置)
|
||||
VITE_HIDE_HOME = false
|
||||
11
a1_pl_dpd_post/.env.development
Normal file
@@ -0,0 +1,11 @@
|
||||
# 平台本地运行端口号
|
||||
VITE_PORT = 8848
|
||||
|
||||
# 开发环境读取配置文件路径
|
||||
VITE_PUBLIC_PATH = ./
|
||||
|
||||
# 网站前缀
|
||||
VITE_BASE_URL = "up.xx.sczqb6.top"
|
||||
|
||||
# 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
|
||||
VITE_ROUTER_HISTORY = "hash"
|
||||
16
a1_pl_dpd_post/.env.production
Normal file
@@ -0,0 +1,16 @@
|
||||
# 网站前缀
|
||||
VITE_BASE_URL=/
|
||||
|
||||
# 线上环境平台打包路径
|
||||
VITE_PUBLIC_PATH = ./
|
||||
|
||||
# 线上环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
|
||||
VITE_ROUTER_HISTORY = "hash"
|
||||
|
||||
# 是否在打包时使用cdn替换本地库 替换 true 不替换 false
|
||||
VITE_CDN = false
|
||||
|
||||
# 是否启用gzip压缩或brotli压缩(分两种情况,删除原始文件和不删除原始文件)
|
||||
# 压缩时不删除原始文件的配置:gzip、brotli、both(同时开启 gzip 与 brotli 压缩)、none(不开启压缩,默认)
|
||||
# 压缩时删除原始文件的配置:gzip-clear、brotli-clear、both-clear(同时开启 gzip 与 brotli 压缩)、none(不开启压缩,默认)
|
||||
VITE_COMPRESSION = "none"
|
||||
25
a1_pl_dpd_post/.eslintrc.cjs
Normal file
@@ -0,0 +1,25 @@
|
||||
/* eslint-env node */
|
||||
require('@rushstack/eslint-patch/modern-module-resolution')
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
'extends': [
|
||||
'plugin:vue/vue3-essential',
|
||||
'eslint:recommended',
|
||||
'@vue/eslint-config-typescript',
|
||||
'@vue/eslint-config-prettier'
|
||||
],
|
||||
overrides: [
|
||||
{
|
||||
files: [
|
||||
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'
|
||||
],
|
||||
'extends': [
|
||||
'plugin:cypress/recommended'
|
||||
]
|
||||
}
|
||||
],
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest'
|
||||
}
|
||||
}
|
||||
28
a1_pl_dpd_post/.gitignore
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
.DS_Store
|
||||
dist
|
||||
dist-ssr
|
||||
coverage
|
||||
*.local
|
||||
|
||||
/cypress/videos/
|
||||
/cypress/screenshots/
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
1
a1_pl_dpd_post/.prettierrc.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
3
a1_pl_dpd_post/.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
|
||||
}
|
||||
68
a1_pl_dpd_post/README.md
Normal file
@@ -0,0 +1,68 @@
|
||||
# vue3-clean-architecture
|
||||
|
||||
This template should help get you started developing with Vue 3 in Vite.
|
||||
|
||||
## Recommended IDE Setup
|
||||
|
||||
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
||||
|
||||
## Type Support for `.vue` Imports in TS
|
||||
|
||||
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
||||
|
||||
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
||||
|
||||
1. Disable the built-in TypeScript Extension
|
||||
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
||||
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
||||
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
||||
|
||||
## Customize configuration
|
||||
|
||||
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
||||
|
||||
## Project Setup
|
||||
|
||||
```sh
|
||||
npm install
|
||||
```
|
||||
|
||||
### Compile and Hot-Reload for Development
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
```
|
||||
|
||||
### Type-Check, Compile and Minify for Production
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
```
|
||||
|
||||
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
||||
|
||||
```sh
|
||||
npm run test:unit
|
||||
```
|
||||
|
||||
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
|
||||
|
||||
```sh
|
||||
npm run test:e2e:dev
|
||||
```
|
||||
|
||||
This runs the end-to-end tests against the Vite development server.
|
||||
It is much faster than the production build.
|
||||
|
||||
But it's still recommended to test the production build with `test:e2e` before deploying (e.g. in CI environments):
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
npm run test:e2e
|
||||
```
|
||||
|
||||
### Lint with [ESLint](https://eslint.org/)
|
||||
|
||||
```sh
|
||||
npm run lint
|
||||
```
|
||||
8
a1_pl_dpd_post/cypress.config.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { defineConfig } from 'cypress'
|
||||
|
||||
export default defineConfig({
|
||||
e2e: {
|
||||
specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
|
||||
baseUrl: 'http://localhost:4173'
|
||||
}
|
||||
})
|
||||
8
a1_pl_dpd_post/cypress/e2e/example.cy.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
// https://docs.cypress.io/api/introduction/api.html
|
||||
|
||||
describe('My First Test', () => {
|
||||
it('visits the app root url', () => {
|
||||
cy.visit('/')
|
||||
cy.contains('h1', 'You did it!')
|
||||
})
|
||||
})
|
||||
10
a1_pl_dpd_post/cypress/e2e/tsconfig.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.web.json",
|
||||
"include": ["./**/*", "../support/**/*"],
|
||||
"compilerOptions": {
|
||||
"isolatedModules": false,
|
||||
"target": "es5",
|
||||
"lib": ["es5", "dom"],
|
||||
"types": ["cypress"]
|
||||
}
|
||||
}
|
||||
5
a1_pl_dpd_post/cypress/fixtures/example.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "Using fixtures to represent data",
|
||||
"email": "hello@cypress.io",
|
||||
"body": "Fixtures are a great way to mock data for responses to routes"
|
||||
}
|
||||
39
a1_pl_dpd_post/cypress/support/commands.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
/// <reference types="cypress" />
|
||||
// ***********************************************
|
||||
// This example commands.ts shows you how to
|
||||
// create various custom commands and overwrite
|
||||
// existing commands.
|
||||
//
|
||||
// For more comprehensive examples of custom
|
||||
// commands please read more here:
|
||||
// https://on.cypress.io/custom-commands
|
||||
// ***********************************************
|
||||
//
|
||||
//
|
||||
// -- This is a parent command --
|
||||
// Cypress.Commands.add('login', (email, password) => { ... })
|
||||
//
|
||||
//
|
||||
// -- This is a child command --
|
||||
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
|
||||
//
|
||||
//
|
||||
// -- This is a dual command --
|
||||
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
|
||||
//
|
||||
//
|
||||
// -- This will overwrite an existing command --
|
||||
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
|
||||
//
|
||||
// declare global {
|
||||
// namespace Cypress {
|
||||
// interface Chainable {
|
||||
// login(email: string, password: string): Chainable<void>
|
||||
// drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
|
||||
// dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
|
||||
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
export {}
|
||||
20
a1_pl_dpd_post/cypress/support/e2e.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
// ***********************************************************
|
||||
// This example support/index.js is processed and
|
||||
// loaded automatically before your test files.
|
||||
//
|
||||
// This is a great place to put global configuration and
|
||||
// behavior that modifies Cypress.
|
||||
//
|
||||
// You can change the location of this file or turn off
|
||||
// automatically serving support files with the
|
||||
// 'supportFile' configuration option.
|
||||
//
|
||||
// You can read more here:
|
||||
// https://on.cypress.io/configuration
|
||||
// ***********************************************************
|
||||
|
||||
// Import commands.js using ES2015 syntax:
|
||||
import './commands'
|
||||
|
||||
// Alternatively you can use CommonJS syntax:
|
||||
// require('./commands')
|
||||
4
a1_pl_dpd_post/env.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/// <reference types="vite/client" />
|
||||
interface ImportMetaEnv {
|
||||
VITE_BASE_URL: string;
|
||||
}
|
||||
1632
a1_pl_dpd_post/index.html
Normal file
396
a1_pl_dpd_post/new_extract-resources.js
Normal file
@@ -0,0 +1,396 @@
|
||||
/**
|
||||
* 静态资源提取脚本
|
||||
* 从 header.html 和 footer.html 中提取 base64 图片、内联 CSS 和字体
|
||||
*
|
||||
* 功能:
|
||||
* 1. 提取 base64 图片到 assets/images/
|
||||
* 2. 提取所有内联 CSS 到 assets/css/
|
||||
* 3. 提取字体文件到 assets/fonts/
|
||||
* 4. 去除所有 meta 标签
|
||||
* 5. 去除所有 script 标签
|
||||
* 6. 只保留 body 内的内容
|
||||
* 7. 把引入的 style 放到顶部
|
||||
* 8. 给所有 HTML 属性值自动加上双引号
|
||||
*
|
||||
* 使用方法:
|
||||
* - node extract-resources.js # 正常运行,从备份恢复
|
||||
* - node extract-resources.js --keep # 保持当前文件,不从备份恢复
|
||||
*/
|
||||
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
// 检查命令行参数
|
||||
const KEEP_CURRENT = process.argv.includes('--keep');
|
||||
|
||||
const PUBLIC_DIR = path.join(__dirname, 'public/Q3h9Lm2Rk8VzNwXa');
|
||||
const STATIC_DIR = path.join(__dirname, 'public/Q3h9Lm2Rk8VzNwXa/st');
|
||||
|
||||
const FILES_TO_PROCESS = ['footer.html'];
|
||||
// const FILES_TO_PROCESS = ['home.html', 'page2.html', 'page3.html', 'page4.html', 'page5.html'];
|
||||
|
||||
// 创建资源目录 (public)
|
||||
const ASSETS_DIR = path.join(STATIC_DIR, 'assets');
|
||||
const IMG_DIR = path.join(ASSETS_DIR, 'images');
|
||||
const CSS_DIR = path.join(ASSETS_DIR, 'css');
|
||||
const FONTS_DIR = path.join(ASSETS_DIR, 'fonts');
|
||||
|
||||
// 清理旧资源文件的函数
|
||||
function cleanDirectory(dir) {
|
||||
if (fs.existsSync(dir)) {
|
||||
const files = fs.readdirSync(dir);
|
||||
files.forEach(file => {
|
||||
const filePath = path.join(dir, file);
|
||||
if (fs.statSync(filePath).isFile()) {
|
||||
fs.unlinkSync(filePath);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
[ASSETS_DIR, IMG_DIR, CSS_DIR, FONTS_DIR].forEach(dir => {
|
||||
if (!fs.existsSync(dir)) {
|
||||
fs.mkdirSync(dir, { recursive: true });
|
||||
}
|
||||
});
|
||||
|
||||
// 清理旧资源文件
|
||||
console.log('🧹 清理旧资源文件...');
|
||||
cleanDirectory(IMG_DIR);
|
||||
cleanDirectory(CSS_DIR);
|
||||
cleanDirectory(FONTS_DIR);
|
||||
|
||||
console.log('🚀 开始提取静态资源...\n');
|
||||
console.log(`📂 工作目录: ${PUBLIC_DIR}\n`);
|
||||
|
||||
FILES_TO_PROCESS.forEach(filename => {
|
||||
const filePath = path.join(PUBLIC_DIR, filename);
|
||||
const backupPath = filePath + '.backup';
|
||||
|
||||
if (!fs.existsSync(filePath)) {
|
||||
console.log(`⚠️ 文件不存在: ${filename}`);
|
||||
return;
|
||||
}
|
||||
|
||||
// 创建备份
|
||||
if (!fs.existsSync(backupPath)) {
|
||||
fs.copyFileSync(filePath, backupPath);
|
||||
console.log(`📄 处理文件: ${filename} (已创建备份)`);
|
||||
} else if (!KEEP_CURRENT) {
|
||||
// 如果备份存在且未指定 --keep,从备份恢复
|
||||
fs.copyFileSync(backupPath, filePath);
|
||||
console.log(`📄 处理文件: ${filename} (从备份恢复)`);
|
||||
} else {
|
||||
console.log(`📄 处理文件: ${filename} (保持当前版本)`);
|
||||
}
|
||||
|
||||
let content = fs.readFileSync(filePath, 'utf8');
|
||||
const originalSize = content.length;
|
||||
|
||||
let imageCount = 0;
|
||||
let cssCount = 0;
|
||||
let fontCount = 0;
|
||||
|
||||
// 1. 提取 base64 图片
|
||||
console.log(' 提取 base64 图片...');
|
||||
content = content.replace(/url\s*\(\s*["']?(data:image\/([^;]+);base64,([^"')]+))["']?\s*\)/gi,
|
||||
(match, dataUrl, imageType, base64Data) => {
|
||||
imageCount++;
|
||||
// 修复图片扩展名,处理 svg+xml 等情况
|
||||
let ext = imageType.split('/').pop();
|
||||
if (ext.includes('svg')) {
|
||||
ext = 'svg';
|
||||
} else if (ext.includes('+')) {
|
||||
ext = ext.split('+')[0];
|
||||
}
|
||||
const imageName = `${filename.replace('.html', '')}_img_${imageCount}.${ext}`;
|
||||
const imagePath = path.join(IMG_DIR, imageName);
|
||||
|
||||
try {
|
||||
const buffer = Buffer.from(base64Data, 'base64');
|
||||
fs.writeFileSync(imagePath, buffer);
|
||||
return `url("/Q3h9Lm2Rk8VzNwXa/st/assets/images/${imageName}")`;
|
||||
} catch (e) {
|
||||
console.log(` ⚠️ 无法保存图片 ${imageName}:`, e.message);
|
||||
return match;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
// 2. 提取 img src 中的 base64 (有引号的)
|
||||
content = content.replace(/<img([^>]*?)src\s*=\s*["'](data:image\/([^;]+);base64,([^"']+))["']([^>]*)>/gi,
|
||||
(match, beforeAttrs, dataUrl, imageType, base64Data, afterAttrs) => {
|
||||
imageCount++;
|
||||
// 修复图片扩展名
|
||||
let ext = imageType.split('/').pop();
|
||||
if (ext.includes('svg')) {
|
||||
ext = 'svg';
|
||||
} else if (ext.includes('+')) {
|
||||
ext = ext.split('+')[0];
|
||||
}
|
||||
const imageName = `${filename.replace('.html', '')}_inline_${imageCount}.${ext}`;
|
||||
const imagePath = path.join(IMG_DIR, imageName);
|
||||
|
||||
try {
|
||||
const buffer = Buffer.from(base64Data, 'base64');
|
||||
fs.writeFileSync(imagePath, buffer);
|
||||
// 确保属性间有正确的空格
|
||||
const before = beforeAttrs ? ' ' + beforeAttrs.trim() : '';
|
||||
const after = afterAttrs ? ' ' + afterAttrs.trim() : '';
|
||||
return `<img${before} src="/Q3h9Lm2Rk8VzNwXa/st/assets/images/${imageName}"${after}>`;
|
||||
} catch (e) {
|
||||
console.log(` ⚠️ 无法保存图片 ${imageName}:`, e.message);
|
||||
return match;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
// 3. 提取 img src 中的 base64 (没有引号的,直到遇到空白字符或>)
|
||||
content = content.replace(/<img([^>]*?)src\s*=\s*(data:image\/([^;\s>]+);base64,([^\s>]+))([^>]*)>/gi,
|
||||
(match, beforeAttrs, dataUrl, imageType, base64Data, afterAttrs) => {
|
||||
imageCount++;
|
||||
// 修复图片扩展名
|
||||
let ext = imageType.split('/').pop();
|
||||
if (ext.includes('svg')) {
|
||||
ext = 'svg';
|
||||
} else if (ext.includes('+')) {
|
||||
ext = ext.split('+')[0];
|
||||
}
|
||||
const imageName = `${filename.replace('.html', '')}_inline_${imageCount}.${ext}`;
|
||||
const imagePath = path.join(IMG_DIR, imageName);
|
||||
|
||||
try {
|
||||
const buffer = Buffer.from(base64Data, 'base64');
|
||||
fs.writeFileSync(imagePath, buffer);
|
||||
// 确保属性间有正确的空格
|
||||
const before = beforeAttrs ? ' ' + beforeAttrs.trim() : '';
|
||||
const after = afterAttrs ? ' ' + afterAttrs.trim() : '';
|
||||
return `<img${before} src="/Q3h9Lm2Rk8VzNwXa/st/assets/images/${imageName}"${after}>`;
|
||||
} catch (e) {
|
||||
console.log(` ⚠️ 无法保存图片 ${imageName}:`, e.message);
|
||||
return match;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
// 4. 提取 CSS 变量中的 base64
|
||||
content = content.replace(/--[^:]+:\s*url\s*\(\s*["']?(data:image\/([^;]+);base64,([^"')]+))["']?\s*\)/gi,
|
||||
(match, dataUrl, imageType, base64Data) => {
|
||||
imageCount++;
|
||||
// 修复图片扩展名
|
||||
let ext = imageType.split('/').pop();
|
||||
if (ext.includes('svg')) {
|
||||
ext = 'svg';
|
||||
} else if (ext.includes('+')) {
|
||||
ext = ext.split('+')[0];
|
||||
}
|
||||
const imageName = `${filename.replace('.html', '')}_var_${imageCount}.${ext}`;
|
||||
const imagePath = path.join(IMG_DIR, imageName);
|
||||
|
||||
try {
|
||||
const buffer = Buffer.from(base64Data, 'base64');
|
||||
fs.writeFileSync(imagePath, buffer);
|
||||
const varName = match.split(':')[0];
|
||||
return `${varName}: url("/Q3h9Lm2Rk8VzNwXa/st/assets/images/${imageName}")`;
|
||||
} catch (e) {
|
||||
console.log(` ⚠️ 无法保存图片 ${imageName}:`, e.message);
|
||||
return match;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
// 5. 提取所有内联 CSS (style 标签)
|
||||
console.log(' 提取内联 CSS...');
|
||||
const cssLinks = []; // 用于收集所有 CSS 链接
|
||||
const styleMatches = content.match(/<style[^>]*>([\s\S]*?)<\/style>/gi);
|
||||
if (styleMatches && styleMatches.length > 0) {
|
||||
styleMatches.forEach((styleTag, index) => {
|
||||
const cssContent = styleTag.replace(/<\/?style[^>]*>/gi, '').trim();
|
||||
// 提取所有 CSS,不管大小
|
||||
if (cssContent.length > 0) {
|
||||
cssCount++;
|
||||
const cssName = `${filename.replace('.html', '')}_styles_${cssCount}.css`;
|
||||
const cssPath = path.join(CSS_DIR, cssName);
|
||||
fs.writeFileSync(cssPath, cssContent);
|
||||
|
||||
// 收集 CSS 链接,稍后会统一放到顶部
|
||||
cssLinks.push(`<link rel="stylesheet" href="/Q3h9Lm2Rk8VzNwXa/st/assets/css/${cssName}">`);
|
||||
|
||||
// 先删除原 style 标签
|
||||
content = content.replace(styleTag, '');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 6. 提取字体 (data:font)
|
||||
console.log(' 提取字体文件...');
|
||||
content = content.replace(/url\s*\(\s*["']?(data:font\/([^;]+);base64,([^"')]+))["']?\s*\)/gi,
|
||||
(match, dataUrl, fontType, base64Data) => {
|
||||
fontCount++;
|
||||
const fontExt = fontType.includes('woff2') ? 'woff2' :
|
||||
fontType.includes('woff') ? 'woff' :
|
||||
fontType.includes('ttf') ? 'ttf' : 'font';
|
||||
const fontName = `${filename.replace('.html', '')}_font_${fontCount}.${fontExt}`;
|
||||
const fontPath = path.join(FONTS_DIR, fontName);
|
||||
|
||||
try {
|
||||
const buffer = Buffer.from(base64Data, 'base64');
|
||||
fs.writeFileSync(fontPath, buffer);
|
||||
return `url("/Q3h9Lm2Rk8VzNwXa/st/assets/fonts/${fontName}")`;
|
||||
} catch (e) {
|
||||
console.log(` ⚠️ 无法保存字体 ${fontName}:`, e.message);
|
||||
return match;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
// 7. 提取 woff2 字体 (特殊处理)
|
||||
content = content.replace(/url\s*\(\s*data:application\/font-woff2;charset=utf-8;base64,([^)]+)\)/gi,
|
||||
(match, base64Data) => {
|
||||
fontCount++;
|
||||
const fontName = `${filename.replace('.html', '')}_font_${fontCount}.woff2`;
|
||||
const fontPath = path.join(FONTS_DIR, fontName);
|
||||
|
||||
try {
|
||||
const buffer = Buffer.from(base64Data, 'base64');
|
||||
fs.writeFileSync(fontPath, buffer);
|
||||
return `url("/Q3h9Lm2Rk8VzNwXa/st/assets/fonts/${fontName}")`;
|
||||
} catch (e) {
|
||||
console.log(` ⚠️ 无法保存字体 ${fontName}:`, e.message);
|
||||
return match;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
// 8. 去除 DOCTYPE 声明
|
||||
console.log(' 去除 DOCTYPE 和 HTML 注释...');
|
||||
let removedCount = 0;
|
||||
if (content.match(/<!DOCTYPE[^>]*>/i)) {
|
||||
content = content.replace(/<!DOCTYPE[^>]*>/gi, '');
|
||||
removedCount++;
|
||||
}
|
||||
|
||||
// 去除所有 HTML 注释(包括多行注释)
|
||||
const commentCount = (content.match(/<!--[\s\S]*?-->/g) || []).length;
|
||||
content = content.replace(/<!--[\s\S]*?-->/g, '');
|
||||
removedCount += commentCount;
|
||||
|
||||
if (removedCount > 0) {
|
||||
console.log(` - 已删除 DOCTYPE 和 ${commentCount} 个 HTML 注释`);
|
||||
}
|
||||
|
||||
// 9. 去除所有 meta、title 和 link 标签
|
||||
console.log(' 去除 meta、title 和 link 标签...');
|
||||
const metaCount = (content.match(/<meta[^>]*>/gi) || []).length;
|
||||
content = content.replace(/<meta[^>]*>/gi, '');
|
||||
|
||||
const titleCount = (content.match(/<title[^>]*>[\s\S]*?<\/title>/gi) || []).length;
|
||||
content = content.replace(/<title[^>]*>[\s\S]*?<\/title>/gi, '');
|
||||
|
||||
// 去除 link 标签(canonical、icon、preload 等,但不包括我们生成的 stylesheet)
|
||||
const linkCount = (content.match(/<link(?![^>]*rel=["']stylesheet["'])[^>]*>/gi) || []).length;
|
||||
content = content.replace(/<link(?![^>]*rel=["']stylesheet["'])[^>]*>/gi, '');
|
||||
|
||||
if (metaCount > 0 || titleCount > 0 || linkCount > 0) {
|
||||
console.log(` - 已删除 ${metaCount} 个 meta、${titleCount} 个 title 和 ${linkCount} 个 link 标签`);
|
||||
}
|
||||
|
||||
// 10. 去除所有 script 标签(包括内联和外部脚本)
|
||||
console.log(' 去除 script 标签...');
|
||||
const scriptCount = (content.match(/<script[^>]*>[\s\S]*?<\/script>/gi) || []).length;
|
||||
content = content.replace(/<script[^>]*>[\s\S]*?<\/script>/gi, '');
|
||||
if (scriptCount > 0) {
|
||||
console.log(` - 已删除 ${scriptCount} 个 script 标签`);
|
||||
}
|
||||
|
||||
// 11. 提取 body 内容并重组 HTML
|
||||
console.log(' 重组 HTML 结构...');
|
||||
const bodyMatch = content.match(/<body[^>]*>([\s\S]*?)<\/body>/i);
|
||||
if (bodyMatch) {
|
||||
const bodyContent = bodyMatch[1];
|
||||
|
||||
// 重新构建 HTML:CSS 链接 + body 内容
|
||||
let newContent = '';
|
||||
|
||||
// 将所有 CSS 链接放到顶部
|
||||
if (cssLinks.length > 0) {
|
||||
newContent = cssLinks.join('\n') + '\n\n';
|
||||
}
|
||||
|
||||
// 添加 body 内容
|
||||
newContent += bodyContent;
|
||||
|
||||
content = newContent;
|
||||
console.log(` - 已提取 body 内容并移除其他标签`);
|
||||
} else {
|
||||
// 如果找不到 body 标签,尝试去除 html、head、body 等标签
|
||||
content = content.replace(/<\/?html[^>]*>/gi, '');
|
||||
content = content.replace(/<head[^>]*>[\s\S]*?<\/head>/gi, '');
|
||||
content = content.replace(/<\/?body[^>]*>/gi, '');
|
||||
|
||||
// 将 CSS 链接放到最前面
|
||||
if (cssLinks.length > 0) {
|
||||
content = cssLinks.join('\n') + '\n\n' + content;
|
||||
}
|
||||
console.log(` - 已去除 HTML 结构标签`);
|
||||
}
|
||||
|
||||
// 清理多余的空行
|
||||
content = content.replace(/\n\s*\n\s*\n/g, '\n\n');
|
||||
|
||||
// 12. 给所有HTML属性值加上引号
|
||||
console.log(' 给HTML属性加上引号...');
|
||||
// 匹配没有引号的属性值:属性名=值(值不以引号开头,且到空格或>结束)
|
||||
// 排除已经有引号的属性
|
||||
content = content.replace(/(\s+[\w\-:]+)=([^"'\s>][^\s>]*)/g, (match, attrName, attrValue) => {
|
||||
// 如果属性值为空或只是一个标志,保持原样
|
||||
if (!attrValue || attrValue === '') {
|
||||
return match;
|
||||
}
|
||||
// 给属性值加上双引号
|
||||
return `${attrName}="${attrValue}"`;
|
||||
});
|
||||
|
||||
// 保存修改后的文件
|
||||
const outputPath = path.join(PUBLIC_DIR, filename);
|
||||
fs.writeFileSync(outputPath, content);
|
||||
|
||||
const newSize = content.length;
|
||||
const reduction = ((originalSize - newSize) / originalSize * 100).toFixed(1);
|
||||
|
||||
console.log(` ✅ 完成:`);
|
||||
console.log(` - 提取图片: ${imageCount} 个`);
|
||||
console.log(` - 提取 CSS: ${cssCount} 个`);
|
||||
console.log(` - 提取字体: ${fontCount} 个`);
|
||||
console.log(` - 删除 meta: ${metaCount} 个`);
|
||||
console.log(` - 删除 title: ${titleCount} 个`);
|
||||
console.log(` - 删除 link: ${linkCount} 个`);
|
||||
console.log(` - 删除 script: ${scriptCount} 个`);
|
||||
console.log(` - 原始大小: ${(originalSize / 1024).toFixed(2)} KB`);
|
||||
console.log(` - 新大小: ${(newSize / 1024).toFixed(2)} KB`);
|
||||
console.log(` - 减少: ${reduction}%`);
|
||||
|
||||
// 验证生成的文件
|
||||
if (imageCount > 0 || cssCount > 0 || fontCount > 0) {
|
||||
console.log(` ℹ️ 提示: 请确保资源路径 /Q3h9Lm2Rk8VzNwXa/st/assets/ 在服务器上可访问\n`);
|
||||
} else {
|
||||
console.log(` ℹ️ 未找到可提取的资源\n`);
|
||||
}
|
||||
});
|
||||
|
||||
console.log('✅ 资源提取完成!');
|
||||
console.log('\n📁 资源文件位置:');
|
||||
console.log(` - 图片: ${IMG_DIR}`);
|
||||
console.log(` - CSS: ${CSS_DIR}`);
|
||||
console.log(` - 字体: ${FONTS_DIR}`);
|
||||
console.log('\n✨ 自动优化:');
|
||||
console.log(' ✅ DOCTYPE 和 HTML 注释已删除');
|
||||
console.log(' ✅ 所有 meta、title 和 link 标签已删除(保留生成的 stylesheet)');
|
||||
console.log(' ✅ 所有 script 标签已删除');
|
||||
console.log(' ✅ 所有 style 已提取到 CSS 文件');
|
||||
console.log(' ✅ 只保留 body 内的内容');
|
||||
console.log(' ✅ CSS 引用已放到顶部');
|
||||
console.log(' ✅ 图片扩展名已修复(svg+xml → svg)');
|
||||
console.log(' ✅ 使用绝对路径(/Q3h9Lm2Rk8VzNwXa/st/assets/)');
|
||||
console.log(' ✅ HTML 属性值已自动加上双引号');
|
||||
console.log('\n💡 提示: 刷新浏览器测试页面,所有资源应该正常加载');
|
||||
8849
a1_pl_dpd_post/package-lock.json
generated
Normal file
59
a1_pl_dpd_post/package.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"name": "vue3-clean-architecture",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "run-p type-check build-only",
|
||||
"preview": "vite preview",
|
||||
"test:unit": "vitest --environment jsdom --root src/",
|
||||
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e'",
|
||||
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||
"zip": "node zip.js",
|
||||
"prod": "pnpm run build && pnpm run zip"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/lodash": "^4.17.12",
|
||||
"axios": "^1.7.7",
|
||||
"bootstrap": "^5.3.3",
|
||||
"install": "^0.13.0",
|
||||
"lodash": "^4.17.21",
|
||||
"mitt": "^3.0.1",
|
||||
"moment": "^2.30.1",
|
||||
"pinia": "^2.2.2",
|
||||
"socket.io-client": "^4.8.1",
|
||||
"uuid": "^13.0.0",
|
||||
"vue": "^3.2.45",
|
||||
"vue-i18n": "^10.0.4",
|
||||
"vue-router": "^4.1.6",
|
||||
"vue-scrollto": "^2.20.0",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rushstack/eslint-patch": "^1.1.4",
|
||||
"@types/jsdom": "^20.0.1",
|
||||
"@types/node": "^18.11.12",
|
||||
"@types/uuid": "^11.0.0",
|
||||
"@vitejs/plugin-vue": "^4.0.0",
|
||||
"@vue/eslint-config-prettier": "^7.0.0",
|
||||
"@vue/eslint-config-typescript": "^11.0.0",
|
||||
"@vue/test-utils": "^2.2.6",
|
||||
"@vue/tsconfig": "^0.1.3",
|
||||
"archiver": "^7.0.1",
|
||||
"cypress": "^12.0.2",
|
||||
"eslint": "^8.22.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-vue": "^9.3.0",
|
||||
"jsdom": "^20.0.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.7.1",
|
||||
"start-server-and-test": "^1.15.2",
|
||||
"typescript": "~4.7.4",
|
||||
"vite": "^4.0.0",
|
||||
"vitest": "^0.25.6",
|
||||
"vue-tsc": "^1.0.12"
|
||||
}
|
||||
}
|
||||
5279
a1_pl_dpd_post/pnpm-lock.yaml
generated
Normal file
BIN
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/744x357px_2.png
Normal file
|
After Width: | Height: | Size: 326 KiB |
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 16.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="DPD_Black" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="448.931px" height="206px" viewBox="79.5 293.5 448.931 206" enable-background="new 79.5 293.5 448.931 206"
|
||||
xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#414042" d="M372.345,441.876c-8.398,2.223-19.338,3.323-28.849,3.323c-24.413,0-40.579-12.992-40.579-36.771
|
||||
c0-22.505,15.057-37.083,37.094-37.083c4.912,0,10.14,0.625,13.313,2.216v-32.668h19.021V441.876z M353.324,390.36
|
||||
c-3.013-1.426-6.974-2.219-11.737-2.219c-11.563,0-19.333,7.136-19.333,19.656c0,13.476,8.399,21.087,21.874,21.087
|
||||
c2.379,0,6.023-0.163,9.196-0.793V390.36z M528.431,441.876c-8.406,2.223-19.343,3.323-28.854,3.323
|
||||
c-24.409,0-40.584-12.992-40.584-36.771c0-22.505,15.064-37.083,37.101-37.083c4.913,0,10.144,0.625,13.315,2.216v-32.668h19.021
|
||||
V441.876z M509.409,390.36c-3.016-1.426-6.979-2.219-11.733-2.219c-11.57,0-19.336,7.136-19.336,19.656
|
||||
c0,13.476,8.399,21.087,21.874,21.087c2.375,0,6.023-0.163,9.195-0.793V390.36z M402.258,390.204
|
||||
c3.168-1.271,7.6-1.742,11.404-1.742c11.733,0,19.818,6.814,19.818,19.015c0,14.393-8.955,20.902-20.929,21.07v16.642
|
||||
c0.314,0,0.634,0.011,0.957,0.011c24.565,0,39.312-13.785,39.312-38.354c0-22.35-15.691-35.501-38.836-35.501
|
||||
c-11.727,0-23.304,2.695-30.91,5.862v94.953h19.184V390.204z"/>
|
||||
|
||||
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="366.751" y1="-291.9131" x2="736.271" y2="18.1508" gradientTransform="matrix(0.229 0 0 -0.229 0.3856 397.0497)">
|
||||
<stop offset="0" style="stop-color:#A90034"/>
|
||||
<stop offset="0.2717" style="stop-color:#BB0033"/>
|
||||
<stop offset="0.7226" style="stop-color:#D30032"/>
|
||||
<stop offset="1" style="stop-color:#DC0032"/>
|
||||
</linearGradient>
|
||||
<path fill="url(#SVGID_1_)" d="M199.681,385.541c-0.787,0.459-2.021,0.423-2.789-0.052l-4.522-2.688
|
||||
c-0.368-0.228-0.706-0.593-0.961-1.032c-0.015-0.025-0.03-0.051-0.045-0.077c-0.289-0.471-0.453-0.968-0.47-1.424l-0.115-5.272
|
||||
c-0.034-0.888,0.552-1.971,1.342-2.432l54.362-31.67l-76.285-41.577c-0.84-0.466-1.948-0.691-3.057-0.693
|
||||
c-1.11-0.002-2.22,0.229-3.061,0.693l-76.286,41.578l85.46,49.75c0.792,0.433,1.394,1.461,1.394,2.389v72.576
|
||||
c0,0.911-0.652,1.958-1.45,2.384l-4.599,2.554c-0.382,0.203-0.868,0.312-1.376,0.312c-0.029,0-0.059,0-0.088,0
|
||||
c-0.552,0.013-1.065-0.096-1.467-0.312l-4.614-2.555c-0.784-0.417-1.425-1.469-1.425-2.383l0.001-64.698
|
||||
c-0.041-0.474-0.388-1.052-0.768-1.27l-75.292-43.829v85.848c-0.001,1.921,1.354,4.291,3.014,5.262l77.543,45.732
|
||||
c0.829,0.486,1.921,0.728,3.012,0.724c1.092-0.003,2.184-0.231,3.011-0.723l77.555-45.733c1.654-0.981,3.005-3.338,3.003-5.262
|
||||
v-85.847L199.681,385.541z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
BIN
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/fc.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
412
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/footer.html
Normal file
@@ -0,0 +1,412 @@
|
||||
<div class="gold-bg-color">
|
||||
<footer class="page-footer container" style="pointer-events: none;">
|
||||
<!--footer tablet/desktop-->
|
||||
<div class="row-fix-margin-auto desktop-footer d-none d-md-block gold-bg-color">
|
||||
<div class="col-12">
|
||||
<div class="row footer-sitemap">
|
||||
<div class="col-md-9 col-lg-10">
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-lg-2 footer-links">
|
||||
<div class="mb-4">
|
||||
<p class="small-text mb-3">
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/" class="grey-color">Oferta dla firm</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/uslugi-krajowe-dpd-polska/"
|
||||
class="grey-color">Usługi krajowe</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/uslugi-miedzynarodowe-dpd-polska/"
|
||||
class="grey-color">Usługi międzynarodowe</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/warunki-wysylki/" class="grey-color">Warunki
|
||||
wysyłki</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/rozwiazania-it-dpd-polska/"
|
||||
class="grey-color">Rozwiązania IT DPD Polska</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-lg-2 footer-links">
|
||||
<div class="mb-4">
|
||||
<p class="small-text mb-3">
|
||||
<a href="https://www.dpd.com/pl/pl/obsluga-klienta/" class="grey-color">Moje DPD</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/moje-dpd/dokumenty-dpd-polska/" class="grey-color">Dokumenty DPD
|
||||
Polska</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/moje-dpd/zostan-klientem-dpd-polska/" class="grey-color">Zostań
|
||||
naszym Klientem</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/dpd-pickup/znajdz-punkt-dpd-pickup/" class="grey-color">Znajdź
|
||||
punkt DPD Pickup</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://zk.dpd.com.pl" class="grey-color">Zamów kuriera</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-lg-2 footer-links">
|
||||
<div class="mb-4">
|
||||
<p class="small-text mb-3">
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/" class="grey-color">O DPD</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/wazne-komunikaty/" class="grey-color">Ważne komunikaty</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/centrum-prasowe/" class="grey-color">Centrum prasowe</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/centrum-marki-dpd/" class="grey-color">Centrum marki
|
||||
DPD</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-lg-2 footer-links">
|
||||
<div class="mb-4">
|
||||
<p class="small-text mb-3">
|
||||
<a href="https://kariera.dpd.com.pl" class="grey-color">Kariera</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://kariera.dpd.com.pl/#mapa" class="grey-color">Aktualne ogłoszenia pracy</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://kurier.dpd.com.pl/" class="grey-color">Zostań kurierem</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-lg-2 footer-links">
|
||||
<div class="mb-4">
|
||||
<p class="small-text mb-3">
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/uslugi-miedzynarodowe-dpd-polska/"
|
||||
class="grey-color">Przesyłki międzynarodowe</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://nadaj.dpd.com.pl" class="grey-color">Nadaj paczkę</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/paczka-do-francji/" class="grey-color">Paczka do Francji</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/paczka-do-niemiec/" class="grey-color">Paczka do Niemiec</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<!-- External 789 -->
|
||||
<a href="https://www.dpd.com/pl/pl/paczka-do-czech/" class="grey-color">Paczka do Czech</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 col-lg-2">
|
||||
|
||||
<div id="dpd_social_accounts_wg-2" class="widget dpd_social_accounts_wg">
|
||||
<div class="widget__inner dpd_social_accounts_wg__inner widget-wrap">
|
||||
<div class="mb-3">
|
||||
<p class="small-text mb-2">Social Media</p>
|
||||
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.tiktok.com/@dpd.pl" class="social-link primary-color mr-3" target="_blank"><img
|
||||
class="mb-1"
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2026/04/tiktok-rgb-blackred.png"
|
||||
width="22" height="22"></a><a href="https://www.instagram.com/dpdpolska/"
|
||||
class="social-link primary-color mr-3" target="_blank"><img class="mb-1"
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2018/08/Instagram_blackred_pos_rgb.svg"
|
||||
width="22" height="22"></a><a href="https://www.youtube.com/@DPDPolska_PL/videos"
|
||||
class="social-link primary-color mr-3" target="_blank"><img class="mb-1"
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2018/08/Youtube_blackred_pos_rgb.svg"
|
||||
width="22" height="22"></a><a href="https://www.linkedin.com/company/dpd-polska-sp-z-o-o/"
|
||||
class="social-link primary-color mr-3" target="_blank"><img class="mb-1"
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2018/08/LinkedIn_blackred_pos_rgb.svg"
|
||||
width="22" height="22"></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="custom_html-2" class="widget_text widget widget_custom_html">
|
||||
<div class="widget_text widget__inner widget_custom_html__inner widget-wrap">
|
||||
<div class="textwidget custom-html-widget"><a href="#"
|
||||
onclick="tC.privacyCenter.showPrivacyCenter();return false">Cookies</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row no-gutters vertical-align footer-social">
|
||||
<div class="footer-clear col-12 bold-bg-color mb-3"></div>
|
||||
<div class="col-lg-4 col-md-3 px-md-0 small-text font-light footer-logo">
|
||||
<img
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2023/03/GEOPOST_logo-endorsement_redblack_rgb-svg.png"
|
||||
alt="DPD Polska jest członkiem sieci Geopost. Logo Geopost."><span> © 2026 DPD</span>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-8 col-md-9 px-0 footer-menu">
|
||||
<nav class="nav d-inline-block footer-text font-light footer-nav float-right"><!-- Internal 4915 -->
|
||||
<ul class="footer-link px-0">
|
||||
|
||||
<li>
|
||||
<a href="https://www.dpd.com/pl/pl/polityka-prywatnosci/" class="grey-color">Polityka prywatności</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/kontakt-2/" class="grey-color">Kontakt</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/ochrona-danych-osobowych/" class="grey-color">Ochrona danych
|
||||
osobowych</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.dpd.com/pl/pl/moje-dpd/zostan-klientem-dpd-polska/" class="grey-color">Zostań
|
||||
naszym klientem</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://kurier.dpd.com.pl/" class="grey-color">Zostań kurierem</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.geopost.com/en/" class="grey-color">Geopost</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="language-items text-nowrap">
|
||||
<select id="footer-language-select" class="footer-language-select pt-1 small-text"
|
||||
name="footer-language-select" onchange="location = this.value;">
|
||||
|
||||
<option value="https://www.dpd.com/pl/en/">English</option>
|
||||
<option value="https://www.dpd.com/pl/pl/" selected="">Polish</option>
|
||||
</select>
|
||||
<a class="select-arrow" href="javascript:void(0)"><svg
|
||||
class="svg-inline--fa fa-chevron-down fa-w-14 grey-color" aria-hidden="true" focusable="false"
|
||||
data-prefix="fas" data-icon="chevron-down" role="img" xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 448 512" data-fa-i2svg="">
|
||||
<path fill="currentColor"
|
||||
d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z">
|
||||
</path>
|
||||
</svg><!-- <i class="grey-color fas fa-chevron-down"></i> Font Awesome fontawesome.com --></a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--footer mobile-->
|
||||
<div class="row-fix-margin-auto mobile-footer d-block d-md-none gold-bg-color">
|
||||
<div class="col-12 no-padding">
|
||||
<div class="row">
|
||||
<div class="col-12 footer-menu-root-item">
|
||||
<p class="small-text mb-2 footer-link-toggle">
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/" class="grey-color">
|
||||
Oferta dla firm </a>
|
||||
</p>
|
||||
<i class="footer-sub-expand"></i>
|
||||
<div class="footer-link-content">
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/uslugi-krajowe-dpd-polska/" class="grey-color">Usługi
|
||||
krajowe</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/uslugi-miedzynarodowe-dpd-polska/"
|
||||
class="grey-color">Usługi międzynarodowe</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/warunki-wysylki/" class="grey-color">Warunki
|
||||
wysyłki</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/rozwiazania-it-dpd-polska/"
|
||||
class="grey-color">Rozwiązania IT DPD Polska</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 footer-menu-root-item">
|
||||
<p class="small-text mb-2 footer-link-toggle">
|
||||
<a href="https://www.dpd.com/pl/pl/obsluga-klienta/" class="grey-color">
|
||||
Moje DPD </a>
|
||||
</p>
|
||||
<i class="footer-sub-expand"></i>
|
||||
<div class="footer-link-content">
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/moje-dpd/dokumenty-dpd-polska/" class="grey-color">Dokumenty DPD
|
||||
Polska</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/moje-dpd/zostan-klientem-dpd-polska/" class="grey-color">Zostań
|
||||
naszym Klientem</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/dpd-pickup/znajdz-punkt-dpd-pickup/" class="grey-color">Znajdź punkt
|
||||
DPD Pickup</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://zk.dpd.com.pl" class="grey-color">Zamów kuriera</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 footer-menu-root-item">
|
||||
<p class="small-text mb-2 footer-link-toggle">
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/" class="grey-color">
|
||||
O DPD </a>
|
||||
</p>
|
||||
<i class="footer-sub-expand"></i>
|
||||
<div class="footer-link-content">
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/wazne-komunikaty/" class="grey-color">Ważne komunikaty</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/centrum-prasowe/" class="grey-color">Centrum prasowe</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/centrum-marki-dpd/" class="grey-color">Centrum marki DPD</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 footer-menu-root-item">
|
||||
<p class="small-text mb-2 footer-link-toggle">
|
||||
<a href="https://kariera.dpd.com.pl" class="grey-color">
|
||||
Kariera </a>
|
||||
</p>
|
||||
<i class="footer-sub-expand"></i>
|
||||
<div class="footer-link-content">
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://kariera.dpd.com.pl/#mapa" class="grey-color">Aktualne ogłoszenia pracy</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://kurier.dpd.com.pl/" class="grey-color">Zostań kurierem</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 footer-menu-root-item">
|
||||
<p class="small-text mb-2 footer-link-toggle">
|
||||
<a href="https://www.dpd.com/pl/pl/oferta-dla-firm/uslugi-miedzynarodowe-dpd-polska/" class="grey-color">
|
||||
Przesyłki międzynarodowe </a>
|
||||
</p>
|
||||
<i class="footer-sub-expand"></i>
|
||||
<div class="footer-link-content">
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://nadaj.dpd.com.pl" class="grey-color">Nadaj paczkę</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/paczka-do-francji/" class="grey-color">Paczka do Francji</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/paczka-do-niemiec/" class="grey-color">Paczka do Niemiec</a>
|
||||
</p>
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.dpd.com/pl/pl/paczka-do-czech/" class="grey-color">Paczka do Czech</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 no-padding">
|
||||
|
||||
<div id="dpd_social_accounts_wg-2" class="widget dpd_social_accounts_wg">
|
||||
<div class="widget__inner dpd_social_accounts_wg__inner widget-wrap">
|
||||
<div class="mb-3">
|
||||
<p class="small-text mb-2">Social Media</p>
|
||||
|
||||
<p class="small-text mb-2 font-light">
|
||||
<a href="https://www.tiktok.com/@dpd.pl" class="social-link primary-color mr-3" target="_blank"><img
|
||||
class="mb-1" src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2026/04/tiktok-rgb-blackred.png"
|
||||
width="22" height="22"></a><a href="https://www.instagram.com/dpdpolska/"
|
||||
class="social-link primary-color mr-3" target="_blank"><img class="mb-1"
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2018/08/Instagram_blackred_pos_rgb.svg"
|
||||
width="22" height="22"></a><a href="https://www.youtube.com/@DPDPolska_PL/videos"
|
||||
class="social-link primary-color mr-3" target="_blank"><img class="mb-1"
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2018/08/Youtube_blackred_pos_rgb.svg"
|
||||
width="22" height="22"></a><a href="https://www.linkedin.com/company/dpd-polska-sp-z-o-o/"
|
||||
class="social-link primary-color mr-3" target="_blank"><img class="mb-1"
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2018/08/LinkedIn_blackred_pos_rgb.svg"
|
||||
width="22" height="22"></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="custom_html-2" class="widget_text widget widget_custom_html">
|
||||
<div class="widget_text widget__inner widget_custom_html__inner widget-wrap">
|
||||
<div class="textwidget custom-html-widget"><a href="#"
|
||||
onclick="tC.privacyCenter.showPrivacyCenter();return false">Cookies</a></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-clear col-12 bold-bg-color mb-3"></div>
|
||||
</div>
|
||||
<div class="col-12 no-padding">
|
||||
<div class="row vertical-align">
|
||||
<div class="col-lg-4 col-md-3 px-md-0 small-text font-light footer-logo">
|
||||
<img
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/uploads/sites/260/2023/03/GEOPOST_logo-endorsement_redblack_rgb-svg.png"
|
||||
alt="DPD Polska jest członkiem sieci Geopost. Logo Geopost."><span> © 2026 DPD</span>
|
||||
</div>
|
||||
<div class="col-12 footer-menu">
|
||||
<nav class="nav d-block pt-1 small-text font-light footer-nav">
|
||||
<ul class="footer-link">
|
||||
<li>
|
||||
<a href="https://www.dpd.com/pl/pl/polityka-prywatnosci/" class="grey-color">Polityka prywatności</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/kontakt-2/" class="grey-color">Kontakt</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.dpd.com/pl/pl/o-dpd/ochrona-danych-osobowych/" class="grey-color">Ochrona danych
|
||||
osobowych</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.dpd.com/pl/pl/moje-dpd/zostan-klientem-dpd-polska/" class="grey-color">Zostań
|
||||
naszym klientem</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://kurier.dpd.com.pl/" class="grey-color">Zostań kurierem</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.geopost.com/en/" class="grey-color">Geopost</a>
|
||||
</li>
|
||||
<li class="language-items text-nowrap">
|
||||
<select id="footer-language-select" class="footer-language-select pt-1 small-text"
|
||||
name="footer-language-select" onchange="location = this.value;">
|
||||
|
||||
<option value="https://www.dpd.com/pl/en/">English</option>
|
||||
<option value="https://www.dpd.com/pl/pl/" selected="">Polish</option>
|
||||
</select>
|
||||
<a class="select-arrow" href="javascript:void(0)"><svg
|
||||
class="svg-inline--fa fa-chevron-down fa-w-14 grey-color" aria-hidden="true" focusable="false"
|
||||
data-prefix="fas" data-icon="chevron-down" role="img" xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 448 512" data-fa-i2svg="">
|
||||
<path fill="currentColor"
|
||||
d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z">
|
||||
</path>
|
||||
</svg><!-- <i class="grey-color fas fa-chevron-down"></i> Font Awesome fontawesome.com --></a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
401
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/header.html
Normal file
@@ -0,0 +1,401 @@
|
||||
<div class="container">
|
||||
<!--header-->
|
||||
<header class="row-fix-margin-auto justify-content-between sticky-header border-bot-none" style="pointer-events: none;">
|
||||
<!-- External 588 -->
|
||||
|
||||
<!--navbar-->
|
||||
<nav class="navbar mainnavbar padding-header col-12 col-sm-12 col-md-12 pb-0 navbar-expand-md">
|
||||
<a class="navbar-brand" href="https://www.dpd.com/pl/pl/"><img
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/images/DPD_logo_redgrad_rgb_responsive.svg"
|
||||
class="size-icon-logo" alt="DPD logo"></a>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav d-md-none d-lg-flex font-light">
|
||||
|
||||
|
||||
<li class="nav-item menu-item menu-item-type-post_type menu-item-object-page">
|
||||
<a class="nav-link " href="https://www.dpd.com/pl/pl/odbieram-paczke/"><span>Odbieram</span></a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown has-sub menu-item menu-item-type-custom menu-item-object-custom">
|
||||
<a class="nav-link dropdown-toggle" href="https://nadaj.dpd.com.pl/"><span>Wysyłam</span></a>
|
||||
<i class="sub-expand active"></i>
|
||||
<div class="dropdown-menu">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-6"><!-- Empty div for bootstrap Grid --></div>
|
||||
<div class="col-12">
|
||||
<p class="flyout-headline"></p>
|
||||
<div class="row font-light mb-4 sub">
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-custom menu-item-object-custom"
|
||||
style="border-bottom: 1px solid #e6e7e8" href="https://nadaj.dpd.com.pl/">
|
||||
<span>Wyślij paczkę</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/cennik-przesylek-krajowych/">
|
||||
<span>Cennik przesyłek krajowych</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/cennik-przesylek-miedzynarodowych/">
|
||||
<span>Cennik przesyłek międzynarodowych</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/regulaminy-dpd-pickup/">
|
||||
<span>Regulaminy DPD Pickup</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown has-sub menu-item menu-item-type-post_type menu-item-object-page">
|
||||
<a class="nav-link dropdown-toggle" href="https://www.dpd.com/pl/pl/oferta-dla-firm/"><span>Oferta dla
|
||||
firm</span></a>
|
||||
<i class="sub-expand active"></i>
|
||||
<div class="dropdown-menu">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-6"><!-- Empty div for bootstrap Grid --></div>
|
||||
<div class="col-12">
|
||||
<p class="flyout-headline"></p>
|
||||
<div class="row font-light mb-4 sub">
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/wideorozmowa-z-ekspertem-dla-klientow-biznesowych/">
|
||||
<span>Wideorozmowa z Ekspertem DPD</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/podpisanie-umowy-online/">
|
||||
<span>Podpisanie umowy online</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/dpd-pickup-dla-firm/">
|
||||
<span>DPD Pickup dla firm</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/uslugi-krajowe-dpd-polska/">
|
||||
<span>Usługi krajowe</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/ekspresowy-serwis-krajowy/">
|
||||
<span>Ekspresowy serwis krajowy</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-custom menu-item-object-custom"
|
||||
style="border-bottom: 1px solid #e6e7e8" href="https://sklep.dpd.com.pl/">
|
||||
<span>eSklep z opakowaniami</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/dpd-fulfillment/">
|
||||
<span>DPD Fulfillment</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/uslugi-miedzynarodowe-dpd-polska/">
|
||||
<span>Usługi międzynarodowe</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/miedzynarodowy-serwis-paletowy-dpd-max/">
|
||||
<span>Międzynarodowy serwis paletowy</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/dpd-food/">
|
||||
<span>DPD Food</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/rozwiazania-it-dpd-polska/">
|
||||
<span>Rozwiązania IT DPD Polska</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/oferta-dla-firm/warunki-wysylki/">
|
||||
<span>Warunki wysyłki</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/odprawa-celna-w-dpd-polska/">
|
||||
<span>Odprawa celna w DPD Polska</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown has-sub menu-item menu-item-type-post_type menu-item-object-page">
|
||||
<a class="nav-link dropdown-toggle" href="https://www.dpd.com/pl/pl/dpd-pickup/"><span>Sieć DPD
|
||||
Pickup</span></a>
|
||||
<i class="sub-expand active"></i>
|
||||
<div class="dropdown-menu">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-6"><!-- Empty div for bootstrap Grid --></div>
|
||||
<div class="col-12">
|
||||
<p class="flyout-headline"></p>
|
||||
<div class="row font-light mb-4 sub">
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/dpd-pickup/dpd-pickup-europa/">
|
||||
<span>DPD Pickup Europa</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/dpd-pickup/znajdz-punkt-dpd-pickup/">
|
||||
<span>Znajdź punkt DPD Pickup</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/znajd-automat-paczkowy-dpd-pickup/">
|
||||
<span>Znajdź automat paczkowy DPD Pickup</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/dpd-pickup/otworz-punkt-dpd-pickup/">
|
||||
<span>Otwórz punkt DPD Pickup</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/dpd-pickup/oddzialy-miejskie-dpd-polska/">
|
||||
<span>DPD Pickup Oddziały Miejskie</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/automaty-paczkowe-dpd-pickup/">
|
||||
<span>Automaty paczkowe DPD Pickup</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/moje-dpd/dpd-mobile/">
|
||||
<span>Aplikacja DPD Mobile</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/strefa-promocji-dpd/">
|
||||
<span>Strefa Promocji DPD</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/dpd-pickup/dpd-pickup-drive/">
|
||||
<span>DPD Pickup Drive</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown has-sub menu-item menu-item-type-post_type menu-item-object-page">
|
||||
<a class="nav-link dropdown-toggle" href="https://www.dpd.com/pl/pl/obsluga-klienta/"><span>Moje
|
||||
DPD</span></a>
|
||||
<i class="sub-expand active"></i>
|
||||
<div class="dropdown-menu">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-6"><!-- Empty div for bootstrap Grid --></div>
|
||||
<div class="col-12">
|
||||
<p class="flyout-headline"></p>
|
||||
<div class="row font-light mb-4 sub">
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/moje-dpd/dokumenty-dpd-polska/">
|
||||
<span>Dokumenty</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/moje-dpd/zostan-klientem-dpd-polska/">
|
||||
<span>Zostań klientem</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/moje-dpd/formularz-e-faktura/">
|
||||
<span>E-faktura</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8"
|
||||
href="https://www.dpd.com/pl/pl/moje-dpd/zamow-kuriera/">
|
||||
<span>Zamów kuriera</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
style="border-bottom: 1px solid #e6e7e8" href="https://www.dpd.com/pl/pl/reklamacje-skargi/">
|
||||
<span>Reklamacje/Skargi</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/moje-dpd/kontakt-z-przedstawicielem-handlowym/">
|
||||
<span>Przedstawiciel handlowy</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/moje-dpd/poradniki-dpd-polska/">
|
||||
<span>Poradniki DPD Polska</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-post_type menu-item-object-page"
|
||||
href="https://www.dpd.com/pl/pl/najczesciej-zadawane-pytania-faq/">
|
||||
<span>Najczęściej zadawane pytania (FAQ)</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown has-sub menu-item menu-item-type-custom menu-item-object-custom">
|
||||
<a class="nav-link dropdown-toggle" href="https://kariera.dpd.com.pl/"><span>Kariera</span></a>
|
||||
<i class="sub-expand active"></i>
|
||||
<div class="dropdown-menu">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-6"><!-- Empty div for bootstrap Grid --></div>
|
||||
<div class="col-12">
|
||||
<p class="flyout-headline"></p>
|
||||
<div class="row font-light mb-4 sub">
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-custom menu-item-object-custom"
|
||||
href="https://kariera.dpd.com.pl/">
|
||||
<span>Aktualne ogłoszenia pracy</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<a class="dropdown-item menu-item menu-item-type-custom menu-item-object-custom"
|
||||
href="https://kurier.dpd.com.pl/">
|
||||
<span>Zostań kurierem</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<form action="https://www.dpd.com/pl/pl/" id="search-desktop" method="GET">
|
||||
<div class="input-box search-box wide-search-box d-none d-md-block l-search header-search right-search-header">
|
||||
<input type="text" name="s" class="text-search-box text-box pt-1 font-light" placeholder="Wyszukiwane hasło"
|
||||
value="">
|
||||
<i class="input-icon"><img src="/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/images/magnifier.svg"
|
||||
alt=""></i>
|
||||
<span class="search-close"><img src="/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/images/x-black.svg"
|
||||
alt=""></span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form action="https://www.dpd.com/pl/pl/" id="search-mobile" method="GET">
|
||||
<div class="mobile-search input-box search-box wide-search-box d-block d-md-none l-search">
|
||||
<img class="mobile-search-close search-close"
|
||||
src="/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/images/close-x-big-blk.svg" alt="">
|
||||
<!-- Internal 5062 -->
|
||||
<p class="font-light text-center">Wyszukiwanie</p>
|
||||
<input type="text" name="s" class="text-search-box font-light col-10 offset-1" placeholder="Wyszukiwane hasło"
|
||||
value="">
|
||||
<!-- End Internal 5062 -->
|
||||
<i class="input-icon"><img src="/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/images/magnifier.svg"
|
||||
alt=""></i>
|
||||
<span class="clear-text"><img src="/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/images/x-black.svg"
|
||||
alt=""></span>
|
||||
<!-- Internal 5062 -->
|
||||
<div class="search-term-wrap-mobile">
|
||||
</div>
|
||||
<!-- End Internal 5062 -->
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<style>
|
||||
.menu-parcel-icon {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
header .navbar .wide-search-box.right-search-header.parcel-icon-active {
|
||||
right: 90px !important;
|
||||
left: calc(100% - 135px);
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.menu-parcel-icon {
|
||||
position: relative;
|
||||
/* left: calc(0 + 30px); */
|
||||
left: 30px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<span class="offmenu-toggle"><img src="/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/images/burger-menu.svg"
|
||||
alt=""></span>
|
||||
</nav>
|
||||
|
||||
<!-- External 636 -->
|
||||
<div class="container">
|
||||
<div class="holder-menu-wrapper">
|
||||
<div class="holder-menu" style="top: -9999px; position: absolute;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<!--content-->
|
||||
</div>
|
||||
3013
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/pl/pl/index.html
Normal file
@@ -0,0 +1 @@
|
||||
No Content: https://www.dpd.com/pl/wp-admin/admin-ajax.php?action=fm_init_cookies&method=POST&dataType=json
|
||||
@@ -0,0 +1 @@
|
||||
["\/wp-content\/uploads\/sites\/260\/2023\/11\/nuja_logo.png","\/wp-content\/uploads\/sites\/260\/2023\/11\/food-jack-logo.png","\/wp-content\/uploads\/sites\/260\/2023\/11\/stejki.png","\/wp-content\/uploads\/sites\/260\/2023\/11\/bianca.png","\/wp-content\/uploads\/sites\/260\/2023\/12\/dpd_mobile_telefon.jpg","\/wp-content\/uploads\/sites\/260\/2023\/09\/KurierkaMarta-2.jpg","\/wp-content\/uploads\/sites\/260\/2024\/01\/market_swiezosci_1200x325px.jpg","\/wp-content\/uploads\/sites\/260\/2024\/01\/certyfiat_HR_logo_277x300.jpg","\/wp-content\/uploads\/sites\/260\/2024\/01\/certyfiat_HR_logo_476x220.jpg","\/wp-content\/uploads\/sites\/260\/2023\/12\/Szczegolowe-Warunki-Swiadczenia-Uslug_01.2024_PL.pdf","\/wp-content\/uploads\/sites\/260\/2024\/02\/kokonki_banner_glowna_desktop.jpg","\/wp-content\/uploads\/sites\/260\/2024\/02\/kokonki_banner_glowna_galaxy_fold.jpg","\/wp-content\/uploads\/sites\/260\/2024\/02\/kokonki_banner_glowna_galaxy_fold_nowa.jpg","\/wp-content\/uploads\/sites\/260\/2024\/02\/kokonki_banner_glowna_mobile_nowa.jpg","\/wp-content\/uploads\/sites\/260\/2024\/02\/kokonki_banner_glowna_tablet_mini_nowa.jpg","\/wp-content\/uploads\/sites\/260\/2024\/02\/476-x-220-px.jpg","\/wp-content\/uploads\/sites\/260\/2024\/02\/logosniezkaspizarnia.png","\/wp-content\/uploads\/sites\/260\/2024\/02\/nobo_560x350.jpg","\/wp-content\/uploads\/sites\/260\/2023\/10\/a.jpg","\/wp-content\/uploads\/sites\/260\/2024\/03\/muastore_strefa_promocji.jpg","\/wp-content\/uploads\/sites\/260\/2024\/03\/insport_strefa_promocji.jpg","\/wp-content\/uploads\/sites\/260\/2024\/03\/mobile_slide_v2_Duzy-tablet.jpg","\/wp-content\/uploads\/sites\/260\/2024\/03\/560x350_insport_dpd.png","\/wp-content\/uploads\/sites\/260\/2024\/03\/denley_476x220.jpg","\/wp-content\/uploads\/sites\/260\/2024\/03\/denley_300x220.jpg","\/wp-content\/uploads\/sites\/260\/2024\/03\/denley_540x220.jpg","\/wp-content\/uploads\/sites\/260\/2024\/03\/denley_900x220.jpg","\/wp-content\/uploads\/sites\/260\/2024\/05\/tresc.jpg","\/wp-content\/uploads\/sites\/260\/2024\/05\/mietus_strefa_promocji.jpg","\/wp-content\/uploads\/sites\/260\/2024\/05\/orteo_strefa_promocji.png","\/wp-content\/uploads\/sites\/260\/2024\/05\/476x220.png","\/wp-content\/uploads\/sites\/260\/2024\/05\/300x220.png","\/wp-content\/uploads\/sites\/260\/2024\/05\/1124-x-140.png","\/wp-content\/uploads\/sites\/260\/2024\/05\/900x220px.png","\/wp-content\/uploads\/sites\/260\/2024\/05\/france_auto_strefa_promocji.png","\/wp-content\/uploads\/sites\/260\/2024\/05\/540x220px.png","\/wp-content\/uploads\/sites\/260\/2024\/05\/urban_city_slider_476x220.jpg","\/wp-content\/uploads\/sites\/260\/2024\/06\/CLEANGANG_DPD_476x220.jpg","\/wp-content\/uploads\/sites\/260\/2024\/06\/CLEANGANG_DPD_1124x140.jpg","\/wp-content\/uploads\/sites\/260\/2024\/06\/CLEANGANG_DPD_300x220.jpg","\/wp-content\/uploads\/sites\/260\/2024\/06\/CLEANGANG_DPD_900x220-copy.jpg","\/wp-content\/uploads\/sites\/260\/2024\/06\/CLEANGANG_DPD_540x_220.jpg","\/wp-content\/uploads\/sites\/260\/2024\/06\/reserved_grafika_glowna.png","\/wp-content\/uploads\/sites\/260\/2024\/07\/Europa_1200x1200_v5.jpg","\/wp-content\/uploads\/sites\/260\/2024\/08\/loteria_dpdpickup_wlasne_Desktop_slider_476x220.jpg","\/wp-content\/uploads\/sites\/260\/2025\/11\/szczyt_paczkowy_2025.pdf"]
|
||||
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19" viewBox="0 0 10 19">
|
||||
<g>
|
||||
<title>Layer 1</title>
|
||||
<path transform="rotate(180 4.999999999999999,9.5) " fill="none" fill-rule="evenodd" stroke="#000000" stroke-linecap="round" stroke-width="1.5" d="m9,18l-8,-8.412l8,-8.588" id="svg_1"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 314 B |
@@ -0,0 +1 @@
|
||||
No Content: https://www.dpd.com/pl/wp-content/themes/DPD_NoLogin/js/Hyphenopoly/Hyphenopoly.js
|
||||
@@ -0,0 +1,360 @@
|
||||
/**
|
||||
* @license MIT
|
||||
* Hyphenopoly_Loader 6.0.0 - client side hyphenation
|
||||
* ©2024 Mathias Nater, Güttingen (mathiasnater at gmail dot com)
|
||||
* https://github.com/mnater/Hyphenopoly
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://mnater.github.io/Hyphenopoly/LICENSE
|
||||
*/
|
||||
/* globals Hyphenopoly:readonly */
|
||||
window.Hyphenopoly = {};
|
||||
|
||||
((w, d, H, o) => {
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Shortcut for new Map
|
||||
* @param {any} init - initialiser for new Map
|
||||
* @returns {Map} - empty map
|
||||
*/
|
||||
const mp = (init) => {
|
||||
return new Map(init);
|
||||
};
|
||||
|
||||
const scriptName = "Hyphenopoly_Loader.js";
|
||||
const thisScript = d.currentScript.src;
|
||||
const store = sessionStorage;
|
||||
let mainScriptLoaded = false;
|
||||
|
||||
/**
|
||||
* The main function runs the feature test and loads Hyphenopoly if
|
||||
* necessary.
|
||||
*/
|
||||
const main = (() => {
|
||||
const shortcuts = {
|
||||
"ac": "appendChild",
|
||||
"ce": "createElement",
|
||||
"ct": "createTextNode"
|
||||
};
|
||||
|
||||
/**
|
||||
* Create deferred Promise
|
||||
*
|
||||
* From http://lea.verou.me/2016/12/resolve-promises-externally-with-
|
||||
* this-one-weird-trick/
|
||||
* @returns {Promise} - deferred promise
|
||||
*/
|
||||
const defProm = () => {
|
||||
let res = null;
|
||||
let rej = null;
|
||||
const promise = new Promise((resolve, reject) => {
|
||||
res = resolve;
|
||||
rej = reject;
|
||||
});
|
||||
promise.resolve = res;
|
||||
promise.reject = rej;
|
||||
return promise;
|
||||
};
|
||||
|
||||
H.ac = new AbortController();
|
||||
const fetchOptions = {
|
||||
"credentials": H.s.CORScredentials,
|
||||
"signal": H.ac.signal
|
||||
};
|
||||
|
||||
let stylesNode = null;
|
||||
|
||||
/**
|
||||
* Define function H.hide.
|
||||
* This function hides (state = 1) or unhides (state = 0)
|
||||
* the whole document (mode == 0) or
|
||||
* each selected element (mode == 1) or
|
||||
* text of each selected element (mode == 2) or
|
||||
* nothing (mode == -1)
|
||||
* @param {number} state - State
|
||||
* @param {number} mode - Mode
|
||||
*/
|
||||
H.hide = (state, mode) => {
|
||||
if (state) {
|
||||
const vis = (mode === 2)
|
||||
? "{color:transparent!important}"
|
||||
: "{visibility:hidden!important}";
|
||||
const myStyle = (mode === 0)
|
||||
? "html" + vis
|
||||
: (mode !== -1)
|
||||
? o.keys(H.s.selectors).join(vis) + vis
|
||||
: "";
|
||||
stylesNode = d[shortcuts.ce]("style");
|
||||
stylesNode[shortcuts.ac](d[shortcuts.ct](myStyle));
|
||||
d.head[shortcuts.ac](stylesNode);
|
||||
} else if (stylesNode) {
|
||||
stylesNode.remove();
|
||||
}
|
||||
};
|
||||
|
||||
const tester = (() => {
|
||||
let fakeBody = null;
|
||||
return {
|
||||
|
||||
/**
|
||||
* Append fakeBody with tests to document
|
||||
* @returns {object|null} The body element or null, if no tests
|
||||
*/
|
||||
"ap": () => {
|
||||
if (fakeBody) {
|
||||
d.documentElement[shortcuts.ac](fakeBody);
|
||||
return fakeBody;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
||||
/**
|
||||
* Remove fakeBody
|
||||
* @returns {undefined}
|
||||
*/
|
||||
"cl": () => {
|
||||
if (fakeBody) {
|
||||
fakeBody.remove();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Create and append div with CSS-hyphenated word
|
||||
* @param {string} lang Language
|
||||
* @returns {undefined}
|
||||
*/
|
||||
"cr": (lang) => {
|
||||
if (H.cf.langs.has(lang)) {
|
||||
return;
|
||||
}
|
||||
fakeBody ||= d[shortcuts.ce]("body");
|
||||
const testDiv = d[shortcuts.ce]("div");
|
||||
const ha = "hyphens:auto";
|
||||
testDiv.lang = lang;
|
||||
testDiv.style.cssText = `visibility:hidden;-webkit-${ha};-ms-${ha};${ha};width:48px;font-size:12px;line-height:12px;border:none;padding:0;word-wrap:normal`;
|
||||
testDiv[shortcuts.ac](
|
||||
d[shortcuts.ct](H.lrq.get(lang).wo.toLowerCase())
|
||||
);
|
||||
fakeBody[shortcuts.ac](testDiv);
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
/**
|
||||
* Checks if hyphens (ev.prefixed) is set to auto for the element.
|
||||
* @param {object} elmStyle - the element
|
||||
* @returns {boolean} result of the check
|
||||
*/
|
||||
const checkCSSHyphensSupport = (elmStyle) => {
|
||||
const h = elmStyle.hyphens ||
|
||||
elmStyle.webkitHyphens ||
|
||||
elmStyle.msHyphens;
|
||||
return (h === "auto");
|
||||
};
|
||||
|
||||
H.res = {
|
||||
"he": mp()
|
||||
};
|
||||
|
||||
/**
|
||||
* Load hyphenEngines to H.res.he
|
||||
*
|
||||
* Make sure each .wasm is loaded exactly once, even for fallbacks
|
||||
* Store a list of languages to by hyphenated with each .wasm
|
||||
* @param {string} lang The language
|
||||
* @returns {undefined}
|
||||
*/
|
||||
const loadhyphenEngine = (lang) => {
|
||||
const fn = H.lrq.get(lang).fn;
|
||||
H.cf.pf = true;
|
||||
H.cf.langs.set(lang, "H9Y");
|
||||
if (H.res.he.has(fn)) {
|
||||
H.res.he.get(fn).l.push(lang);
|
||||
} else {
|
||||
H.res.he.set(
|
||||
fn,
|
||||
{
|
||||
"l": [lang],
|
||||
"w": w.fetch(H.paths.patterndir + fn + ".wasm", fetchOptions)
|
||||
}
|
||||
);
|
||||
}
|
||||
};
|
||||
H.lrq.forEach((value, lang) => {
|
||||
if (value.wo === "FORCEHYPHENOPOLY" || H.cf.langs.get(lang) === "H9Y") {
|
||||
loadhyphenEngine(lang);
|
||||
} else {
|
||||
tester.cr(lang);
|
||||
}
|
||||
});
|
||||
const testContainer = tester.ap();
|
||||
if (testContainer) {
|
||||
testContainer.childNodes.forEach((n) => {
|
||||
if (checkCSSHyphensSupport(n.style) && n.offsetHeight > 12) {
|
||||
H.cf.langs.set(n.lang, "CSS");
|
||||
} else {
|
||||
loadhyphenEngine(n.lang);
|
||||
}
|
||||
});
|
||||
tester.cl();
|
||||
}
|
||||
const hev = H.hev;
|
||||
if (H.cf.pf) {
|
||||
H.res.DOM = new Promise((res) => {
|
||||
if (d.readyState === "loading") {
|
||||
d.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
res,
|
||||
{
|
||||
"once": true,
|
||||
"passive": true
|
||||
}
|
||||
);
|
||||
} else {
|
||||
res();
|
||||
}
|
||||
});
|
||||
H.hide(1, H.s.hide);
|
||||
H.timeOutHandler = w.setTimeout(() => {
|
||||
H.hide(0, null);
|
||||
// eslint-disable-next-line no-bitwise
|
||||
if (H.s.timeout & 1) {
|
||||
H.ac.abort();
|
||||
}
|
||||
// eslint-disable-next-line no-console
|
||||
console.info(scriptName + " timed out.");
|
||||
}, H.s.timeout);
|
||||
if (mainScriptLoaded) {
|
||||
H.main();
|
||||
} else {
|
||||
// Load main script
|
||||
fetch(H.paths.maindir + "Hyphenopoly.js", fetchOptions).
|
||||
then((response) => {
|
||||
if (response.ok) {
|
||||
response.blob().then((blb) => {
|
||||
const script = d[shortcuts.ce]("script");
|
||||
script.src = URL.createObjectURL(blb);
|
||||
d.head[shortcuts.ac](script);
|
||||
mainScriptLoaded = true;
|
||||
URL.revokeObjectURL(script.src);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
H.hy6ors = mp();
|
||||
H.cf.langs.forEach((langDef, lang) => {
|
||||
if (langDef === "H9Y") {
|
||||
H.hy6ors.set(lang, defProm());
|
||||
}
|
||||
});
|
||||
H.hy6ors.set("HTML", defProm());
|
||||
H.hyphenators = new Proxy(H.hy6ors, {
|
||||
|
||||
/**
|
||||
* Proxy getter
|
||||
* @param {Map} target - the hy6ors map
|
||||
* @param {string} key - the language
|
||||
* @returns {Promise} - Promise for a hyphenator
|
||||
*/
|
||||
"get": (target, key) => {
|
||||
return target.get(key);
|
||||
},
|
||||
|
||||
/**
|
||||
* Proxy setter, inhibits setting of hyphenators
|
||||
* @returns {boolean} - allways true
|
||||
*/
|
||||
"set": () => {
|
||||
// Inhibit setting of hyphenators
|
||||
return true;
|
||||
}
|
||||
});
|
||||
(() => {
|
||||
if (hev && hev.polyfill) {
|
||||
hev.polyfill();
|
||||
}
|
||||
})();
|
||||
} else {
|
||||
(() => {
|
||||
if (hev && hev.tearDown) {
|
||||
hev.tearDown();
|
||||
}
|
||||
w.Hyphenopoly = null;
|
||||
})();
|
||||
}
|
||||
(() => {
|
||||
if (H.cft) {
|
||||
store.setItem(scriptName, JSON.stringify(
|
||||
{
|
||||
"langs": [...H.cf.langs.entries()],
|
||||
"pf": H.cf.pf
|
||||
}
|
||||
));
|
||||
}
|
||||
})();
|
||||
});
|
||||
|
||||
/**
|
||||
* API exposed config
|
||||
* @param {object} c - the user supplied configuration
|
||||
*/
|
||||
H.config = (c) => {
|
||||
/**
|
||||
* Sets default properties for an Object
|
||||
* @param {object} obj - The object to set defaults to
|
||||
* @param {object} defaults - The defaults to set
|
||||
* @returns {object} the settings in obj complemented with defaults
|
||||
*/
|
||||
const setDefaults = (obj, defaults) => {
|
||||
if (obj) {
|
||||
o.entries(defaults).forEach(([k, v]) => {
|
||||
// eslint-disable-next-line security/detect-object-injection
|
||||
obj[k] ||= v;
|
||||
});
|
||||
return obj;
|
||||
}
|
||||
return defaults;
|
||||
};
|
||||
|
||||
H.cft = Boolean(c.cacheFeatureTests);
|
||||
if (H.cft && store.getItem(scriptName)) {
|
||||
H.cf = JSON.parse(store.getItem(scriptName));
|
||||
H.cf.langs = mp(H.cf.langs);
|
||||
} else {
|
||||
H.cf = {
|
||||
"langs": mp(),
|
||||
"pf": false
|
||||
};
|
||||
}
|
||||
|
||||
const maindir = thisScript.slice(0, (thisScript.lastIndexOf("/") + 1));
|
||||
const patterndir = maindir + "patterns/";
|
||||
H.paths = setDefaults(c.paths, {
|
||||
maindir,
|
||||
patterndir
|
||||
});
|
||||
H.s = setDefaults(c.setup, {
|
||||
"CORScredentials": "include",
|
||||
"hide": "all",
|
||||
"selectors": {".hyphenate": {}},
|
||||
"timeout": 1000
|
||||
});
|
||||
// Change mode string to mode int
|
||||
H.s.hide = ["all", "element", "text"].indexOf(H.s.hide);
|
||||
if (c.handleEvent) {
|
||||
H.hev = c.handleEvent;
|
||||
}
|
||||
|
||||
const fallbacks = mp(o.entries(c.fallbacks || {}));
|
||||
H.lrq = mp();
|
||||
o.entries(c.require).forEach(([lang, wo]) => {
|
||||
H.lrq.set(lang.toLowerCase(), {
|
||||
"fn": fallbacks.get(lang) || lang,
|
||||
wo
|
||||
});
|
||||
});
|
||||
|
||||
main();
|
||||
};
|
||||
})(window, document, Hyphenopoly, Object);
|
||||
@@ -0,0 +1,61 @@
|
||||
(function( $ ) {
|
||||
'use strict';
|
||||
$(document).on('update-blocker-layer-position', function() {
|
||||
setTimeout(function(){
|
||||
$(document).find('.dpd-blocker-layer:visible').each(function(){
|
||||
var parent = $(this).parent();
|
||||
var thumbnail = parent.find('.thumbnail-youtube');
|
||||
var blocker_layer = parent.find('.dpd-blocker-layer');
|
||||
if(Math.ceil(thumbnail.height()) >= Math.ceil(2 * (blocker_layer.find('.dpd-blocker-layer-content').height() + 80))){
|
||||
blocker_layer.addClass('override');
|
||||
}else{
|
||||
blocker_layer.removeClass('override');
|
||||
}
|
||||
});
|
||||
}, 300);
|
||||
});
|
||||
|
||||
$(document).on('append-blocker-layer', function() {
|
||||
$(document).find('img.thumbnail-youtube').each(function(){
|
||||
// ignore modules 017b, 018, 019, 029
|
||||
if(!$(this).closest('.module-017b').length && !$(this).closest('.stage-home-018-include').length && !$(this).closest('.header-theme-page-019-include').length && !$(this).closest('.w-benefits-3').length){
|
||||
var parent = $(this).parent();
|
||||
var blocker_layer = $('<div>');
|
||||
var content = $('<div>');
|
||||
var wrap_play_button = $('<div>');
|
||||
var play_button = $('<img/>');
|
||||
var note = $('<p>');
|
||||
var button = $('<button type="button">');
|
||||
note.addClass('font-normal').text(DPDBlockerLayer.text_note).attr('style', 'color: #fff !important');
|
||||
button.addClass('btn btn-primary').text(DPDBlockerLayer.text_button).attr('style', 'width: auto');
|
||||
content.addClass('dpd-blocker-layer-content').append(note).append(button);
|
||||
play_button.addClass('play-button').attr({src: DPDBlockerLayer.icon, alt: ''});
|
||||
wrap_play_button.addClass('wrap-play-button').append(play_button);
|
||||
blocker_layer.addClass('dpd-blocker-layer override').append(wrap_play_button).append(content);
|
||||
parent.find('.dpd-blocker-layer').remove();
|
||||
parent.append(blocker_layer);
|
||||
|
||||
// click to show cookie settings
|
||||
button.on('click', function(){
|
||||
tC.privacyCenter.showPrivacyCenter();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
});
|
||||
$(document).trigger('update-blocker-layer-position');
|
||||
});
|
||||
$(document).on('remove-blocker-layer', function() {
|
||||
$(document).find('.dpd-blocker-layer').remove();
|
||||
});
|
||||
var timeout_resize = null;
|
||||
$(window).resize(function(){
|
||||
clearTimeout(timeout_resize);
|
||||
timeout_resize = setTimeout(function(){
|
||||
$(document).trigger('update-blocker-layer-position');
|
||||
}, 100);
|
||||
});
|
||||
// update for tab modules 007, 025c, 026b, 030-031, 004, 005
|
||||
$(document).on('click', '.collapsible-toggle, .nav-item a[data-toggle="tab"]', function(){
|
||||
$(document).trigger('update-blocker-layer-position');
|
||||
});
|
||||
})( jQuery );
|
||||
@@ -0,0 +1 @@
|
||||
jQuery(document).ready((function($){$(".carousel").on("touchstart",(function(event){var xClick=event.originalEvent.touches[0].pageX;$(this).one("touchmove",(function(event){var xMove=event.originalEvent.touches[0].pageX;Math.floor(xClick-xMove)>5?$(this).carousel("next"):Math.floor(xClick-xMove)<-5&&$(this).carousel("prev")})),$(".carousel").on("touchend",(function(){$(this).off("touchmove")}))})),$(".dpd-new-header-parcel-tracking").each((function(){openLink=$(this).find(".target-open-tab").val(),$(this).find(".icon-for-search-parcel-tracking").click((function(event){event.preventDefault();var input_id=$(this).siblings(".input-search").find("input").data("id"),keyword=$("input#"+input_id).val(),trackingLink=$(this).attr("value");trackingLink||(trackingLink=$(this).siblings("span.icon-for-search-parcel-tracking").attr("value"));var search=trackingLink+keyword;window.open(search,openLink).focus()}))})),$(this).find(".dpd-new-header-parcel-tracking input").on("keypress",(function(e){if(13===e.which){var span_e=$(this).closest(".dpd-new-header-parcel-tracking").find("span:visible");if(span_e.length>1)return void span_e.eq(1).click();span_e.eq(0).click()}}))}));
|
||||
@@ -0,0 +1 @@
|
||||
jQuery(document).ready((function($){$(this).find(".so-widget-search-parcel-tracking-embedded-widget").each((function(){openLink=$(this).find(".target-open-tab").val(),$(this).find(".icon-for-search-parcel-tracking").click((function(event){event.preventDefault();var input_id=$(this).siblings("input").data("id"),keyword=$("input#"+input_id).val(),trackingLink=$(this).attr("value");trackingLink||(trackingLink=$(this).siblings("span.icon-for-search-parcel-tracking").attr("value"));var search=trackingLink+keyword;window.open(search,openLink).focus()}))})),$(this).find(".so-widget-search-parcel-tracking-embedded-widget input").on("keypress",(function(e){if(13===e.which){var span_e=$(this).closest(".so-widget-search-parcel-tracking-embedded-widget").find("span:visible");if(span_e.length>1)return void span_e.eq(1).click();span_e.eq(0).click()}}))}));
|
||||
@@ -0,0 +1 @@
|
||||
jQuery(document).ready((function($){$(this).find(".so-widget-search-parcel-tracking-widget").each((function(){openLink=$(this).find(".target-open-tab").val(),$(this).find(".icon-for-search-parcel-tracking").click((function(event){event.preventDefault();var input_id=$(this).siblings("input").data("id"),keyword=$("input#"+input_id).val(),trackingLink=$(this).attr("value");trackingLink||(trackingLink=$(this).siblings("span.icon-for-search-parcel-tracking").attr("value"));var search=trackingLink+keyword;window.open(search,openLink).focus()}))})),$(this).find(".so-widget-search-parcel-tracking-widget input").on("keypress",(function(e){if(13===e.which){var span_e=$(this).closest(".so-widget-search-parcel-tracking-widget").find("span:visible");if(span_e.length>1)return void span_e.eq(1).click();span_e.eq(0).click()}}))}));
|
||||
@@ -0,0 +1 @@
|
||||
jQuery(document).ready(function($){$("#search-support").click(function(event){event.preventDefault();var keyword=$("input#sp-search").val();$("#search-form").submit(),window.open(search,"_blank").focus()})});
|
||||
@@ -0,0 +1 @@
|
||||
jQuery(document).ready(function($){var $$=$(".so-widget-dpd-text-teaser-psfinder-widget");$$.find("input").focus(function(){$(this).css("color","#414042"),$(this).val()==$(this).attr("placeholder")&&$(this).val("")}),$$.find("input").blur(function(){""===$(this).val()&&($(this).val($(this).attr("placeholder")),$(this).css("color",$(this).data("placeholder-color")))}),$$.find("i").click(function(event){event.preventDefault();var keyword=$(this).parent().find("input").val();keyword==$(this).parent().find("input").attr("placeholder")&&(keyword="");var url=$(this).data("url")+keyword,target=$(this).data("target");window.open(url,target).focus()}),$$.find("input").on("keypress",function(e){if(13===e.which){var keyword=$(this).val();keyword==$(this).attr("placeholder")&&(keyword="");var url=$(this).data("url")+keyword,target=$(this).data("target");window.open(url,target).focus()}})});
|
||||
@@ -0,0 +1 @@
|
||||
jQuery(document).ready((function($){var $$;jQuery(this).find(".so-widget-dpd-topic-switch-widget").each((function(){var module_id=jQuery(this).parent().find("input[type=hidden]").val(),id="#"+module_id,activeStyle="display: block; opacity: 1;",inactiveStyle="display: none; opacity: 0; transition: opacity 0.15s linear;";$(id).children().find("a").each((function(index){$(this).find("img").attr("src")||($(this).find("img").hide(),$(this).find("p").css("margin-left","21px")),$(this).click((function(){var image_id=module_id+"-"+(index+1)+"-media",btn_id=module_id+"-"+(index+1)+"-btn";$("#"+image_id).attr("style",""),$("#"+image_id).attr("style",activeStyle),$("#"+image_id).siblings("img").attr("style",inactiveStyle),$("#"+image_id).siblings("video").attr("style",inactiveStyle),$("#"+image_id).siblings("iframe").attr("style",inactiveStyle),$("#"+btn_id).attr("style",""),$("#"+btn_id).attr("style",activeStyle),$("#"+btn_id).siblings("div").attr("style",inactiveStyle);var active=$(this).find("img").data("active"),alt=$(this).find("img").data("active-alt");active?($(this).find("img").show(),$(this).find("img").attr("src",active),$(this).find("img").attr("alt",alt),$(this).find("p").css("margin-left","25px")):($(this).find("img").hide(),$(this).find("p").css("margin-left","21px")),$(this).closest("li").siblings().each((function(){var inactive=$(this).find("img").data("inactive"),in_alt=$(this).find("img").data("inactive-alt");inactive?($(this).find("img").show(),$(this).find("img").attr("src",inactive),$(this).find("img").attr("alt",in_alt),$(this).find("p").css("margin-left","25px")):($(this).find("img").hide(),$(this).find("p").css("margin-left","21px"))}))}))})),$(id+"-mb-tab").find(".w-tw-icon-box").each((function(index){$(this).find("img").first().attr("src")||($(this).find("img").first().hide(),$(this).find("p").first().css("margin-left","0px")),$(this).click((function(){var active=$(this).find("img").first().data("active"),inactive=$(this).find("img").first().data("inactive"),alt=$(this).find("img").first().data("active-alt"),in_alt=$(this).find("img").first().data("inactive-alt");$(this).hasClass("show")?active?($(this).find("img").first().show(),$(this).find("img").first().attr("src",active),$(this).find("img").first().attr("alt",alt),$(this).find("p").first().css("margin-left","16px")):($(this).find("img").first().hide(),$(this).find("p").first().css("margin-left","0px")):inactive?($(this).find("img").first().show(),$(this).find("img").first().attr("src",inactive),$(this).find("img").first().attr("alt",in_alt),$(this).find("p").first().css("margin-left","16px")):($(this).find("img").first().hide(),$(this).find("p").first().css("margin-left","0px"))}))}))}))}));
|
||||
@@ -0,0 +1 @@
|
||||
.input-box.textarea.focus{padding-top:15px!important}.input-box.textarea textarea{padding-top:3px}form#search-form span.input-clear{top:10px;right:35px}form#search-form input#search-term-input{width:calc(100% - 35px)}form#search-form input#search-term-input:focus{width:calc(100% - 55px)}.fm-form .input-box.textarea{padding-top:17px!important;border:solid 1px #808285;padding-bottom:0!important}.fm-form .input-box.textarea.no-placeholder{padding-top:0!important}.fm-form .input-box.textarea.focus{padding-top:17px!important;padding-bottom:0!important}.fm-form .input-box.textarea.no-placeholder.focus{padding-top:0!important}.fm-form .input-box.textarea textarea{border:none!important;padding-top:0;padding-bottom:0}.fm-form-container .ui-spinner{border:none!important;border-radius:0!important}.fm-form-container .ui-spinner .ui-spinner-button{background:0 0!important}
|
||||
@@ -0,0 +1 @@
|
||||
!function($,window){$(":input").off("keypress")}(jQuery,window);
|
||||
@@ -0,0 +1,183 @@
|
||||
.guest-teaser-001,
|
||||
.user-login-001,
|
||||
.so-widget-dpd-news-widget .news-box > .row,
|
||||
.widget_sow-editor .panel-widget-style,
|
||||
.so-widget-search-parcel-tracking-widget .boxed,
|
||||
.stage-home-018-include .boxed.oppa,
|
||||
.module-007,
|
||||
.so-widget-dpd-benefits-2-widget,
|
||||
.w-benefits-3 .block-image,
|
||||
.module-045,
|
||||
.so-widget-download-module-widget .download-button{
|
||||
border-radius: 11px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.w-teaser-002 .boxed,
|
||||
.so-widget-dpd-news-widget .news-filter,
|
||||
.module-025a,
|
||||
.module-026b,
|
||||
.module-025c,
|
||||
.benefits-1,
|
||||
.header-theme-page-019-include .boxed.oppa,
|
||||
.module-014,
|
||||
.module-015,
|
||||
.module-022{
|
||||
border-radius: 11px;
|
||||
}
|
||||
button.btn,
|
||||
a.btn:not(.dpd-floating-button),
|
||||
.fm-form-container .fm-form button.button-submit,
|
||||
.fm-form-container .fm-form button.button-reset,
|
||||
button.btn_calculate{
|
||||
border-radius: 7px;
|
||||
}
|
||||
.dpd-timeline-button .w-button a{
|
||||
border-radius: 0;
|
||||
}
|
||||
.preview .so-widget-dpd-image-textbox-025a-widget,
|
||||
.preview .so-widget-dpd-image-textbox-026b-widget,
|
||||
.preview .so-widget-dpd-image-textbox-025c-widget,
|
||||
.preview .so-widget-dpd-new-header-widget,
|
||||
.preview .so-widget-dpd-benefits-3-widget,
|
||||
.preview .so-widget-dpd-full-image-text-045-widget{
|
||||
padding: 0 30px;
|
||||
}
|
||||
.preview .module-020 .button-wrap a{
|
||||
display: block;
|
||||
}
|
||||
.dpd-at-delivery-driver .js_fileuploader_button,
|
||||
.fm-type_file_upload .btn-upload,
|
||||
.input-upload .btn-upload{
|
||||
margin-left: 8px;
|
||||
}
|
||||
.w-newsletter-mail-input .input-box{
|
||||
width: calc(100% - 8px);
|
||||
margin-right: 8px;
|
||||
}
|
||||
@media screen and (max-width: 767.98px){
|
||||
.w-newsletter-mail-input .input-box{
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
}
|
||||
.content-wrap-004 .so-widget-dpd-news-widget .mg-left-right-news-mobile-revert {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
.guest-teaser-001,
|
||||
.user-login-001,
|
||||
.so-widget-dpd-news-widget .news-box > .row,
|
||||
.w-teaser-002 .boxed,
|
||||
.widget_sow-editor .panel-widget-style,
|
||||
.module-007,
|
||||
.so-widget-dpd-benefits-2-widget,
|
||||
.w-benefits-3 .block-image,
|
||||
.module-014,
|
||||
.module-015,
|
||||
.module-045,
|
||||
.so-widget-download-module-widget .download-button,
|
||||
.module-022{
|
||||
border-radius: 7px;
|
||||
}
|
||||
.module-025a,
|
||||
.module-026b,
|
||||
.module-025c,
|
||||
.benefits-1,
|
||||
.so-widget-search-parcel-tracking-widget .boxed,
|
||||
.stage-home-018-include .boxed.oppa,
|
||||
.header-theme-page-019-include .boxed.oppa{
|
||||
border-radius: 0;
|
||||
}
|
||||
.preview .news-module{
|
||||
padding: 0 10px !important;
|
||||
}
|
||||
.preview .so-widget-dpd-new-header-widget,
|
||||
.preview .header-theme-page-019-include,
|
||||
.preview .so-widget-dpd-topic-switch-widget,
|
||||
.preview .so-widget-dpd-benefits-3-widget,
|
||||
.preview .so-widget-dpd-full-image-text-045-widget{
|
||||
padding: 0 10px;
|
||||
}
|
||||
.content-wrap-004 .so-widget-dpd-topic-switch-widget,
|
||||
.content-wrap-005 .so-widget-dpd-topic-switch-widget{
|
||||
padding: 0 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.geopost-module-015 {
|
||||
border-left: 1px solid lightgray;
|
||||
border-bottom: 1px solid lightgray;
|
||||
border-radius: 0px 0px 0px 11px;
|
||||
padding-top: 48px;
|
||||
}
|
||||
|
||||
.so-widget-geopost-download-module-widget .download-button {
|
||||
background: #dc0032 !important;
|
||||
height: 84px;
|
||||
border-radius: 11px;
|
||||
padding: 15px;
|
||||
padding-top: 0;
|
||||
}
|
||||
.so-widget-geopost-download-module-widget .download-text {
|
||||
color: #fff;
|
||||
}
|
||||
.so-widget-geopost-download-module-widget .size-image-icon-010 {
|
||||
margin: 19px !important;
|
||||
width: 33px !important;
|
||||
height: 33px !important;
|
||||
position: relative;
|
||||
right: 27px;
|
||||
}
|
||||
.so-widget-geopost-download-module-widget .download-icon {
|
||||
border-radius: 11px;
|
||||
|
||||
}
|
||||
.so-widget-geopost-download-module-widget .download-text .small-text {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.so-widget-geopost-download-module-widget .download-text p {
|
||||
color: #fff;
|
||||
}
|
||||
.so-widget-geopost-download-module-widget .text-title {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
.so-widget-geopost-download-module-widget .text-extension, .text-sizetype {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.so-widget-geopost-social-links a {
|
||||
padding: 11px 8px;
|
||||
border: 1px solid lightgray;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.social-links-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.social-links-heading {
|
||||
margin-bottom: 23px;
|
||||
}
|
||||
.social-links-heading p {
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.geopost-module-015 h3 {
|
||||
line-height: 27px;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
.geopost-module-015 a {
|
||||
line-height: 27px;
|
||||
font-size: 18px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.geopost-module-015 table img {
|
||||
max-width: fit-content;
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
.siteorigin-widget-form .siteorigin-widget-field-type-social-adv .dpd-share-at-item img {
|
||||
background-color: #fff;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* All of the CSS for your public-facing functionality should be
|
||||
* included in this file.
|
||||
*/
|
||||
@@ -0,0 +1,32 @@
|
||||
(function( $ ) {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* All of the code for your public-facing JavaScript source
|
||||
* should reside in this file.
|
||||
*
|
||||
* Note: It has been assumed you will write jQuery code here, so the
|
||||
* $ function reference has been prepared for usage within the scope
|
||||
* of this function.
|
||||
*
|
||||
* This enables you to define handlers, for when the DOM is ready:
|
||||
*
|
||||
* $(function() {
|
||||
*
|
||||
* });
|
||||
*
|
||||
* When the window is loaded:
|
||||
*
|
||||
* $( window ).load(function() {
|
||||
*
|
||||
* });
|
||||
*
|
||||
* ...and/or other possibilities.
|
||||
*
|
||||
* Ideally, it is not considered best practise to attach more than a
|
||||
* single DOM-ready or window-load handler for a particular page.
|
||||
* Although scripts in the WordPress core, Plugins and Themes may be
|
||||
* practising this, we should strive to set a better example in our own work.
|
||||
*/
|
||||
|
||||
})( jQuery );
|
||||
@@ -0,0 +1,93 @@
|
||||
(function($){
|
||||
$(window).on('load', function(){
|
||||
|
||||
var wdtGoogleCharts = [];
|
||||
// Variable use by setInterval function for fix display in IE, Edge, FireFox
|
||||
var wdtTimeoutForRender = {};
|
||||
|
||||
if (typeof wpDataCharts !== 'undefined') {
|
||||
|
||||
for( var chart_id in wpDataCharts ){
|
||||
|
||||
if( wpDataCharts[chart_id].engine == 'google' ){
|
||||
var wdtChart = new wpDataTablesGoogleChart();
|
||||
wdtChart.setType( wpDataCharts[chart_id].render_data.type );
|
||||
wdtChart.setColumns( wpDataCharts[chart_id].render_data.columns );
|
||||
wdtChart.setRows( wpDataCharts[chart_id].render_data.rows );
|
||||
wdtChart.setOptions( wpDataCharts[chart_id].render_data.options );
|
||||
wdtChart.setGrouping( wpDataCharts[chart_id].group_chart );
|
||||
wdtChart.setContainer( wpDataCharts[chart_id].container );
|
||||
wdtChart.setColumnIndexes( wpDataCharts[chart_id].render_data.column_indexes );
|
||||
if( typeof wpDataChartsCallbacks !== 'undefined' && typeof wpDataChartsCallbacks[chart_id] !== 'undefined' ){
|
||||
wdtChart.setRenderCallback( wpDataChartsCallbacks[chart_id] );
|
||||
}
|
||||
wdtGoogleCharts.push( wdtChart );
|
||||
} else if ( wpDataCharts[chart_id].engine == 'highcharts' ) {
|
||||
var wdtChart = new wpDataTablesHighchart();
|
||||
wdtChart.setOptions( wpDataCharts[chart_id].render_data.options );
|
||||
wdtChart.setMultiplyYaxis( wpDataCharts[chart_id].render_data );
|
||||
wdtChart.setType( wpDataCharts[chart_id].render_data.type );
|
||||
wdtChart.setWidth( wpDataCharts[chart_id].render_data.width );
|
||||
wdtChart.setHeight( wpDataCharts[chart_id].render_data.height );
|
||||
wdtChart.setColumnIndexes( wpDataCharts[chart_id].render_data.column_indexes );
|
||||
wdtChart.setGrouping( wpDataCharts[chart_id].group_chart );
|
||||
wdtChart.setContainer( '#'+wpDataCharts[chart_id].container );
|
||||
if( typeof wpDataChartsCallbacks !== 'undefined' && typeof wpDataChartsCallbacks[chart_id] !== 'undefined' ){
|
||||
wdtChart.setRenderCallback( wpDataChartsCallbacks[chart_id] );
|
||||
}
|
||||
if( wpDataCharts[chart_id].follow_filtering != 1 ) {
|
||||
wdtChart.render();
|
||||
}
|
||||
} else if ( wpDataCharts[chart_id].engine == 'chartjs' ) {
|
||||
var wdtChart = new wpDataTablesChartJS();
|
||||
wdtChart.setData( wpDataCharts[chart_id].render_data.options.data );
|
||||
wdtChart.setOptions( wpDataCharts[chart_id].render_data.options.options );
|
||||
wdtChart.setGlobalOptions( wpDataCharts[chart_id].render_data.options.globalOptions );
|
||||
wdtChart.setType( wpDataCharts[chart_id].render_data.configurations.type );
|
||||
wdtChart.setColumnIndexes( wpDataCharts[chart_id].render_data.column_indexes );
|
||||
wdtChart.setGrouping( wpDataCharts[chart_id].group_chart );
|
||||
wdtChart.setContainer( document.getElementById("chartJSContainer_" + chart_id));
|
||||
wdtChart.setCanvas( document.getElementById("chartJSCanvas_" + chart_id));
|
||||
wdtChart.setContainerOptions( wpDataCharts[chart_id].render_data.configurations );
|
||||
if( typeof wpDataChartsCallbacks !== 'undefined' && typeof wpDataChartsCallbacks[chart_id] !== 'undefined' ){
|
||||
wdtChart.setRenderCallback( wpDataChartsCallbacks[chart_id] );
|
||||
}
|
||||
if( wpDataCharts[chart_id].follow_filtering != 1 ) {
|
||||
wdtChart.render();
|
||||
}
|
||||
}
|
||||
|
||||
if( wpDataCharts[chart_id].follow_filtering == 1 ){
|
||||
// Find the wpDataTable object
|
||||
var $wdtable = $('table.wpDataTable[data-wpdatatable_id='+wpDataCharts[chart_id].wpdatatable_id+']');
|
||||
if( $wdtable.length > 0 ){
|
||||
//SPCCMS-2255
|
||||
wdtTimeoutForRender[chart_id] = setInterval(function(_wdtChart, _chartId) {
|
||||
if (typeof wpDataTables[$wdtable.get(0).id] !== 'undefined') {
|
||||
var wdtObj = wpDataTables[$wdtable.get(0).id];
|
||||
_wdtChart.setConnectedWPDataTable(wdtObj);
|
||||
_wdtChart.enableFollowFiltering();
|
||||
wdtObj.fnDraw();
|
||||
clearInterval(wdtTimeoutForRender[_chartId])
|
||||
}
|
||||
}, 50, wdtChart, chart_id); // Pass variables in this scope to function of setInterval
|
||||
}else{
|
||||
wdtChart.render();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Setting the callback for rendering Google Charts
|
||||
if( wdtGoogleCharts.length ){
|
||||
var wdtGoogleRenderCallback = function(){
|
||||
for( var i in wdtGoogleCharts ){
|
||||
wdtGoogleCharts[i].render();
|
||||
}
|
||||
}
|
||||
google.charts.setOnLoadCallback( wdtGoogleRenderCallback );
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
})(jQuery);
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* All of the CSS for your public-facing functionality should be
|
||||
* included in this file.
|
||||
*/
|
||||
@@ -0,0 +1,49 @@
|
||||
(function( $ ) {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* All of the code for your public-facing JavaScript source
|
||||
* should reside in this file.
|
||||
*
|
||||
* Note: It has been assumed you will write jQuery code here, so the
|
||||
* $ function reference has been prepared for usage within the scope
|
||||
* of this function.
|
||||
*
|
||||
* This enables you to define handlers, for when the DOM is ready:
|
||||
*
|
||||
* $(function() {
|
||||
*
|
||||
* });
|
||||
*
|
||||
* When the window is loaded:
|
||||
*
|
||||
* $( window ).load(function() {
|
||||
*
|
||||
* });
|
||||
*
|
||||
* ...and/or other possibilities.
|
||||
*
|
||||
* Ideally, it is not considered best practise to attach more than a
|
||||
* single DOM-ready or window-load handler for a particular page.
|
||||
* Although scripts in the WordPress core, Plugins and Themes may be
|
||||
* practising this, we should strive to set a better example in our own work.
|
||||
*/
|
||||
|
||||
$(function() {
|
||||
$.post(exchange_media_object_public.ajax_url, {action: 'load_media_changed'}, function(response) {
|
||||
if (response) {
|
||||
for(let i = 0; i < response.length; i++){
|
||||
let el = $('img[src*="'+response[i]+'"], video[src*="'+response[i]+'"], source[src*="'+response[i]+'"]');
|
||||
if (el.length) {
|
||||
let new_src = response[i] + '?v=' + $.now();
|
||||
el.attr('src', new_src);
|
||||
if (el.is('source')) {
|
||||
el.closest('video').attr('src', new_src);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
@@ -0,0 +1,226 @@
|
||||
.fm-form-container {
|
||||
width: 100%;
|
||||
}
|
||||
.fm-form-container .fm-form {
|
||||
padding: 20px 0 0 0 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .fm-header-bg {
|
||||
display: block;
|
||||
}
|
||||
.fm-form-container .fm-form .fm-header {
|
||||
text-align: center;
|
||||
}
|
||||
.fm-form-container .fm-form .image_left_right.fm-header {
|
||||
padding: 0 !important;
|
||||
}
|
||||
.fm-form-container
|
||||
.fm-form.header_left_right
|
||||
.wdform-page-and-images {
|
||||
width: 100%;
|
||||
}
|
||||
.fm-topbar .fm-form-container .fm-form .fm-header {
|
||||
width: 40% !important;
|
||||
}
|
||||
.fm-form-container .fm-form .fm-header-title {
|
||||
font-size: 24px;
|
||||
}
|
||||
.fm-form-container .fm-form .fm-header-description {
|
||||
font-size: 15px;
|
||||
}
|
||||
.fm-form-container .fm-scrollbox {
|
||||
width: 30%;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform-page-and-images {
|
||||
border-style: unset !important;
|
||||
width: 100%;
|
||||
}
|
||||
.fm-topbar .fm-form-container .fm-form .wdform-page-and-images {
|
||||
width: 60% !important;
|
||||
}
|
||||
.fm-form-container .fm-form .mini_label {
|
||||
font-weight: normal;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_section {
|
||||
background: transparent;
|
||||
}
|
||||
.fm-form-container .fm-popover .fm-popover-content {
|
||||
width: 100%;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_footer {
|
||||
margin: 15px 0 0 0;
|
||||
}
|
||||
.fm-form-container .fm-pages .page_active {
|
||||
padding: 8px;
|
||||
background-color: #7f7f7f;
|
||||
}
|
||||
.fm-form-container .fm-pages .page_deactive {
|
||||
background-color: #999999;
|
||||
margin: 0 0 10px 0;
|
||||
padding: 4px 6px;
|
||||
}
|
||||
.fm-form-container .fm-pages .page_percentage_active {
|
||||
padding: 8px;
|
||||
background-color: #7f7f7f;
|
||||
}
|
||||
.fm-form-container .fm-pages .page_percentage_deactive {
|
||||
width: 100%;
|
||||
margin: 0 0 10px 0;
|
||||
padding: 4px 6px;
|
||||
background-color: #999999;
|
||||
}
|
||||
.fm-form-container .fm-action-buttons * {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
.fm-form-container .closing-form,
|
||||
.fm-form-container .minimize-form {
|
||||
position: absolute;
|
||||
}
|
||||
.fm-form-container .closing-form {
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
.fm-form-container .minimize-form {
|
||||
top: 10px;
|
||||
right: 43px;
|
||||
}
|
||||
.fm-form-container .closing-form:hover,
|
||||
.fm-form-container .minimize-form:hover {
|
||||
border: none;
|
||||
}
|
||||
.fm-form-container .fm-form .file-upload-status {
|
||||
display: none;
|
||||
}
|
||||
.fm-form-container .fm-form .file-upload input {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form input[type="text"],
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
.ui-corner-all:not(.ui-spinner):not(.ui-slider-horizontal),
|
||||
.fm-form-container .fm-form input[type="number"],
|
||||
.fm-form-container .fm-form input[type="password"],
|
||||
.fm-form-container .fm-form input[type="url"],
|
||||
.fm-form-container .fm-form input[type="email"],
|
||||
.fm-form-container .fm-form textarea,
|
||||
.fm-form-container .fm-form .StripeElement,
|
||||
.fm-form-container .fm-form .ui-spinner-input,
|
||||
.fm-form-container .fm-form .file-upload-status,
|
||||
.fm-form-container .fm-form select {
|
||||
padding: 6px 10px;
|
||||
}
|
||||
.fm-form-container .fm-form input[type="text"],
|
||||
.fm-form-container .fm-form .ui-corner-all,
|
||||
.fm-form-container .fm-form input[type="number"],
|
||||
.fm-form-container .fm-form input[type="password"],
|
||||
.fm-form-container .fm-form input[type="url"],
|
||||
.fm-form-container .fm-form input[type="email"],
|
||||
.fm-form-container .fm-form textarea,
|
||||
.fm-form-container .fm-form .StripeElement,
|
||||
.fm-form-container .fm-form .ui-spinner-input,
|
||||
.fm-form-container .fm-form .file-upload-status,
|
||||
.fm-form-container .fm-form .country-name,
|
||||
.fm-form-container .fm-form select {
|
||||
font-size: 16px;
|
||||
border-radius: 2px !important;
|
||||
}
|
||||
.fm-form-container .fm-form .ui-slider-range {
|
||||
border-radius: 2px 0 0 2px !important;
|
||||
}
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
input[type="text"]:not(.ui-spinner-input),
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
input[type="number"]:not(.ui-spinner-input),
|
||||
.fm-form-container .fm-form input[type="password"],
|
||||
.fm-form-container .fm-form input[type="url"],
|
||||
.fm-form-container .fm-form input[type="email"],
|
||||
.fm-form-container .fm-form textarea,
|
||||
.fm-form-container .fm-form .StripeElement,
|
||||
.fm-form-container .fm-form .ui-spinner,
|
||||
.fm-form-container .fm-form .ui-slider,
|
||||
.fm-form-container .fm-form .ui-slider-handle,
|
||||
.fm-form-container .fm-form select {
|
||||
border-top: 1px !important;
|
||||
border-top-style: solid !important;
|
||||
border-top-color: #808285 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .ui-slider-range {
|
||||
background: #808285 !important;
|
||||
}
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
input[type="text"]:not(.ui-spinner-input),
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
input[type="number"]:not(.ui-spinner-input),
|
||||
.fm-form-container .fm-form input[type="password"],
|
||||
.fm-form-container .fm-form input[type="url"],
|
||||
.fm-form-container .fm-form input[type="email"],
|
||||
.fm-form-container .fm-form textarea,
|
||||
.fm-form-container .fm-form .StripeElement,
|
||||
.fm-form-container .fm-form .ui-spinner,
|
||||
.fm-form-container .fm-form .ui-slider,
|
||||
.fm-form-container .fm-form .ui-slider-handle,
|
||||
.fm-form-container .fm-form select {
|
||||
border-left: 1px !important;
|
||||
border-left-style: solid !important;
|
||||
border-left-color: #808285 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .ui-spinner-button {
|
||||
border-left: 1px !important;
|
||||
border-left-style: solid !important;
|
||||
border-left-color: #808285 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .ui-slider-range {
|
||||
background: #808285 !important;
|
||||
}
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
input[type="text"]:not(.ui-spinner-input),
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
input[type="number"]:not(.ui-spinner-input),
|
||||
.fm-form-container .fm-form input[type="password"],
|
||||
.fm-form-container .fm-form input[type="url"],
|
||||
.fm-form-container .fm-form input[type="email"],
|
||||
.fm-form-container .fm-form textarea,
|
||||
.fm-form-container .fm-form .StripeElement,
|
||||
.fm-form-container .fm-form .ui-spinner,
|
||||
.fm-form-container .fm-form .ui-slider,
|
||||
.fm-form-container .fm-form .ui-slider-handle,
|
||||
.fm-form-container .fm-form select {
|
||||
border-right: 1px !important;
|
||||
border-right-style: solid !important;
|
||||
border-right-color: #808285 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .ui-slider-range {
|
||||
background: #808285 !important;
|
||||
}
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
input[type="text"]:not(.ui-spinner-input),
|
||||
.fm-form-container
|
||||
.fm-form
|
||||
input[type="number"]:not(.ui-spinner-input),
|
||||
.fm-form-container .fm-form input[type="password"],
|
||||
.fm-form-container .fm-form input[type="url"],
|
||||
.fm-form-container .fm-form input[type="email"],
|
||||
.fm-form-container .fm-form textarea,
|
||||
.fm-form-container .fm-form .StripeElement,
|
||||
.fm-form-container .fm-form .ui-spinner,
|
||||
.fm-form-container .fm-form .ui-slider,
|
||||
.fm-form-container .fm-form .ui-slider-handle,
|
||||
.fm-form-container .fm-form select {
|
||||
border-bottom: 1px !important;
|
||||
border-bottom-style: solid !important;
|
||||
border-bottom-color: #808285 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .ui-slider-range {
|
||||
background: #808285 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .button-submit {
|
||||
max-width: 100%;
|
||||
}
|
||||
@@ -0,0 +1,327 @@
|
||||
.d-none-editor {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fm-form-builder .wdform_column {
|
||||
flex-direction: column !important;
|
||||
}
|
||||
|
||||
.fm-type_submit_reset {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fm-form-container {
|
||||
margin: auto;
|
||||
width: auto !important;
|
||||
max-width: 936px;
|
||||
}
|
||||
|
||||
.fm-form .fm-form-builder.wdform-old-page .wdform_section {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.fm-form .fm-form-builder.wdform-old-page .wdform_section.dpd-col-2 {
|
||||
width: 50% !important;
|
||||
}
|
||||
|
||||
.fm-form .fm-form-builder.wdform-old-page .wdform_section.dpd-col-3 {
|
||||
width: 33.33% !important;
|
||||
}
|
||||
|
||||
.fm-form .fm-form-builder.wdform-old-page .wdform_section.dpd-col-4 {
|
||||
width: 25% !important;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form input[type="text"],
|
||||
.fm-form-container .fm-form input[type="number"],
|
||||
.fm-form-container .fm-form input[type=password],
|
||||
.fm-form-container .fm-form input[type=url],
|
||||
.fm-form-container .fm-form input[type=email],
|
||||
.fm-form-container .fm-form textarea,
|
||||
.fm-form-container .fm-form .file-upload-status,
|
||||
.fm-form-container .fm-form select {
|
||||
width: 100% !important;
|
||||
font-size: 14px !important;
|
||||
min-height: 45px;
|
||||
}
|
||||
.fm-form-container .fm-form .ui-spinner.ui-corner-all,
|
||||
.fm-form-container .fm-form .ui-spinner-input{
|
||||
font-size: 14px !important;
|
||||
min-height: 45px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.fm-form-container .fm-form .file-upload input {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form .button-submit {
|
||||
max-width: 228px;
|
||||
padding: 12px 18px;
|
||||
min-width: 146px;
|
||||
margin: 5px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
height: 45px;
|
||||
background-color: #dc0032;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form .button-reset {
|
||||
max-width: 228px;
|
||||
padding: 12px 18px;
|
||||
min-width: 146px;
|
||||
margin: 5px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
height: 45px;
|
||||
background-color: #808285;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form .btn-width .btn-upload {
|
||||
background-color: #a90034;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form .fm-type_own_select button,
|
||||
.fm-form-container .fm-form .fm-type_country button,
|
||||
.fm-form-container .fm-form .fm-type_address button {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form .fm-type_own_select .select-option-wrap,
|
||||
.fm-form-container .fm-form .fm-type_country .select-option-wrap,
|
||||
.fm-form-container .fm-form .fm-type_address .select-option-wrap {
|
||||
margin: 0;
|
||||
top: 43px;
|
||||
max-height: 250px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form .fm-type_country .select-option-wrap .select-option,
|
||||
.fm-form-container .fm-form .fm-type_address .select-option-wrap .select-option {
|
||||
min-height: 37px;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-form .time_box {
|
||||
text-align: left;
|
||||
}
|
||||
.fm-form-container .fm-type_submit_reset .wd-flex{
|
||||
justify-content: center;
|
||||
}
|
||||
.fm-form-container .fm-type_submit_reset .button-reset{
|
||||
order: 1;
|
||||
}
|
||||
.fm-form-container .fm-type_submit_reset .button-submit{
|
||||
order: 2;
|
||||
}
|
||||
.fm-form-container .fm-type_spinner .ui-spinner-input{
|
||||
padding-left: 10px;
|
||||
}
|
||||
.fm-form-container .fm-type_spinner .ui-spinner .ui-spinner-button{
|
||||
border: none;
|
||||
}
|
||||
.fm-form-container .fm-form input[type=email],
|
||||
.fm-form-container .fm-form input[type=text],
|
||||
.fm-form-container .fm-form textarea{
|
||||
border: solid 1px #808285 !important;
|
||||
}
|
||||
.fm-form-container .fm-type_slider .ui-slider-handle,
|
||||
.fm-form-container .fm-type_slider .ui-state-active{
|
||||
border: 1px solid #dc0032;
|
||||
background: #dc0032;
|
||||
outline: 0;
|
||||
}
|
||||
.fm-form-container .ui-widget-content{
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
.fm-form-container .fm-form .file-upload-status{
|
||||
display: none;
|
||||
}
|
||||
.fm-form-container .fm-type_time .wdform-element-section .wd-flex-column{
|
||||
max-width: 5em;
|
||||
min-width: 9px;
|
||||
}
|
||||
.fm-form-container .fm-type_time input[type=number].time_box{
|
||||
min-width: 40px;
|
||||
}
|
||||
.fm-form-container .fm-type_time input[type=number].time_box{
|
||||
border: solid 1px #808285;
|
||||
text-align: center;
|
||||
padding: 3px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
.fm-form-container .fm-type_time .wdform-element-section label{
|
||||
text-align: center;
|
||||
}
|
||||
.fm-form-container .fm-type_time .wdform-element-section .wd-flex-column:nth-child(2){
|
||||
display: block !important;
|
||||
}
|
||||
.fm-form-container .fm-header-title{
|
||||
font-family: "PlutoSansExtraLight";
|
||||
font-weight: 200;
|
||||
font-size: 30px;
|
||||
line-height: 37px;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform-matrix-column > label{
|
||||
padding-left: 10px;
|
||||
}
|
||||
.fm-form-container .fm-type_signature button{
|
||||
max-width: 228px;
|
||||
padding: 12px 18px;
|
||||
min-width: 146px;
|
||||
margin: 5px 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
height: 45px;
|
||||
background-color: #dc0032;
|
||||
}
|
||||
.fm-form-container .fm-not-filled ~ .fm-not-filled{
|
||||
margin-top: -4px;
|
||||
}
|
||||
.fm-form-container .fm-type_file_upload .fm-not-filled{
|
||||
display: none;
|
||||
}
|
||||
.fm-form-container .fm-type_file_upload > .wdform-element-section{
|
||||
width: 0;
|
||||
}
|
||||
.fm-form-container .fm-type_file_upload.wd-flex-row > .field-upload{
|
||||
width: 70%;
|
||||
}
|
||||
.fm-form-container .fm-form .fm-type_range input[type=text]{
|
||||
border: none !important;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform-field:not([type=type_hidden]){
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.fm-form-container .fm-header-img.fm-animated{
|
||||
animation-duration: 5s;
|
||||
}
|
||||
.fm_empty_margin {
|
||||
margin-top: 0;
|
||||
}
|
||||
.fm-form .wdform-field {
|
||||
-webkit-align-items: start;
|
||||
align-items: start;
|
||||
}
|
||||
.fm-form .wdform-required {
|
||||
color: #dc0032;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_row select.am_pm_select,
|
||||
.fm-form-container .fm-form .wdform_row select.am_pm_select ~ .mini_label{
|
||||
min-width: 5em;
|
||||
}
|
||||
.fm-form-container .fm-type_checkbox .wdform-element-section > .wd-flex-row {
|
||||
width: 100%;
|
||||
}
|
||||
.fm-form-container .fm-type_checkbox .wd-flex-row[data-number_child="2"] > .checkbox-div {
|
||||
width: calc(100% / 2 - 10px);
|
||||
}
|
||||
.fm-form-container .fm-type_checkbox .wd-flex-row[data-number_child="3"] > .checkbox-div {
|
||||
width: calc(100% / 3 - 10px);
|
||||
}
|
||||
|
||||
.fm-form-container .fm-type_mark_map .wd-width-30 {
|
||||
max-width: 30%;
|
||||
}
|
||||
|
||||
.form_maker_widget .widget-title {
|
||||
display: none;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.fm-form-container div[type=type_radio].wd-flex-column .wdform-label-section .wdform-label {
|
||||
padding-left: 0px;
|
||||
}
|
||||
/* Error Require */
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-required{
|
||||
color: #414042;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .error_label ~ .wdform-required,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .error_label_confirm ~ .wdform-required,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wd-error-label ~ .wdform-required{
|
||||
color: #FF0000;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_send_copy label,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_checkbox .wdform-label,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_checkbox .wdform-required{
|
||||
color: #FF0000;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_checkbox .checkbox-div .check-box,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_radio .radio-div .radio-box{
|
||||
border-color: #FF0000;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_range .ui-spinner,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_spinner .ui-spinner,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required .wdform-element-section.wdform_select,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_date_fields select,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_address .select-box,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required input[type="text"],
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required input[type="password"],
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required input[type="number"],
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required textarea,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required .wdform-matrix-table,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required .fm-signature{
|
||||
border: 1px solid #ff0000 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_own_select .input-box,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_country .input-box,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required .wdform-element-section.wdform_select select,
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.error-required.fm-type_range input[type="text"]{
|
||||
border: 0 !important;
|
||||
}
|
||||
.fm-form-container .fm-form .wdform_section .wdform_column .wdform-field.fm-type_send_copy label{
|
||||
margin: 0;
|
||||
}
|
||||
.fm-form-container .fm-form .fm-type_time input[type=number] {
|
||||
-moz-appearance: textfield !important;
|
||||
}
|
||||
@media screen and (max-width: 767px){
|
||||
.fm-form-container .fm-not-filled{
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.fm-form-container .fm-type_file_upload.wd-flex-row > .field-upload{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-type_submit_reset .wd-flex {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.fm-form-container .fm-form .button-submit,
|
||||
.fm-form-container .fm-form .button-reset{
|
||||
min-width: 228px;
|
||||
}
|
||||
|
||||
.fm-form .fm-form-builder.wdform-old-page .wdform_section.dpd-col-2,
|
||||
.fm-form .fm-form-builder.wdform-old-page .wdform_section.dpd-col-3,
|
||||
.fm-form .fm-form-builder.wdform-old-page .wdform_section.dpd-col-4 {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-type_checkbox .wd-flex-row[data-number_child] > .checkbox-div {
|
||||
width: calc(100% / 1 - 10px) !important;
|
||||
}
|
||||
.fm-form-container .fm-form .ui-spinner.ui-corner-all,
|
||||
.fm-form-container .fm-form .ui-spinner-input{
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.fm-form-container .fm-type_mark_map .wd-width-30 {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,317 @@
|
||||
(function ($) {
|
||||
|
||||
let custom_html = '';
|
||||
|
||||
let field_text = $('.fm-type_text');
|
||||
if (field_text.length) {
|
||||
field_text.each(function () {
|
||||
// tip trick to bypass validate regex
|
||||
custom_html = '<span class="wdform-required d-none"></span>';
|
||||
$(this).append(custom_html);
|
||||
})
|
||||
}
|
||||
|
||||
let field_file_upload = $('.fm-type_file_upload');
|
||||
if (field_file_upload.length) {
|
||||
field_file_upload.each(function () {
|
||||
custom_html = '<div class="field-upload wd-flex wd-flex-row wd-width-100">';
|
||||
custom_html += '<div class="wdform-element-section wd-width-100">';
|
||||
custom_html += '<input type="text" class="text-box" id="" readonly value="'+DFM.No_file_chosen+'">';
|
||||
custom_html += '<span class="placeholder font-light focus small-text"></span>';
|
||||
custom_html += '</div>';
|
||||
custom_html += '<div class="btn-width px-0">';
|
||||
custom_html += '<button type="button" class="wd-width-100 btn btn-upload">'+DFM.Choose_File+'</button>';
|
||||
custom_html += '</div>';
|
||||
custom_html += '</div>';
|
||||
$(this).append(custom_html);
|
||||
})
|
||||
}
|
||||
|
||||
let field_radio = $('.fm-type_radio');
|
||||
if (field_radio.length) {
|
||||
field_radio.each(function () {
|
||||
$(this).find('.radio-div').each(function () {
|
||||
custom_html = '<div class="radio-box '+(($(this).find('input').is(':checked')) ? 'selected' : '')+'"> <div class="radio-selected"></div> </div>';
|
||||
$(this).prepend(custom_html);
|
||||
$(this).find('input').hide();
|
||||
});
|
||||
});
|
||||
//script for radio box
|
||||
$('.fm-type_radio .radio-box').on('click', function(){
|
||||
if (!$(this).hasClass('selected')) {
|
||||
$(this).parents('.fm-type_radio').find('.radio-box').removeClass('selected');
|
||||
$(this).addClass('selected');
|
||||
$(this).siblings('input').click();
|
||||
}
|
||||
});
|
||||
|
||||
$('.fm-type_radio .radio-div label').on('click', function(){
|
||||
$(this).closest('.radio-div').find('.radio-box').trigger('click');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
let field_slider = $('.fm-type_slider');
|
||||
if (field_slider.length) {
|
||||
field_slider.each(function () {
|
||||
let field_slide = this;
|
||||
let value = $(field_slide).find('input[type="hidden"]').val();
|
||||
setTimeout(function () {
|
||||
$(field_slide).find('.ui-widget-content').slider('value', value);
|
||||
}, 500)
|
||||
})
|
||||
}
|
||||
|
||||
let field_select = $('.fm-type_own_select');
|
||||
if (field_select.length) {
|
||||
field_select.each(function () {
|
||||
let select_hidden_field = $(this).find('select');
|
||||
select_hidden_field.hide();
|
||||
let select_box = $('<div>');
|
||||
select_box.addClass('input-box select-box no-placeholder"').append(
|
||||
'<span class="placeholder font-light"></span>'
|
||||
).append(
|
||||
'<div class="select-option-wrap select-option-wrap-up" style="display: none;"></div>'
|
||||
).append(
|
||||
'<button class="select-expand" type="button"></button>'
|
||||
);
|
||||
$(this).find('.wdform-element-section').prepend(select_box);
|
||||
$(this).find('select').find('option').each(function (){
|
||||
if($(this).is(':selected')){
|
||||
select_box.find('.placeholder').text($(this).text());
|
||||
}
|
||||
select_box.find('.select-option-wrap').append('<div class="select-option" data-value="'+ $(this).attr('value') +'"><span>'+ $(this).text() +'</span> </div>');
|
||||
});
|
||||
})
|
||||
$('.fm-type_own_select').find('.select-option').on('click', function (){
|
||||
let select_hidden_field = $(this).closest('.fm-type_own_select').find('select');
|
||||
select_hidden_field.val($(this).data('value')).focus();
|
||||
select_hidden_field.focus(); // Fix bug message require did not hide when select first time
|
||||
});
|
||||
}
|
||||
|
||||
let field_select_country = $('.fm-type_country');
|
||||
if (field_select_country.length) {
|
||||
field_select_country.each(function () {
|
||||
let select_hidden_field = $(this).find('select');
|
||||
select_hidden_field.hide();
|
||||
let select_box = $('<div>');
|
||||
select_box.addClass('input-box select-box no-placeholder"').append(
|
||||
'<span class="placeholder font-light"></span>'
|
||||
).append(
|
||||
'<div class="select-option-wrap select-option-wrap-up" style="display: none;"></div>'
|
||||
).append(
|
||||
'<button class="select-expand" type="button"></button>'
|
||||
);
|
||||
$(this).find('.wdform-element-section').prepend(select_box);
|
||||
$(this).find('select').find('option').each(function (){
|
||||
if($(this).is(':selected')){
|
||||
select_box.find('.placeholder').text($(this).text());
|
||||
}
|
||||
select_box.find('.select-option-wrap').append('<div class="select-option" data-value="'+ $(this).attr('value') +'"><span>'+ $(this).text() +'</span> </div>');
|
||||
});
|
||||
})
|
||||
$('.fm-type_country').find('.select-option').on('click', function (){
|
||||
let select_hidden_field = $(this).closest('.fm-type_country').find('select');
|
||||
select_hidden_field.val($(this).data('value')).focus();
|
||||
select_hidden_field.focus(); // Fix bug message require did not hide when select first time
|
||||
});
|
||||
}
|
||||
|
||||
let field_address = $('.fm-type_address');
|
||||
if (field_address.length) {
|
||||
field_address.each(function () {
|
||||
let select_hidden_field = $(this).find('select');
|
||||
select_hidden_field.hide();
|
||||
let select_box = $('<div>');
|
||||
select_box.addClass('input-box select-box no-placeholder"').append(
|
||||
'<span class="placeholder font-light"></span>'
|
||||
).append(
|
||||
'<div class="select-option-wrap select-option-wrap-up" style="display: none;"></div>'
|
||||
).append(
|
||||
'<button class="select-expand" type="button"></button>'
|
||||
);
|
||||
$(select_hidden_field).parent().prepend(select_box);
|
||||
$(this).find('select').find('option').each(function (){
|
||||
if($(this).is(':selected')){
|
||||
select_box.find('.placeholder').text($(this).text());
|
||||
}
|
||||
select_box.find('.select-option-wrap').append('<div class="select-option" data-value="'+ $(this).attr('value') +'"><span>'+ $(this).text() +'</span> </div>');
|
||||
});
|
||||
})
|
||||
$('.fm-type_address').find('.select-option').on('click', function (){
|
||||
let select_hidden_field = $(this).closest('.fm-type_address').find('select');
|
||||
select_hidden_field.val($(this).data('value')).focus();
|
||||
select_hidden_field.focus(); // Fix bug message require did not hide when select first time
|
||||
});
|
||||
}
|
||||
|
||||
let field_time = $('.fm-type_time');
|
||||
if (field_time.length) {
|
||||
field_time.each(function () {
|
||||
$(this).find('.wdform-element-section').each(function () {
|
||||
$(this).find('.wd-flex-column').eq(0).css({width: '30%'});
|
||||
$(this).find('.wd-flex-column').eq(1).hide();
|
||||
custom_html = '';
|
||||
custom_html += '<span class="placeholder font-light focus small-text"> </span>';
|
||||
|
||||
$(this).find('.wd-flex-column').eq(2).prepend(custom_html).css({width: '70%'}).addClass('input-box calendar no-placeholder focus');
|
||||
|
||||
});
|
||||
})
|
||||
}
|
||||
let field_send_copy = $('.fm-type_send_copy');
|
||||
if (field_send_copy.length) {
|
||||
field_send_copy.each(function () {
|
||||
$(this).find('.wdform-required').insertBefore($(this).find('label'));
|
||||
})
|
||||
}
|
||||
$('.fm-form-container .fm-form').on('submit', function(e){
|
||||
let form = $(this);
|
||||
var allow_submit_form = true;
|
||||
form.find('.wdform_row > .fm-type_submitter_mail:first-child').each(function () {
|
||||
let wrapper = $(this).closest('.wdform_row');
|
||||
let confirm_email_field = wrapper.find('.fm-type_submitter_mail').eq(1);
|
||||
if (confirm_email_field.length && confirm_email_field.find('.wdform-required').length) {
|
||||
let _input = confirm_email_field.find('input[type=text]');
|
||||
let _label = confirm_email_field.find('.wdform-label');
|
||||
let _validate_required = function (){
|
||||
if(_input.val().trim() == ''){
|
||||
_label.addClass('error_label');
|
||||
confirm_email_field.next('.confirm_email_field_required').remove();
|
||||
confirm_email_field.after('<div class="fm-not-filled confirm_email_field_required" style="margin-left: 0px">'+DFM.Field_is_required+'</div>');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
allow_submit_form = _validate_required();
|
||||
|
||||
_input.on('focus', function(){
|
||||
_label.removeClass('error_label error_label_confirm');
|
||||
confirm_email_field.next('.confirm_email_field_required').remove();
|
||||
}).on('blur', function(){
|
||||
allow_submit_form = _validate_required();
|
||||
if (allow_submit_form) {
|
||||
_input.trigger('change');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
if (!allow_submit_form) {
|
||||
e.preventDefault();
|
||||
form.find('.button-submit').prop('disabled', false);
|
||||
}
|
||||
});
|
||||
|
||||
$('.fm-form-container .button-reset ').on('click', function(){
|
||||
var wrapper = $(this).closest('.fm-form');
|
||||
wrapper.find('.radio-box').removeClass('selected');
|
||||
wrapper.find('.check-box').find('.check-box-checked').addClass('d-none');
|
||||
wrapper.find('.fm-type_own_select').find('.input-box .placeholder').text('');
|
||||
wrapper.find('.fm-type_time').find('input').val('');
|
||||
wrapper.find('.fm-type_file_upload').find('input').val('');
|
||||
wrapper.find('.fm-type_file_upload').find('.text-box').val('');
|
||||
});
|
||||
$('.fm-form-container .button-submit').on('click', function(){
|
||||
var wrapper = $(this).closest('.fm-form');
|
||||
wrapper.find('.wdform-field').each(function(){
|
||||
$(this).removeClass('error-required');
|
||||
if($(this).find('label[class*="error_label"]').length){
|
||||
$(this).addClass('error-required');
|
||||
}
|
||||
if($(this).hasClass('fm-type_send_copy') && $(this).siblings('.fm-not-filled')){
|
||||
$(this).addClass('error-required');
|
||||
}
|
||||
if($(this).hasClass('wd-flex-row') && !$(this).hasClass('fm-type_recaptcha')){
|
||||
var lb_width = $(this).find('.wdform-label-section').width();
|
||||
var element = $(this);
|
||||
setTimeout(function(){
|
||||
if(element.siblings('.fm-not-filled').length){
|
||||
element.siblings('.fm-not-filled').css('margin-left', lb_width);
|
||||
}
|
||||
}, 0)
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.fm-form-container input, .fm-form-container select, .fm-form-container textarea').focus(function() {
|
||||
var wrapper = $(this).closest('.wdform-field');
|
||||
setTimeout(function(){
|
||||
wrapper.removeClass('error-required');
|
||||
}, 200)
|
||||
}).blur(function() {
|
||||
var wrapper = $(this).closest('.wdform-field');
|
||||
if(wrapper.hasClass('wd-flex-row') && !wrapper.hasClass('fm-type_recaptcha')){
|
||||
var lb_width = wrapper.find('.wdform-label-section').width();
|
||||
setTimeout(function(){
|
||||
if(wrapper.siblings('.fm-not-filled').length){
|
||||
wrapper.siblings('.fm-not-filled').css('margin-left', lb_width);
|
||||
}
|
||||
}, 0)
|
||||
}
|
||||
if(wrapper.hasClass('fm-type_submitter_mail') && wrapper.siblings('.fm-type_submitter_mail').find('label[class*="error_label"]').length){
|
||||
wrapper.siblings('.fm-type_submitter_mail').addClass('error-required');
|
||||
}
|
||||
setTimeout(function(){
|
||||
if(wrapper.find('label[class*="error_label"]').length){
|
||||
wrapper.addClass('error-required');
|
||||
}
|
||||
}, 200)
|
||||
});
|
||||
$('.fm-form-container input[type="text"], .fm-form-container input[type="checkbox"], .fm-form-container input[type="radio"], .fm-form-container input[type="file"]').change(function() {
|
||||
var wrapper = $(this).closest('.wdform-field');
|
||||
if(wrapper.hasClass('wd-flex-row') && !wrapper.hasClass('fm-type_recaptcha')){
|
||||
var lb_width = wrapper.find('.wdform-label-section').width();
|
||||
setTimeout(function(){
|
||||
if(wrapper.siblings('.fm-not-filled').length){
|
||||
wrapper.siblings('.fm-not-filled').css('margin-left', lb_width);
|
||||
}
|
||||
}, 0)
|
||||
}
|
||||
if(wrapper.hasClass('fm-type_matrix')){
|
||||
wrapper.siblings('.fm-not-filled').remove();
|
||||
}
|
||||
setTimeout(function(){
|
||||
if(wrapper.find('label[class*="error_label"]').length || (wrapper.hasClass('fm-type_checkbox') && wrapper.siblings('.fm-not-filled').length)){
|
||||
wrapper.addClass('error-required');
|
||||
}else{
|
||||
wrapper.removeClass('error-required');
|
||||
}
|
||||
}, 200)
|
||||
});
|
||||
|
||||
$('.fm-form-container .fm-type_file_upload .btn-upload').on("click", function () {
|
||||
$(this).closest('.fm-type_file_upload').find('input[type="file"]').trigger("click");
|
||||
});
|
||||
$('.fm-type_file_upload input[type="file"]').on('change', function (){
|
||||
var wrapper = $(this).closest('.fm-type_file_upload');
|
||||
setTimeout(function () {
|
||||
var fileName = wrapper.find('.file-upload-status').text();
|
||||
wrapper.find('.text-box').val(fileName);
|
||||
}, 500);
|
||||
});
|
||||
let field_number = $('.fm-type_spinner');
|
||||
if(field_number.length){
|
||||
setTimeout(function () {
|
||||
$('.wd-type-number[style*="width: px;"]').parent().css({width: '100%'});
|
||||
$('.wd-type-number[style="width: px;"]').css({width: '100%'})
|
||||
}, 500)
|
||||
}
|
||||
|
||||
let page_nextback = $('.wdform-page-and-images');
|
||||
if(page_nextback.length){
|
||||
page_nextback.find('.wdform_page').each(function () {
|
||||
var wrapper = $(this);
|
||||
var link_next = wrapper.attr('next_title');
|
||||
var link_prev = wrapper.attr('previous_title');
|
||||
if(wrapper.attr('next_type') == 'img' && link_next.indexOf("http") == -1 && link_next.indexOf('wp-content/plugins/form-maker/') != -1){
|
||||
link_next = link_next.replace('wp-content/plugins/form-maker/', '');
|
||||
wrapper.attr('next_title', link_next)
|
||||
}
|
||||
if(wrapper.attr('previous_type') == 'img' && link_prev.indexOf("http") == -1 && link_prev.indexOf('wp-content/plugins/form-maker/') != -1){
|
||||
link_prev = link_prev.replace('wp-content/plugins/form-maker/', '');
|
||||
wrapper.attr('previous_title', link_prev)
|
||||
}
|
||||
});
|
||||
}
|
||||
})(jQuery)
|
||||
5
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/plugins/dpd-news/js/popper.min.js
vendored
Normal file
@@ -0,0 +1,143 @@
|
||||
/**
|
||||
* All of the CSS for your public-facing functionality should be
|
||||
* included in this file.
|
||||
*/
|
||||
|
||||
.chronopost-theme .btn-agree {
|
||||
background-color: #009adf !important;
|
||||
}
|
||||
|
||||
.chronopost-theme .disagree {
|
||||
color: #009adf !important;
|
||||
}
|
||||
|
||||
#dpd-popup-modal-overlay{
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
z-index: 999997;
|
||||
display: none;
|
||||
}
|
||||
#dpd-popup-modal{
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 80% !important;
|
||||
max-width: 803px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
border-radius: 11px;
|
||||
background-color: #FFFFFF;
|
||||
z-index: 999999;
|
||||
}
|
||||
#dpd-popup-modal .close{
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
#dpd-popup-modal .image img{
|
||||
height: 187px;
|
||||
width: auto;
|
||||
}
|
||||
#dpd-popup-modal .headline{
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
}
|
||||
#dpd-popup-modal .question{
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
}
|
||||
#dpd-popup-modal .btn{
|
||||
white-space: normal;
|
||||
height: auto;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
#dpd-popup-modal .bgr_414042{
|
||||
background-color: #414042;
|
||||
color: #ffffff;
|
||||
}
|
||||
#dpd-popup-modal .bgr_009adf{
|
||||
background-color: #009adf;
|
||||
color: #ffffff;
|
||||
}
|
||||
#dpd-popup-modal .bgr_dc0032{
|
||||
background-color: #dc0032;
|
||||
color: #ffffff;
|
||||
}
|
||||
#dpd-popup-modal .bgr_a90034{
|
||||
background-color: #a90034;
|
||||
color: #ffffff;
|
||||
}
|
||||
#dpd-popup-modal .bgr_ffffff{
|
||||
background-color: #ffffff;
|
||||
color: #dc0032;
|
||||
}
|
||||
#dpd-popup-modal .bgr_cac4be{
|
||||
background-color: #cac4be;
|
||||
color: #414042;
|
||||
}
|
||||
#dpd-popup-modal .bgr_808285{
|
||||
background-color: #808285;
|
||||
color: #ffffff;
|
||||
}
|
||||
#dpd-popup-modal .bgr_e6e7e8{
|
||||
background-color: #e6e7e8;
|
||||
color: #414042;
|
||||
}
|
||||
#dpd-popup-modal .bgr_efedeb{
|
||||
background-color: #efedeb;
|
||||
color: #414042;
|
||||
}
|
||||
#dpd-popup-modal .bgr_509e2f{
|
||||
background-color: #509e2f;
|
||||
color: #ffffff;
|
||||
}
|
||||
.dpd-popup-wraper-remember-selection{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
margin: 30px 0;
|
||||
}
|
||||
.dpd-checkbox-popup{
|
||||
position: relative;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.dpd-checkmark {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
border: 1px solid #414042;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.dpd-checkbox-popup .dpd-popup-icon-check{
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
top: 4px;
|
||||
display: none;
|
||||
}
|
||||
.dpd-checkbox-popup.checked .dpd-popup-icon-check{
|
||||
display: block;
|
||||
}
|
||||
.dpd-popup-text-remember{
|
||||
font-size: 13px;
|
||||
margin-left: 9px;
|
||||
line-height: 13px;
|
||||
}
|
||||
@media only screen and (max-width: 767.98px){
|
||||
#dpd-popup-modal{
|
||||
padding: 1.5rem!important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
(function( $ ) {
|
||||
'use strict';
|
||||
function dpd_setCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/";
|
||||
}
|
||||
function dpd_getCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
$(function() {
|
||||
var previous_selecttion = dpd_getCookie('dpd_remember_selection_'+DPDPopup.blog_id);
|
||||
var url_redirect = dpd_getCookie('dpd_remember_selection_'+DPDPopup.blog_id+'_url');
|
||||
if( previous_selecttion != null) {
|
||||
DPDPopup.is_configured = false;
|
||||
if(previous_selecttion == 'agree' && url_redirect != null && location.href != url_redirect && location.href != url_redirect + '/'){
|
||||
location.href = url_redirect;
|
||||
}
|
||||
}
|
||||
if(DPDPopup.is_configured){
|
||||
$.ajax({
|
||||
url: DPDPopup.rest_api_url,
|
||||
method: 'post',
|
||||
data: {
|
||||
referrer : document.referrer.length ? document.referrer : document.location.href,
|
||||
language : DPDPopup.current_language,
|
||||
blog_id: DPDPopup.blog_id
|
||||
},
|
||||
success: function(data){
|
||||
if(data.popup){
|
||||
$('body').append(
|
||||
'<div id="dpd-popup-modal" class="text-center p-3" tabindex="-1">' +
|
||||
'<button type="button" class="close"><img src="' + data.icon_close + '" alt="' + data.icon_close_alt + '"></button>' +
|
||||
( (data.media_url) ? '<div class="image mb-3"><img src="' + data.media_url + '" class="img-responsive" alt="' + data.media_alt + '"></div>' : '') +
|
||||
'<h1 class="headline font-normal">' + DPDPopup.headline.replace('%s', data.country_name) + '</h1>' +
|
||||
'<p class="question font-light mb-0">' + DPDPopup.question.replace('%s', data.country_name) + '</p>' +
|
||||
'<div class="dpd-popup-wraper-remember-selection"><div class="dpd-checkbox-popup"><span class="dpd-checkmark"></span><img src="' + DPDPopup.icon + '" class="dpd-popup-icon-check" alt="' + DPDPopup.icon_alt + '"></div><span class="dpd-popup-text-remember font-light">' + DPDPopup.text_remember + ' </span></div>'+
|
||||
'<div><a target="' + data.target + '" href="' + data.link + '" class="btn btn-agree ' + data.background_color_1 + '">' + DPDPopup.text_1.replace('%s', data.country_name) + '</a></div>' +
|
||||
'<div class="mt-1"><a href="javascript:;" class="btn ' + data.background_color_2 + ' disagree">' + DPDPopup.text_2.replace('%s', data.bu_name) + '</a></div>' +
|
||||
'</div>' +
|
||||
'<div id="dpd-popup-modal-overlay"></div>'
|
||||
);
|
||||
var count_timeout = 0;
|
||||
var append_overlay = function(){
|
||||
if($('#privacy-overlay').length && $('#privacy-overlay').is(':visible')){
|
||||
$('#dpd-popup-modal-overlay, #dpd-popup-modal').hide();
|
||||
}else{
|
||||
count_timeout++;
|
||||
if(count_timeout < 5){
|
||||
setTimeout(function(){
|
||||
append_overlay();
|
||||
},100);
|
||||
}else{
|
||||
$('#dpd-popup-modal-overlay, #dpd-popup-modal').show();
|
||||
}
|
||||
}
|
||||
}
|
||||
append_overlay();
|
||||
$(document).on('click', '#dpd-popup-modal .dpd-checkbox-popup', function(){
|
||||
$(this).toggleClass('checked');
|
||||
});
|
||||
$(document).on('click', '#dpd-popup-modal .disagree, #dpd-popup-modal .close', function(){
|
||||
$('#dpd-popup-modal').addClass('d-none');
|
||||
$('#dpd-popup-modal-overlay').addClass('d-none');
|
||||
if($('.dpd-checkbox-popup').hasClass('checked')) {
|
||||
dpd_setCookie('dpd_remember_selection_'+DPDPopup.blog_id, 'stayat', 180);
|
||||
}else{
|
||||
dpd_setCookie('dpd_remember_selection_'+DPDPopup.blog_id, 'stayat', 1);
|
||||
}
|
||||
|
||||
});
|
||||
$(document).on('click', '#dpd-popup-modal .btn-agree', function(){
|
||||
if($('.dpd-checkbox-popup').hasClass('checked')) {
|
||||
dpd_setCookie('dpd_remember_selection_'+DPDPopup.blog_id, 'agree', 180);
|
||||
dpd_setCookie('dpd_remember_selection_'+DPDPopup.blog_id+'_url', $(this).attr('href'), 180);
|
||||
}
|
||||
});
|
||||
$(document).on('click', '#popin_tc_privacy_button, #popin_tc_privacy_button_2, #popin_tc_privacy_button_3', function(){
|
||||
var interval_event = setInterval(function(){
|
||||
if(document.cookie.indexOf('TC_PRIVACY') > -1){
|
||||
$('#dpd-popup-modal-overlay, #dpd-popup-modal').show();
|
||||
clearInterval(interval_event);
|
||||
}
|
||||
}, 500);
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$(function() {
|
||||
if ($('body').hasClass('chronopost-theme')) {
|
||||
$('head').append('<style>.chronopost-theme .btn-agree { background-color: #009adf; } .chronopost-theme .disagree { color: #009adf; }</style>');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
})( jQuery );
|
||||
|
||||
|
||||
12
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/plugins/form-maker/css/styles.min.css
vendored
Normal file
1
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/plugins/form-maker/js/scripts.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.panel-grid.panel-has-style>.panel-row-style,.panel-grid.panel-no-style{display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:nowrap;-ms-justify-content:space-between;-webkit-justify-content:space-between;justify-content:space-between}.panel-grid .so-parallax{position:relative}.panel-grid .so-parallax>:not(.simpleParallax){position:relative;z-index:1}.panel-grid .so-parallax .simpleParallax{overflow:hidden}.panel-grid .so-parallax .simpleParallax,.panel-grid .so-parallax img[data-siteorigin-parallax]{bottom:0;left:0;position:absolute;right:0;top:0;width:100%;z-index:0}.panel-background-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.panel-has-overlay .panel-cell-style,.panel-has-overlay .panel-row-style,.panel-has-overlay .panel-widget-style{overflow:hidden;position:relative;z-index:1}.panel-layout.panel-is-rtl .panel-grid.panel-has-style>.panel-row-style,.panel-layout.panel-is-rtl .panel-grid.panel-no-style{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.panel-grid-cell{-ms-box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.panel-grid-cell .panel-cell-style{height:100%}.panel-grid-cell .so-panel{zoom:1}.panel-grid-cell .so-panel:before{content:'';display:block}.panel-grid-cell .so-panel:after{content:'';display:table;clear:both}.panel-grid-cell .panel-last-child{margin-bottom:0}.panel-grid-cell .widget-title{margin-top:0}body.siteorigin-panels-before-js:not(.siteorigin-panels-css-container){overflow-x:hidden}body.siteorigin-panels-before-js:not(.siteorigin-panels-css-container) .siteorigin-panels-stretch{margin-right:-1000px!important;margin-left:-1000px!important;padding-right:1000px!important;padding-left:1000px!important}.so-panel .panel-widget-style{box-shadow:none!important;transition:unset}
|
||||
11
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/plugins/siteorigin-premium/css/animate.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
window.SiteOriginPremium=window.SiteOriginPremium||{},SiteOriginPremium.setupAnimations=function(a){a("[data-so-animation]").each(function(){var t=a(this),o=t.data("so-animation"),e=parseFloat(o.duration);isNaN(e)||t.css({"-webkit-animation-duration":e+"s","animation-duration":e+"s"});var n=function(e){var n=function(){o.hide&&t.css("opacity",1),e?t.removeClass("animated "+o.animation).addClass("animated "+o.animation):t.addClass("animated "+o.animation),t.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){t.removeClass("animated "+o.animation),"hidden"===o.finalState?t.css("opacity",0):"removed"===o.finalState&&t.css("display","none")})},i=parseFloat(o.delay);!isNaN(i)&&0<i?setTimeout(function(){n()},1e3*i):n()},i=1e3*o.debounce||1;switch(o.event){case"enter":setTimeout(function(){var e=new OnScreen({tolerance:parseInt(o.offset),debounce:i});e.on("enter",o.selector,function(){n(!1),e.off("enter",o.selector)})},150);break;case"in":setTimeout(function(){var e=new OnScreen({tolerance:parseInt(o.offset)+t.outerHeight(),debounce:i});e.on("enter",o.selector,function(){n(!1),e.off("enter",o.selector)})},150);break;case"hover":o.repeat?t.on("mouseenter",function(){n(!0),t.addClass("infinite")}).on("mouseleave",function(){t.removeClass("infinite")}):t.on("mouseenter",function(){n(!0)});break;case"slide_display":t.closest(".sow-slider-image").on("sowSlideCycleAfter",function(e){setTimeout(function(){n(!0)},100)}),o.hide&&t.closest(".sow-slider-image").on("sowSlideCycleBefore",function(e){t.css("opacity",0)}),setTimeout(function(){n(!0)},100);break;case"load":n(!1)}})},jQuery(function(i){SiteOriginPremium.setupAnimations(i),window.sowb&&i(window.sowb).on("setup_widgets",function(e,n){n&&n.preview&&SiteOriginPremium.setupAnimations(i)})});
|
||||
33353
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/css/styles.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
No Content: https://www.dpd.com/wp-content/themes/DPD_NoLogin/fonts/PlutoSansDPDExtraLight-Web.ttf
|
||||
@@ -0,0 +1 @@
|
||||
No Content: https://www.dpd.com/wp-content/themes/DPD_NoLogin/fonts/PlutoSansDPDLight-Web.ttf
|
||||
@@ -0,0 +1 @@
|
||||
No Content: https://www.dpd.com/wp-content/themes/DPD_NoLogin/fonts/PlutoSansDPDRegular-Web.ttf
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 68 68" style="enable-background:new 0 0 68 68;" xml:space="preserve">
|
||||
<g id="Navigation_x5F_Continue_x5F_Forward_x5F_blackred_x5F_pos_x5F_rgb">
|
||||
<g id="Continue_x5F_Forward_2_">
|
||||
<rect id="XMLID_1801_" style="fill:none;" width="68" height="68"/>
|
||||
<path style="fill:#414042;" d="M23,57c-0.256,0-0.512-0.098-0.707-0.293c-0.391-0.391-0.391-1.023,0-1.414L43.586,34
|
||||
L22.293,12.707c-0.391-0.391-0.391-1.023,0-1.414s1.023-0.391,1.414,0L46.414,34L23.707,56.707C23.512,56.902,23.256,57,23,57z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer_1">
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 799 B |
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 68 68" style="enable-background:new 0 0 68 68;" xml:space="preserve">
|
||||
<g id="Navigation_x5F_Continue_x5F_Forward_x5F_blackred_x5F_pos_x5F_rgb">
|
||||
<g id="Continue_x5F_Forward_2_">
|
||||
<rect id="XMLID_1801_" style="fill:none;" width="68" height="68"/>
|
||||
<path style="fill:#FFFFFF;" d="M23,57c-0.256,0-0.512-0.098-0.707-0.293c-0.391-0.391-0.391-1.023,0-1.414L43.586,34
|
||||
L22.293,12.707c-0.391-0.391-0.391-1.023,0-1.414s1.023-0.391,1.414,0L46.414,34L23.707,56.707C23.512,56.902,23.256,57,23,57z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer_1">
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 799 B |
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 16.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="DPD_Black" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="448.931px" height="206px" viewBox="79.5 293.5 448.931 206" enable-background="new 79.5 293.5 448.931 206"
|
||||
xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#414042" d="M372.345,441.876c-8.398,2.223-19.338,3.323-28.849,3.323c-24.413,0-40.579-12.992-40.579-36.771
|
||||
c0-22.505,15.057-37.083,37.094-37.083c4.912,0,10.14,0.625,13.313,2.216v-32.668h19.021V441.876z M353.324,390.36
|
||||
c-3.013-1.426-6.974-2.219-11.737-2.219c-11.563,0-19.333,7.136-19.333,19.656c0,13.476,8.399,21.087,21.874,21.087
|
||||
c2.379,0,6.023-0.163,9.196-0.793V390.36z M528.431,441.876c-8.406,2.223-19.343,3.323-28.854,3.323
|
||||
c-24.409,0-40.584-12.992-40.584-36.771c0-22.505,15.064-37.083,37.101-37.083c4.913,0,10.144,0.625,13.315,2.216v-32.668h19.021
|
||||
V441.876z M509.409,390.36c-3.016-1.426-6.979-2.219-11.733-2.219c-11.57,0-19.336,7.136-19.336,19.656
|
||||
c0,13.476,8.399,21.087,21.874,21.087c2.375,0,6.023-0.163,9.195-0.793V390.36z M402.258,390.204
|
||||
c3.168-1.271,7.6-1.742,11.404-1.742c11.733,0,19.818,6.814,19.818,19.015c0,14.393-8.955,20.902-20.929,21.07v16.642
|
||||
c0.314,0,0.634,0.011,0.957,0.011c24.565,0,39.312-13.785,39.312-38.354c0-22.35-15.691-35.501-38.836-35.501
|
||||
c-11.727,0-23.304,2.695-30.91,5.862v94.953h19.184V390.204z"/>
|
||||
|
||||
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="366.751" y1="-291.9131" x2="736.271" y2="18.1508" gradientTransform="matrix(0.229 0 0 -0.229 0.3856 397.0497)">
|
||||
<stop offset="0" style="stop-color:#A90034"/>
|
||||
<stop offset="0.2717" style="stop-color:#BB0033"/>
|
||||
<stop offset="0.7226" style="stop-color:#D30032"/>
|
||||
<stop offset="1" style="stop-color:#DC0032"/>
|
||||
</linearGradient>
|
||||
<path fill="url(#SVGID_1_)" d="M199.681,385.541c-0.787,0.459-2.021,0.423-2.789-0.052l-4.522-2.688
|
||||
c-0.368-0.228-0.706-0.593-0.961-1.032c-0.015-0.025-0.03-0.051-0.045-0.077c-0.289-0.471-0.453-0.968-0.47-1.424l-0.115-5.272
|
||||
c-0.034-0.888,0.552-1.971,1.342-2.432l54.362-31.67l-76.285-41.577c-0.84-0.466-1.948-0.691-3.057-0.693
|
||||
c-1.11-0.002-2.22,0.229-3.061,0.693l-76.286,41.578l85.46,49.75c0.792,0.433,1.394,1.461,1.394,2.389v72.576
|
||||
c0,0.911-0.652,1.958-1.45,2.384l-4.599,2.554c-0.382,0.203-0.868,0.312-1.376,0.312c-0.029,0-0.059,0-0.088,0
|
||||
c-0.552,0.013-1.065-0.096-1.467-0.312l-4.614-2.555c-0.784-0.417-1.425-1.469-1.425-2.383l0.001-64.698
|
||||
c-0.041-0.474-0.388-1.052-0.768-1.27l-75.292-43.829v85.848c-0.001,1.921,1.354,4.291,3.014,5.262l77.543,45.732
|
||||
c0.829,0.486,1.921,0.728,3.012,0.724c1.092-0.003,2.184-0.231,3.011-0.723l77.555-45.733c1.654-0.981,3.005-3.338,3.003-5.262
|
||||
v-85.847L199.681,385.541z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 68 68" style="enable-background:new 0 0 68 68;" xml:space="preserve">
|
||||
<g id="Navigation_x5F_Search_x5F_blackred_x5F_pos_x5F_rgb">
|
||||
<g id="Search_2_">
|
||||
<rect id="XMLID_1789_" style="fill:none;" width="68" height="68"/>
|
||||
<path style="fill:#414042;" d="M52.323,53.675c-0.253,0-0.505-0.095-0.7-0.286L40.91,42.893c-0.395-0.386-0.4-1.02-0.014-1.414
|
||||
c0.386-0.395,1.019-0.401,1.414-0.014l10.713,10.496c0.395,0.386,0.4,1.02,0.014,1.414C52.842,53.574,52.582,53.675,52.323,53.675
|
||||
z"/>
|
||||
<path style="fill:#414042;" d="M29.402,43.776c-8.12,0-14.726-6.605-14.726-14.726c0-8.12,6.606-14.726,14.726-14.726
|
||||
c8.12,0,14.726,6.606,14.726,14.726C44.128,37.171,37.522,43.776,29.402,43.776z M29.402,16.325
|
||||
c-7.017,0-12.726,5.708-12.726,12.726c0,7.017,5.708,12.726,12.726,12.726c7.017,0,12.726-5.709,12.726-12.726
|
||||
C42.128,22.034,36.419,16.325,29.402,16.325z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer_1">
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 68 68" style="enable-background:new 0 0 68 68;" xml:space="preserve">
|
||||
<g id="Navigation_x5F_Search_x5F_blackred_x5F_pos_x5F_rgb">
|
||||
<g id="Search_2_">
|
||||
<rect id="XMLID_1789_" style="fill:none;" width="68" height="68"/>
|
||||
<path style="fill:#FFFFFF;" d="M52.323,53.675c-0.253,0-0.505-0.095-0.7-0.286L40.91,42.893c-0.395-0.386-0.4-1.02-0.014-1.414
|
||||
c0.386-0.395,1.019-0.401,1.414-0.014l10.713,10.496c0.395,0.386,0.4,1.02,0.014,1.414C52.842,53.574,52.582,53.675,52.323,53.675
|
||||
z"/>
|
||||
<path style="fill:#FFFFFF;" d="M29.402,43.776c-8.12,0-14.726-6.605-14.726-14.726c0-8.12,6.606-14.726,14.726-14.726
|
||||
c8.12,0,14.726,6.606,14.726,14.726C44.128,37.171,37.522,43.776,29.402,43.776z M29.402,16.325
|
||||
c-7.017,0-12.726,5.708-12.726,12.726c0,7.017,5.708,12.726,12.726,12.726c7.017,0,12.726-5.709,12.726-12.726
|
||||
C42.128,22.034,36.419,16.325,29.402,16.325z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer_1">
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="23" height="16" viewBox="0 0 23 16">
|
||||
<g fill="none" fill-rule="evenodd" stroke="#414042" stroke-linecap="round" stroke-width="1.5">
|
||||
<path d="M1.429.75h20M1.429 7.75h20M1.429 14.75h20"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 261 B |
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="21px" height="21px" viewBox="0 0 21 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: sketchtool 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>2FBEE71E-0744-47AB-8FB3-67325DFEAAC7</title>
|
||||
<desc>Created with sketchtool.</desc>
|
||||
<defs></defs>
|
||||
<g id="Module" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-195.000000, -5587.000000)" stroke-linecap="round">
|
||||
<g id="Girth-Calculator-invalid" transform="translate(67.000000, 5303.000000)" stroke="#000000" stroke-width="1.5">
|
||||
<g id="close_x_big" transform="translate(129.000000, 285.000000)">
|
||||
<path d="M18.8563636,18.6977163 L0,0" id="Stroke-1415"></path>
|
||||
<path d="M0,18.6977163 L18.8563636,0" id="Stroke-1417"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 948 B |
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26">
|
||||
<g fill="none" fill-rule="evenodd" stroke="#414042" transform="translate(1 1)">
|
||||
<circle cx="8.5" cy="8.5" r="8.5" stroke-width="1.6"/>
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.5 16.5l7 7"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 348 B |
@@ -0,0 +1,13 @@
|
||||
<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<g>
|
||||
<title>background</title>
|
||||
<rect fill="none" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
|
||||
</g>
|
||||
<g>
|
||||
<title>Layer 1</title>
|
||||
<g transform="rotate(45 6.027914047241215,5.7814998626708975) " fill="none" fill-rule="evenodd" stroke="#FFF" stroke-linecap="round" stroke-width="1.5" id="svg_1">
|
||||
<path d="m10.80891,1l-9.562,9.562m9.562,0.001l-9.562,-9.563" id="svg_2" stroke="#000000"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 497 B |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26">
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<circle cx="13" cy="13" r="13" fill="#DC0032"/>
|
||||
<g stroke="#FFF" stroke-linecap="round" stroke-width="1.5">
|
||||
<path d="M18 13H8M13 18V8"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 318 B |
@@ -0,0 +1,13 @@
|
||||
<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<g>
|
||||
<title>background</title>
|
||||
<rect fill="none" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
|
||||
</g>
|
||||
<g>
|
||||
<title>Layer 1</title>
|
||||
<g id="svg_1" stroke-width="1.5" stroke-linecap="round" stroke="#FFF" fill-rule="evenodd" fill="none">
|
||||
<path stroke="#000000" id="svg_2" d="m10.562,1l-9.562,9.562m9.562,0.001l-9.562,-9.563"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 434 B |
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12">
|
||||
<g fill="none" fill-rule="evenodd" stroke="#FFF" stroke-linecap="round" stroke-width="1.5">
|
||||
<path d="M10.562 1L1 10.562M10.562 10.563L1 1"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 253 B |
@@ -0,0 +1,360 @@
|
||||
/**
|
||||
* @license MIT
|
||||
* Hyphenopoly_Loader 6.0.0 - client side hyphenation
|
||||
* ©2024 Mathias Nater, Güttingen (mathiasnater at gmail dot com)
|
||||
* https://github.com/mnater/Hyphenopoly
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://mnater.github.io/Hyphenopoly/LICENSE
|
||||
*/
|
||||
/* globals Hyphenopoly:readonly */
|
||||
window.Hyphenopoly = {};
|
||||
|
||||
((w, d, H, o) => {
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Shortcut for new Map
|
||||
* @param {any} init - initialiser for new Map
|
||||
* @returns {Map} - empty map
|
||||
*/
|
||||
const mp = (init) => {
|
||||
return new Map(init);
|
||||
};
|
||||
|
||||
const scriptName = "Hyphenopoly_Loader.js";
|
||||
const thisScript = d.currentScript.src;
|
||||
const store = sessionStorage;
|
||||
let mainScriptLoaded = false;
|
||||
|
||||
/**
|
||||
* The main function runs the feature test and loads Hyphenopoly if
|
||||
* necessary.
|
||||
*/
|
||||
const main = (() => {
|
||||
const shortcuts = {
|
||||
"ac": "appendChild",
|
||||
"ce": "createElement",
|
||||
"ct": "createTextNode"
|
||||
};
|
||||
|
||||
/**
|
||||
* Create deferred Promise
|
||||
*
|
||||
* From http://lea.verou.me/2016/12/resolve-promises-externally-with-
|
||||
* this-one-weird-trick/
|
||||
* @returns {Promise} - deferred promise
|
||||
*/
|
||||
const defProm = () => {
|
||||
let res = null;
|
||||
let rej = null;
|
||||
const promise = new Promise((resolve, reject) => {
|
||||
res = resolve;
|
||||
rej = reject;
|
||||
});
|
||||
promise.resolve = res;
|
||||
promise.reject = rej;
|
||||
return promise;
|
||||
};
|
||||
|
||||
H.ac = new AbortController();
|
||||
const fetchOptions = {
|
||||
"credentials": H.s.CORScredentials,
|
||||
"signal": H.ac.signal
|
||||
};
|
||||
|
||||
let stylesNode = null;
|
||||
|
||||
/**
|
||||
* Define function H.hide.
|
||||
* This function hides (state = 1) or unhides (state = 0)
|
||||
* the whole document (mode == 0) or
|
||||
* each selected element (mode == 1) or
|
||||
* text of each selected element (mode == 2) or
|
||||
* nothing (mode == -1)
|
||||
* @param {number} state - State
|
||||
* @param {number} mode - Mode
|
||||
*/
|
||||
H.hide = (state, mode) => {
|
||||
if (state) {
|
||||
const vis = (mode === 2)
|
||||
? "{color:transparent!important}"
|
||||
: "{visibility:hidden!important}";
|
||||
const myStyle = (mode === 0)
|
||||
? "html" + vis
|
||||
: (mode !== -1)
|
||||
? o.keys(H.s.selectors).join(vis) + vis
|
||||
: "";
|
||||
stylesNode = d[shortcuts.ce]("style");
|
||||
stylesNode[shortcuts.ac](d[shortcuts.ct](myStyle));
|
||||
d.head[shortcuts.ac](stylesNode);
|
||||
} else if (stylesNode) {
|
||||
stylesNode.remove();
|
||||
}
|
||||
};
|
||||
|
||||
const tester = (() => {
|
||||
let fakeBody = null;
|
||||
return {
|
||||
|
||||
/**
|
||||
* Append fakeBody with tests to document
|
||||
* @returns {object|null} The body element or null, if no tests
|
||||
*/
|
||||
"ap": () => {
|
||||
if (fakeBody) {
|
||||
d.documentElement[shortcuts.ac](fakeBody);
|
||||
return fakeBody;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
||||
/**
|
||||
* Remove fakeBody
|
||||
* @returns {undefined}
|
||||
*/
|
||||
"cl": () => {
|
||||
if (fakeBody) {
|
||||
fakeBody.remove();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Create and append div with CSS-hyphenated word
|
||||
* @param {string} lang Language
|
||||
* @returns {undefined}
|
||||
*/
|
||||
"cr": (lang) => {
|
||||
if (H.cf.langs.has(lang)) {
|
||||
return;
|
||||
}
|
||||
fakeBody ||= d[shortcuts.ce]("body");
|
||||
const testDiv = d[shortcuts.ce]("div");
|
||||
const ha = "hyphens:auto";
|
||||
testDiv.lang = lang;
|
||||
testDiv.style.cssText = `visibility:hidden;-webkit-${ha};-ms-${ha};${ha};width:48px;font-size:12px;line-height:12px;border:none;padding:0;word-wrap:normal`;
|
||||
testDiv[shortcuts.ac](
|
||||
d[shortcuts.ct](H.lrq.get(lang).wo.toLowerCase())
|
||||
);
|
||||
fakeBody[shortcuts.ac](testDiv);
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
/**
|
||||
* Checks if hyphens (ev.prefixed) is set to auto for the element.
|
||||
* @param {object} elmStyle - the element
|
||||
* @returns {boolean} result of the check
|
||||
*/
|
||||
const checkCSSHyphensSupport = (elmStyle) => {
|
||||
const h = elmStyle.hyphens ||
|
||||
elmStyle.webkitHyphens ||
|
||||
elmStyle.msHyphens;
|
||||
return (h === "auto");
|
||||
};
|
||||
|
||||
H.res = {
|
||||
"he": mp()
|
||||
};
|
||||
|
||||
/**
|
||||
* Load hyphenEngines to H.res.he
|
||||
*
|
||||
* Make sure each .wasm is loaded exactly once, even for fallbacks
|
||||
* Store a list of languages to by hyphenated with each .wasm
|
||||
* @param {string} lang The language
|
||||
* @returns {undefined}
|
||||
*/
|
||||
const loadhyphenEngine = (lang) => {
|
||||
const fn = H.lrq.get(lang).fn;
|
||||
H.cf.pf = true;
|
||||
H.cf.langs.set(lang, "H9Y");
|
||||
if (H.res.he.has(fn)) {
|
||||
H.res.he.get(fn).l.push(lang);
|
||||
} else {
|
||||
H.res.he.set(
|
||||
fn,
|
||||
{
|
||||
"l": [lang],
|
||||
"w": w.fetch(H.paths.patterndir + fn + ".wasm", fetchOptions)
|
||||
}
|
||||
);
|
||||
}
|
||||
};
|
||||
H.lrq.forEach((value, lang) => {
|
||||
if (value.wo === "FORCEHYPHENOPOLY" || H.cf.langs.get(lang) === "H9Y") {
|
||||
loadhyphenEngine(lang);
|
||||
} else {
|
||||
tester.cr(lang);
|
||||
}
|
||||
});
|
||||
const testContainer = tester.ap();
|
||||
if (testContainer) {
|
||||
testContainer.childNodes.forEach((n) => {
|
||||
if (checkCSSHyphensSupport(n.style) && n.offsetHeight > 12) {
|
||||
H.cf.langs.set(n.lang, "CSS");
|
||||
} else {
|
||||
loadhyphenEngine(n.lang);
|
||||
}
|
||||
});
|
||||
tester.cl();
|
||||
}
|
||||
const hev = H.hev;
|
||||
if (H.cf.pf) {
|
||||
H.res.DOM = new Promise((res) => {
|
||||
if (d.readyState === "loading") {
|
||||
d.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
res,
|
||||
{
|
||||
"once": true,
|
||||
"passive": true
|
||||
}
|
||||
);
|
||||
} else {
|
||||
res();
|
||||
}
|
||||
});
|
||||
H.hide(1, H.s.hide);
|
||||
H.timeOutHandler = w.setTimeout(() => {
|
||||
H.hide(0, null);
|
||||
// eslint-disable-next-line no-bitwise
|
||||
if (H.s.timeout & 1) {
|
||||
H.ac.abort();
|
||||
}
|
||||
// eslint-disable-next-line no-console
|
||||
console.info(scriptName + " timed out.");
|
||||
}, H.s.timeout);
|
||||
if (mainScriptLoaded) {
|
||||
H.main();
|
||||
} else {
|
||||
// Load main script
|
||||
fetch(H.paths.maindir + "Hyphenopoly.js", fetchOptions).
|
||||
then((response) => {
|
||||
if (response.ok) {
|
||||
response.blob().then((blb) => {
|
||||
const script = d[shortcuts.ce]("script");
|
||||
script.src = URL.createObjectURL(blb);
|
||||
d.head[shortcuts.ac](script);
|
||||
mainScriptLoaded = true;
|
||||
URL.revokeObjectURL(script.src);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
H.hy6ors = mp();
|
||||
H.cf.langs.forEach((langDef, lang) => {
|
||||
if (langDef === "H9Y") {
|
||||
H.hy6ors.set(lang, defProm());
|
||||
}
|
||||
});
|
||||
H.hy6ors.set("HTML", defProm());
|
||||
H.hyphenators = new Proxy(H.hy6ors, {
|
||||
|
||||
/**
|
||||
* Proxy getter
|
||||
* @param {Map} target - the hy6ors map
|
||||
* @param {string} key - the language
|
||||
* @returns {Promise} - Promise for a hyphenator
|
||||
*/
|
||||
"get": (target, key) => {
|
||||
return target.get(key);
|
||||
},
|
||||
|
||||
/**
|
||||
* Proxy setter, inhibits setting of hyphenators
|
||||
* @returns {boolean} - allways true
|
||||
*/
|
||||
"set": () => {
|
||||
// Inhibit setting of hyphenators
|
||||
return true;
|
||||
}
|
||||
});
|
||||
(() => {
|
||||
if (hev && hev.polyfill) {
|
||||
hev.polyfill();
|
||||
}
|
||||
})();
|
||||
} else {
|
||||
(() => {
|
||||
if (hev && hev.tearDown) {
|
||||
hev.tearDown();
|
||||
}
|
||||
w.Hyphenopoly = null;
|
||||
})();
|
||||
}
|
||||
(() => {
|
||||
if (H.cft) {
|
||||
store.setItem(scriptName, JSON.stringify(
|
||||
{
|
||||
"langs": [...H.cf.langs.entries()],
|
||||
"pf": H.cf.pf
|
||||
}
|
||||
));
|
||||
}
|
||||
})();
|
||||
});
|
||||
|
||||
/**
|
||||
* API exposed config
|
||||
* @param {object} c - the user supplied configuration
|
||||
*/
|
||||
H.config = (c) => {
|
||||
/**
|
||||
* Sets default properties for an Object
|
||||
* @param {object} obj - The object to set defaults to
|
||||
* @param {object} defaults - The defaults to set
|
||||
* @returns {object} the settings in obj complemented with defaults
|
||||
*/
|
||||
const setDefaults = (obj, defaults) => {
|
||||
if (obj) {
|
||||
o.entries(defaults).forEach(([k, v]) => {
|
||||
// eslint-disable-next-line security/detect-object-injection
|
||||
obj[k] ||= v;
|
||||
});
|
||||
return obj;
|
||||
}
|
||||
return defaults;
|
||||
};
|
||||
|
||||
H.cft = Boolean(c.cacheFeatureTests);
|
||||
if (H.cft && store.getItem(scriptName)) {
|
||||
H.cf = JSON.parse(store.getItem(scriptName));
|
||||
H.cf.langs = mp(H.cf.langs);
|
||||
} else {
|
||||
H.cf = {
|
||||
"langs": mp(),
|
||||
"pf": false
|
||||
};
|
||||
}
|
||||
|
||||
const maindir = thisScript.slice(0, (thisScript.lastIndexOf("/") + 1));
|
||||
const patterndir = maindir + "patterns/";
|
||||
H.paths = setDefaults(c.paths, {
|
||||
maindir,
|
||||
patterndir
|
||||
});
|
||||
H.s = setDefaults(c.setup, {
|
||||
"CORScredentials": "include",
|
||||
"hide": "all",
|
||||
"selectors": {".hyphenate": {}},
|
||||
"timeout": 1000
|
||||
});
|
||||
// Change mode string to mode int
|
||||
H.s.hide = ["all", "element", "text"].indexOf(H.s.hide);
|
||||
if (c.handleEvent) {
|
||||
H.hev = c.handleEvent;
|
||||
}
|
||||
|
||||
const fallbacks = mp(o.entries(c.fallbacks || {}));
|
||||
H.lrq = mp();
|
||||
o.entries(c.require).forEach(([lang, wo]) => {
|
||||
H.lrq.set(lang.toLowerCase(), {
|
||||
"fn": fallbacks.get(lang) || lang,
|
||||
wo
|
||||
});
|
||||
});
|
||||
|
||||
main();
|
||||
};
|
||||
})(window, document, Hyphenopoly, Object);
|
||||
1
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/js/bootstrap.min.js
vendored
Normal file
8
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/js/doubletaptogo.min.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
By Osvaldas Valutis, www.osvaldas.info
|
||||
Available for use under the MIT License
|
||||
*/
|
||||
|
||||
|
||||
|
||||
;(function(e,t,n,r){e.fn.doubleTapToGo=function(r){if(!("ontouchstart"in t)&&!navigator.msMaxTouchPoints&&!navigator.userAgent.toLowerCase().match(/windows phone os 7/i))return false;this.each(function(){var t=false;e(this).on("click",function(n){var r=e(this);if(r[0]!=t[0]){n.preventDefault();t=r}});e(n).on("click touchstart MSPointerDown",function(n){var r=true,i=e(n.target).parents();for(var s=0;s<i.length;s++)if(i[s]==t[0])r=false;if(r)t=false})});return this}})(jQuery,window,document);
|
||||
1
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/js/dragdealer.min.js
vendored
Normal file
2
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/js/jquery-3.6.0.min.js
vendored
Normal file
6
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/js/jquery-ui.min.js
vendored
Normal file
1
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/js/jquery.appear.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){function r(){n=!1;for(var r=0,i=t.length;r<i;r++){var a=e(t[r]).filter(function(){return e(this).is(":appeared")});if(a.trigger("appear",[a]),f[r]){var o=f[r].not(a);o.trigger("disappear",[o])}f[r]=a}}var t=[],i=!1,n=!1,a={interval:250,force_process:!1},o=e(window),f=[];e.expr[":"].appeared=function(r){var t=e(r);if(!t.is(":visible"))return!1;var i=o.scrollLeft(),n=o.scrollTop(),a=t.offset(),f=a.left,p=a.top;return p+t.height()>=n&&p-(t.data("appear-top-offset")||0)<=n+o.height()&&f+t.width()>=i&&f-(t.data("appear-left-offset")||0)<=i+o.width()},e.fn.extend({appear:function(o){var p=e.extend({},a,o||{}),s=this.selector||this;if(!i){var u=function(){n||(n=!0,setTimeout(r,p.interval))};e(window).scroll(u).resize(u),i=!0}return p.force_process&&setTimeout(r,p.interval),function(e){t.push(e),f.push()}(s),e(s)}}),e.extend({force_appear:function(){return!!i&&(r(),!0)}})}("undefined"!=typeof module?require("jquery"):jQuery);
|
||||
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Sticky-kit v1.1.2 | WTFPL | Leaf Corcoran 2015 | http://leafo.net
|
||||
*/
|
||||
(function(){var b,f;b=this.jQuery||window.jQuery;f=b(window);b.fn.stick_in_parent=function(d){var A,w,J,n,B,K,p,q,k,E,t;null==d&&(d={});t=d.sticky_class;B=d.inner_scrolling;E=d.recalc_every;k=d.parent;q=d.offset_top;p=d.spacer;w=d.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=b(document);null==w&&(w=!0);J=function(a,d,n,C,F,u,r,G){var v,H,m,D,I,c,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));
|
||||
if(!g.length)throw"failed to find stick parent";v=m=!1;(h=null!=p?p&&a.closest(p):b("<div />"))&&h.css("position",a.css("position"));x=function(){var c,f,e;if(!G&&(I=A.height(),c=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),d=parseInt(g.css("padding-bottom"),10),n=g.offset().top+c+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q,
|
||||
u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:a.outerWidth(!0),height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,c=q,z=E,l=function(){var b,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+c>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:c}).trigger("sticky_kit:unbottom"))),e<F&&(m=!1,c=q,null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),
|
||||
h.detach()),b={position:"",width:"",top:""},a.css(b).removeClass(t).trigger("sticky_kit:unstick")),B&&(b=f.height(),u+q>b&&!v&&(c-=l,c=Math.max(b-u,c),c=Math.min(q,c),m&&a.css({top:c+"px"})))):e>F&&(m=!0,b={position:"fixed",top:c},b.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(b).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+c>C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),
|
||||
a.css({position:"absolute",bottom:d,top:"auto"}).trigger("sticky_kit:bottom")},y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);b(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",
|
||||
y),b(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l,0)}};n=0;for(K=this.length;n<K;n++)d=this[n],J(b(d));return this}}).call(this);
|
||||
@@ -0,0 +1 @@
|
||||
!function(t){t.fn.vEllipsis=function(i){function a(t){var i=t.offset().top,a=i+t.height();return h>=a&&i>=c}function e(i,a){function e(){if(i.text(l),c&&i.append(" ",c),h){var a=t(document.createElement("a")).append(h);a.on("click",function(){n(i)}),i.append(" ",a)}}if((!a.expandLink||i.data("expanded")!==!0)&&i.is(":visible")){var l;if(i.data("lastHeight")&&i.data("lastHeight")===i.height()&&i.data("lastWidth")===i.width()&&(i.data("lastText")===i.text()||i.data("lastHTML")===i.html()))return;i.data("originalText")?(l=i.data("originalText"),i.text(l)):(l=i.text(),i.data("originalText",l),i.data("originalHTML",i.html()));var o,s=i.attr("class").split(/\s+/),d=a.lines,r=new RegExp("^"+a.linesClass+"-(\\d+)$");if(t.each(s,function(t,i){o=i.match(r),null!==o&&(d=Number(o[1]))}),a.additionalEnding&&i.data("link"))var c=i.data("link");if(a.expandLink&&i.data("expandlink"))var h=i.data("expandlink");if(1>d)l="",i.text("");else{var p=l,u=p.length,g=i.height();i.text("a");var m=parseFloat(i.css("lineHeight"),10),v=i.height(),f=m>v?m-v:0,w=f*(d-1)+v*d;if(w>=g)return i.text(l),i.data("lastText",l),i.data("lastHeight",i.height()),void i.data("lastWidth",i.width());var x=(w+v)/(g-(v+f));x>1&&(x=1);var T=Math.ceil(x*u);l=l.slice(0,T);var E=a["char"];c&&(i.html(c),E+=" "+i.text()),h&&(i.html(h),E+=" "+i.text());for(var k=1===d?0:Math.ceil(T/2),H=0,L=T-1;k+a.tolerance-1<L;)H=Math.ceil((k+L)/2),i.text(l.slice(0,H)+E),i.height()<=w?k=H:L=H-a.tolerance;l=l.slice(0,k),a.onlyFullWords&&(l=l.replace(/\s([^\s.]+)$/,"")),l=l.replace(/([:.,\s]+$)/g,""),l+=a["char"]}if(0!=a.animationTime&&i.data("collapsing")){var M=i.outerHeight();i.html(i.data("originalHTML")).css("height",i.outerHeight()).animate({height:M},parseInt(a.animationTime),function(){i.css("height",""),e()})}else e();i.data("lastText",l),i.data("lastHTML",i.html()),i.data("lastHeight",i.height()),i.data("lastWidth",i.width()),a.callback.call(i[0])}}function n(a){if(0!=i.animationTime)var e=a.outerHeight();if(a.html(a.data("originalHTML")),0!=i.animationTime){var n=a.outerHeight();a.css("height",e).animate({height:n},parseInt(i.animationTime),function(){a.css("height","")})}if(i.expandLink&&a.data("collapselink")){var o=a.data("collapselink"),s=t(document.createElement("a")).append(o);s.on("click",function(){l(a)}),a.append(" ",s),a.data("expanded",!0)}}function l(t){t.removeData("expanded").data("collapsing",!0),e(t,i),t.removeData("collapsing")}function o(n){c=t(window).scrollTop(),h=c+t(window).height(),t(i.element).each(function(){var n=t(this);a(n)&&e(n,i)})}function s(){clearTimeout(d),d=setTimeout(function(){o()},i.delay)}if(window.vEllipsis)return window.vEllipsis.options=t.extend(window.vEllipsis.options,i),void t(document).trigger("vEllipsisCreate");window.vEllipsis={},window.vEllipsis.options={element:".v-ellipsis",lines:1,onlyFullWords:!1,"char":"...",callback:function(){},responsive:!1,tolerance:5,delay:300,elementEvent:"change",additionalEnding:!1,expandLink:!1,collapseLink:!1,animationTime:"0",linesClass:"v-ellipsis-lines"},t(document).on("vEllipsisCreate",function(){o()});var d,r,i,c=t(window).scrollTop(),h=c+t(window).height();return window.vEllipsis.options=i=t.extend(window.vEllipsis.options,i),i.tolerance<1&&(i.tolerance=1),i.responsive&&t(window).resize(function(){s()}),t(window).on("scroll",function(){clearTimeout(r),r=setTimeout(function(){o()},100)}),t(document).on(i.elementEvent,i.element,function(){var a=t(this);a.data("originalText",a.text()),a.data("originalHTML",a.html()),e(a,i)}),o(),this}}(jQuery);
|
||||
2
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/js/master.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";if("undefined"!=typeof window){var t=window.navigator.userAgent.match(/Edge\/(\d{2})\./),e=!!t&&parseInt(t[1],10)>=16;if("objectFit"in document.documentElement.style!=!1&&!e)return void(window.objectFitPolyfill=function(){return!1});var i=function(t){var e=window.getComputedStyle(t,null),i=e.getPropertyValue("position"),n=e.getPropertyValue("overflow"),o=e.getPropertyValue("display");i&&"static"!==i||(t.style.position="relative"),"hidden"!==n&&(t.style.overflow="hidden"),o&&"inline"!==o||(t.style.display="block"),0===t.clientHeight&&(t.style.height="100%"),-1===t.className.indexOf("object-fit-polyfill")&&(t.className=t.className+" object-fit-polyfill")},n=function(t){var e=window.getComputedStyle(t,null),i={"max-width":"none","max-height":"none","min-width":"0px","min-height":"0px",top:"auto",right:"auto",bottom:"auto",left:"auto","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};for(var n in i){e.getPropertyValue(n)!==i[n]&&(t.style[n]=i[n])}},o=function(t,e,i){var n,o,l,a,d;if(i=i.split(" "),i.length<2&&(i[1]=i[0]),"x"===t)n=i[0],o=i[1],l="left",a="right",d=e.clientWidth;else{if("y"!==t)return;n=i[1],o=i[0],l="top",a="bottom",d=e.clientHeight}return n===l||o===l?void(e.style[l]="0"):n===a||o===a?void(e.style[a]="0"):"center"===n||"50%"===n?(e.style[l]="50%",void(e.style["margin-"+l]=d/-2+"px")):n.indexOf("%")>=0?(n=parseInt(n),void(n<50?(e.style[l]=n+"%",e.style["margin-"+l]=d*(n/-100)+"px"):(n=100-n,e.style[a]=n+"%",e.style["margin-"+a]=d*(n/-100)+"px"))):void(e.style[l]=n)},l=function(t){var e=t.dataset?t.dataset.objectFit:t.getAttribute("data-object-fit"),l=t.dataset?t.dataset.objectPosition:t.getAttribute("data-object-position");e=e||"cover",l=l||"50% 50%";var a=t.parentNode;i(a),n(t),t.style.position="absolute",t.style.height="100%",t.style.width="auto","scale-down"===e&&(t.style.height="auto",t.clientWidth<a.clientWidth&&t.clientHeight<a.clientHeight?(o("x",t,l),o("y",t,l)):(e="contain",t.style.height="100%")),"none"===e?(t.style.width="auto",t.style.height="auto",o("x",t,l),o("y",t,l)):"cover"===e&&t.clientWidth>a.clientWidth||"contain"===e&&t.clientWidth<a.clientWidth?(t.style.top="0",t.style.marginTop="0",o("x",t,l)):"scale-down"!==e&&(t.style.width="100%",t.style.height="auto",t.style.left="0",t.style.marginLeft="0",o("y",t,l))},a=function(t){if(void 0===t)t=document.querySelectorAll("[data-object-fit]");else if(t&&t.nodeName)t=[t];else{if("object"!=typeof t||!t.length||!t[0].nodeName)return!1;t=t}for(var i=0;i<t.length;i++)if(t[i].nodeName){var n=t[i].nodeName.toLowerCase();"img"!==n||e?"video"===n&&(t[i].readyState>0?l(t[i]):t[i].addEventListener("loadedmetadata",function(){l(this)})):t[i].complete?l(t[i]):t[i].addEventListener("load",function(){l(this)})}return!0};document.addEventListener("DOMContentLoaded",function(){a()}),window.addEventListener("resize",function(){a()}),window.objectFitPolyfill=a}}();
|
||||
1
a1_pl_dpd_post/public/Q3h9Lm2Rk8VzNwXa/wp-content/themes/DPD_NoLogin/js/slick.min.js
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg width="40px" height="40px" version="1.1" id="DPD" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 68 68" style="enable-background:new 0 0 68 68;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#414042;}
|
||||
.st1{fill:none;}
|
||||
.st2{fill:#DC0032;}
|
||||
</style>
|
||||
<g>
|
||||
<g>
|
||||
<path class="st2" d="M34,15.964c5.874,0,6.57,0.022,8.89,0.128c2.145,0.098,3.31,0.456,4.085,0.758
|
||||
c1.027,0.399,1.76,0.876,2.53,1.646c0.77,0.77,1.247,1.503,1.646,2.53c0.301,0.775,0.66,1.94,0.758,4.085
|
||||
c0.106,2.32,0.128,3.016,0.128,8.89s-0.022,6.57-0.128,8.89c-0.098,2.145-0.456,3.31-0.758,4.085
|
||||
c-0.399,1.027-0.876,1.76-1.646,2.53c-0.77,0.77-1.503,1.247-2.53,1.646c-0.775,0.301-1.94,0.66-4.085,0.758
|
||||
c-2.319,0.106-3.015,0.128-8.89,0.128s-6.57-0.022-8.89-0.128c-2.145-0.098-3.31-0.456-4.085-0.758
|
||||
c-1.027-0.399-1.76-0.876-2.53-1.646c-0.77-0.77-1.247-1.503-1.646-2.53c-0.301-0.775-0.66-1.94-0.758-4.085
|
||||
c-0.106-2.32-0.128-3.016-0.128-8.89s0.022-6.57,0.128-8.89c0.098-2.145,0.456-3.31,0.758-4.085
|
||||
c0.399-1.027,0.876-1.76,1.646-2.53c0.77-0.77,1.503-1.247,2.53-1.646c0.775-0.301,1.94-0.66,4.085-0.758
|
||||
C27.431,15.987,28.126,15.964,34,15.964 M34,12c-5.975,0-6.724,0.025-9.07,0.132c-2.342,0.107-3.941,0.479-5.34,1.023
|
||||
c-1.447,0.562-2.674,1.314-3.897,2.537c-1.223,1.223-1.975,2.45-2.537,3.897c-0.544,1.399-0.916,2.999-1.023,5.34
|
||||
c-0.107,2.346-0.132,3.096-0.132,9.07c0,5.975,0.025,6.724,0.132,9.07c0.107,2.342,0.479,3.941,1.023,5.34
|
||||
c0.562,1.447,1.314,2.674,2.537,3.897c1.223,1.223,2.45,1.975,3.897,2.537c1.399,0.544,2.999,0.916,5.34,1.023
|
||||
C27.277,55.974,28.026,56,34,56s6.724-0.025,9.07-0.132c2.342-0.107,3.941-0.479,5.34-1.023c1.447-0.562,2.674-1.314,3.897-2.537
|
||||
c1.223-1.223,1.975-2.45,2.537-3.897c0.544-1.399,0.916-2.999,1.023-5.34C55.975,40.724,56,39.975,56,34s-0.025-6.724-0.132-9.07
|
||||
c-0.107-2.342-0.479-3.941-1.023-5.34c-0.562-1.447-1.314-2.674-2.537-3.897c-1.223-1.223-2.45-1.975-3.897-2.537
|
||||
c-1.399-0.544-2.999-0.916-5.34-1.023C40.724,12.026,39.975,12,34,12L34,12z"/>
|
||||
<path class="st2" d="M34,22.703c-6.239,0-11.297,5.058-11.297,11.297c0,6.239,5.058,11.297,11.297,11.297S45.298,40.239,45.298,34
|
||||
C45.298,27.761,40.24,22.703,34,22.703z M34,41.333c-4.05,0-7.333-3.283-7.333-7.333c0-4.05,3.283-7.333,7.333-7.333
|
||||
S41.334,29.95,41.334,34C41.334,38.05,38.05,41.333,34,41.333z"/>
|
||||
<circle class="st2" cx="45.744" cy="22.257" r="2.64"/>
|
||||
</g>
|
||||
<rect id="XMLID_1_" x="0" class="st1" width="68" height="68"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg width="40px" height="40px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 68 68" style="enable-background:new 0 0 68 68;" xml:space="preserve">
|
||||
<g id="SocialMedia_x5F_LinkedIn_x5F_blackred_x5F_pos_x5F_rgb">
|
||||
<g id="LinkedIn_1_">
|
||||
<rect id="XMLID_1199_" x="0" y="-0.001" style="fill:none;" width="68" height="68.003"/>
|
||||
<g id="XMLID_1192_">
|
||||
<g id="XMLID_1197_">
|
||||
<path id="XMLID_1198_" style="fill:#DC0032;" d="M57.94,57.941V40.142c0-8.739-1.887-15.458-12.091-15.458
|
||||
c-4.907,0-8.199,2.69-9.544,5.241h-0.138v-4.433h-9.667v32.449h10.073V41.889c0-4.233,0.8-8.332,6.05-8.332
|
||||
c5.168,0,5.24,4.842,5.24,8.605v15.779H57.94z"/>
|
||||
</g>
|
||||
<g id="XMLID_1195_">
|
||||
<path id="XMLID_1196_" style="fill:#DC0032;" d="M15.127,9.36c-3.241,0-5.851,2.621-5.851,5.845c0,3.229,2.61,5.849,5.851,5.849
|
||||
c3.226,0,5.845-2.62,5.845-5.849C20.973,11.981,18.353,9.36,15.127,9.36z"/>
|
||||
</g>
|
||||
<g id="XMLID_1193_">
|
||||
<rect id="XMLID_1194_" x="10.077" y="25.492" style="fill:#DC0032;" width="10.095" height="32.449"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer_1">
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |