diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..fe17248c Binary files /dev/null and b/.DS_Store differ diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..115e63e2 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,17 @@ +GNU General Public License 2.0+ + +Copyright (c) 2016 Tonya Mork, http://hellofromtonya.com + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..db2f83c0 --- /dev/null +++ b/README.md @@ -0,0 +1,185 @@ +# HELLO ELEMENTOR CHILD + +Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo | This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. + +# Plugins + +### [Linkify](https://www.jqueryscript.net/text/jQuery-Plugin-To-Transform-URLs-In-Text-Into-Links-linkify.html) +**Add this code below jQuery Enqueue** +``` +wp_enqueue_script('cb-linkify-js', get_stylesheet_directory_uri() .'/js/linkify.min.js', array(), $ver, true); +wp_enqueue_script('cb-linkify-jquery', get_stylesheet_directory_uri() .'/js/jquery.linkify.min.js', array(), $ver, true); +``` + +**Add this code in script.js** +``` +$("selector").linkify(); +``` + +### [Slick](https://kenwheeler.github.io/slick/) +**Add this code below jQuery Enqueue** +``` +wp_enqueue_script('cb-slick-js', get_stylesheet_directory_uri() .'/js/slick.min.js', array(), $ver, true); +``` +**Copy the code in slick.css to style.css** + +# jQuery Hacks + +### [MEGA MENU] +**How to set up** +1. Create a WP Menu. +2. Add a class "mega-menu prevented" to specific menu item as trigger. +3. Create an elementor section as your mega menu with class and ID. + - class = mega-menu + - ID = Use the label used in the WP menu trigger. E.g "Main Services" = "main-services". + +Notes: It might appear to be buggy when you don't have anything on page except the header & menu. It doesn't hide the menu but only "z-index: -1" which make it still hoverable if there are no other sections on the page to cover it. + +**Script** +``` +// Mega Menu +$("li.mega-menu").each(function(){ + // Variable the menu label as selector + var menuClass = $(this).find("a")[0].childNodes[0].nodeValue.trim(); + menuClass = menuClass.replace(/\s+/g, '-').toLowerCase(); + + $(this).hover(function() { + // Add active to menu trigger to preserved hovered state + $(this).find("a").addClass("active"); + $("#"+menuClass).addClass("active"); + }, function() { + $(this).find("a").removeClass("active"); + $("#"+menuClass).removeClass("active"); + }); + // Preserve the hover on mega menu container + $("#"+menuClass).hover(function() { + $(this).addClass("active"); + $("li.mega-menu a:contains("+menuClass+")").addClass("active"); + }, function() { + $(this).removeClass("active"); + $("li.mega-menu a:contains("+menuClass+")").removeClass("active"); + }); + //// Prevent going to URL on first click on Touch Devices + $(this).on("touch", function(e) { + if($(this).hasClass("prevented")) { + event.preventDefault(); + $(this).removeClass("prevented"); + } else { + $(this).addClass("prevented"); + $(this).unbind("click"); + } + }); +}); +``` +**Style** +``` +section.mega-menu { + position: absolute; + top: 0; + width: 100%; + display: block; + opacity: 0; + transition: .3s !important; + z-index: -1; +} +section.mega-menu.active { + opacity: 1; + z-index: 10; +} +#menu-main li.mega-menu a:hover:before { + content: ''; + height: 20px; //Height of the distance from to mega-menu + width: 300vw; + left: -100vw; + position: absolute; + top: 100%; +} +``` + +### [READ MORE/READ LESS] + +**HTML Structure** +``` +
+ This is the active/visible content. +
+ This is the hidden content that'll show when the Read More is triggered. + READ MORE +
+
+``` + +**Script** +``` +$(".read-more").each(function(){ + // This hides the span + $(this).find("span").hide(); + $(this).find(".read-more-button").click(function(){ + // Handles the toggle HIDE/SHOW + $(this).prev("span").slideToggle(); + + // Changes READ MORE to READ LESS + if ($(this).text() == "READ MORE") { + $(this).text("READ LESS") + } else { + $(this).text("READ MORE") + } + }); +}); +``` + +**Style** +``` +.read-more { + display: inline; +} +``` + +### [SPLIT/WRAP TEXT] +``` +// Initial HTML
This is a text & span
+// Result
This is a text & span
+$('div').html(function(i, v){ + // Ampersand(&) is the trigger. The wrap will show after the ampersand(&) + var html = v.split('&'); + return html[0] + ': ' + '' + html[1] + ''; +}); +``` + +# Elementor Manipulations + +### [ACCORDION ON HOVER] + +**Instructions** +1. Create an accordion in Elementor. +2. Add "active-hover" class in the accordion. + +**Script** +``` +// Elementor Accordion +$(".active-hover .elementor-accordion-item").on("mouseenter click", function() { + $(this).find(".elementor-tab-title").addClass("elementor-active"); + $(this).find(".elementor-tab-content").addClass("elementor-active"); + $(this).find(".elementor-tab-content").stop().slideDown("slow"); + // Slide off on others + $(this).siblings().find(".elementor-tab-title").removeClass("elementor-active"); + $(this).siblings().find(".elementor-tab-content").removeClass("elementor-active"); + $(this).siblings().find(".elementor-tab-content").stop().slideUp("slow"); +}); +``` + +This code will reset the first child as active state. +``` +// Reset to first child active +$(".active-hover .elementor-accordion").on("mouseleave", function() { + $(this).find(".elementor-accordion-item:first-child .elementor-tab-title").addClass("elementor-active"); + $(this).find(".elementor-accordion-item:first-child .elementor-tab-content").addClass("elementor-active"); + $(this).find(".elementor-accordion-item:first-child .elementor-tab-content").stop().slideDown("slow"); + // Slide off on others + $(this).find(".elementor-accordion-item:first-child").siblings().find(".elementor-tab-title").removeClass("elementor-active"); + $(this).find(".elementor-accordion-item:first-child").siblings().find(".elementor-tab-content").removeClass("elementor-active"); + $(this).find(".elementor-accordion-item:first-child").siblings().find(".elementor-tab-content").stop().slideUp("slow"); +}); +``` + +# Functions \ No newline at end of file diff --git a/elementor-kit/content/page/28.json b/elementor-kit/content/page/28.json new file mode 100644 index 00000000..db291f1c --- /dev/null +++ b/elementor-kit/content/page/28.json @@ -0,0 +1,131 @@ +{ + "content": [ + { + "id": "94c6c5b", + "settings": { + "flex_direction": "column", + "flex_gap": { + "column": "", + "row": "", + "isLinked": true, + "unit": "px", + "size": null + } + }, + "elements": [ + { + "id": "74d9b259", + "settings": { + "editor": "

Page title / H1

Lorem ipsum dolor sit amet.

" + }, + "elements": [], + "isInner": false, + "widgetType": "text-editor", + "elType": "widget" + }, + { + "id": "60b69e34", + "settings": { + "editor": "

Page Headlines/ H2

Lorem ipsum dolor sit amet.

" + }, + "elements": [], + "isInner": false, + "widgetType": "text-editor", + "elType": "widget" + }, + { + "id": "1a132103", + "settings": { + "editor": "

Module Headlines/ H3

Lorem ipsum dolor sit amet.

" + }, + "elements": [], + "isInner": false, + "widgetType": "text-editor", + "elType": "widget" + }, + { + "id": "17bde2ef", + "settings": { + "editor": "

H4

Lorem ipsum dolor sit amet.

" + }, + "elements": [], + "isInner": false, + "widgetType": "text-editor", + "elType": "widget" + }, + { + "id": "51f8a2e2", + "settings": { + "editor": "

H5

Lorem ipsum dolor sit amet.
" + }, + "elements": [], + "isInner": false, + "widgetType": "text-editor", + "elType": "widget" + }, + { + "id": "289216ba", + "settings": { + "editor": "

H6

Lorem ipsum dolor sit amet.
" + }, + "elements": [], + "isInner": false, + "widgetType": "text-editor", + "elType": "widget" + }, + { + "id": "3f7712e7", + "settings": { + "editor": "

Lead In Text

", + "__globals__": { + "typography_typography": "globals/typography?id=f261652" + } + }, + "elements": [], + "isInner": false, + "widgetType": "text-editor", + "elType": "widget" + }, + { + "id": "50222592", + "settings": { + "editor": "

Paragraph Text

", + "__globals__": { + "typography_typography": "globals/typography?id=3ab9a6b" + } + }, + "elements": [], + "isInner": false, + "widgetType": "text-editor", + "elType": "widget" + }, + { + "id": "7ab7ba2c", + "settings": { + "text": "Button Text", + "typography_typography": "custom", + "typography_font_size_mobile": { + "unit": "px", + "size": 16, + "sizes": [] + }, + "typography_line_height_mobile": { + "unit": "em", + "size": 1.2, + "sizes": [] + }, + "__globals__": { "typography_typography": "" } + }, + "elements": [], + "isInner": false, + "widgetType": "button", + "elType": "widget" + } + ], + "isInner": false, + "elType": "container" + } + ], + "settings": { "template": "elementor_header_footer", "hide_title": "yes" }, + "metadata": [] +} diff --git a/elementor-kit/manifest.json b/elementor-kit/manifest.json new file mode 100644 index 00000000..3c94e456 --- /dev/null +++ b/elementor-kit/manifest.json @@ -0,0 +1,63 @@ +{ + "name": "", + "title": null, + "description": null, + "author": "cb-defaults", + "version": "2.0", + "elementor_version": "3.25.4", + "created": "2024-11-06 20:55:12", + "thumbnail": false, + "site": "https://cb-stage.com/default", + "site-settings": [ + "global-colors", + "global-typography", + "theme-style-typography", + "theme-style-buttons", + "theme-style-images", + "theme-style-form-fields", + "settings-background", + "settings-layout", + "settings-lightbox", + "settings-page-transitions", + "settings-custom-css", + "hello-settings-header", + "hello-settings-footer" + ], + "plugins": [ + { + "name": "Elementor", + "plugin": "elementor/elementor", + "pluginUri": "https://elementor.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash", + "version": "3.25.4" + }, + { + "name": "Classic Editor", + "plugin": "classic-editor/classic-editor", + "pluginUri": "https://wordpress.org/plugins/classic-editor/", + "version": "1.6.5" + }, + { + "name": "Elementor Pro", + "plugin": "elementor-pro/elementor-pro", + "pluginUri": "https://go.elementor.com/wp-dash-wp-plugins-author-uri/", + "version": "3.24.4" + } + ], + "templates": [], + "taxonomies": { "post": ["category"] }, + "content": { + "post": [], + "page": { + "28": { + "title": "Default Page", + "excerpt": "", + "doc_type": "wp-page", + "thumbnail": false, + "url": "https://cb-stage.com/default/default-page/", + "terms": [] + } + }, + "e-floating-buttons": [] + }, + "wp-content": { "post": ["1", "15"], "page": [], "nav_menu_item": [] } +} diff --git a/elementor-kit/site-settings.json b/elementor-kit/site-settings.json new file mode 100644 index 00000000..4a787fc9 --- /dev/null +++ b/elementor-kit/site-settings.json @@ -0,0 +1,267 @@ +{ + "content": [], + "settings": { + "template": "default", + "system_colors": [ + { "_id": "primary", "title": "Primary", "color": "#6EC1E4" }, + { "_id": "secondary", "title": "Secondary", "color": "#54595F" }, + { "_id": "text", "title": "Text", "color": "#7A7A7A" }, + { "_id": "accent", "title": "Accent", "color": "#61CE70" } + ], + "custom_colors": [ + { "_id": "361f22f", "title": "Black", "color": "#000000" }, + { "_id": "6e67bca", "title": "White", "color": "#FFFFFF" } + ], + "typography_enable_styleguide_preview": "yes", + "system_typography": [ + { + "_id": "primary", + "title": "Page Title / H1", + "typography_typography": "custom", + "typography_font_family": "Roboto", + "typography_font_size": { "unit": "px", "size": 60, "sizes": [] }, + "typography_line_height": { "unit": "em", "size": 1.6, "sizes": [] }, + "typography_font_size_tablet": { + "unit": "px", + "size": 50, + "sizes": [] + }, + "typography_font_size_mobile": { "unit": "px", "size": 40, "sizes": [] } + }, + { + "_id": "secondary", + "title": "Section Headlines / H2", + "typography_typography": "custom", + "typography_font_family": "Roboto Slab", + "typography_font_size": { "unit": "px", "size": 50, "sizes": [] }, + "typography_font_size_tablet": { + "unit": "px", + "size": 40, + "sizes": [] + }, + "typography_font_size_mobile": { + "unit": "px", + "size": 30, + "sizes": [] + }, + "typography_line_height_mobile": { + "unit": "em", + "size": 1.2, + "sizes": [] + }, + "typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] } + }, + { + "_id": "text", + "title": "Module Headlines / H3", + "typography_typography": "custom", + "typography_font_family": "Roboto", + "typography_font_size": { "unit": "px", "size": 40, "sizes": [] }, + "typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] }, + "typography_font_size_tablet": { + "unit": "px", + "size": 34, + "sizes": [] + }, + "typography_font_size_mobile": { "unit": "px", "size": 28, "sizes": [] } + }, + { + "_id": "accent", + "title": "H4", + "typography_typography": "custom", + "typography_font_family": "Roboto", + "typography_font_weight": "500", + "typography_font_size": { "unit": "px", "size": 34, "sizes": [] }, + "typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] }, + "typography_font_size_tablet": { + "unit": "px", + "size": 28, + "sizes": [] + }, + "typography_font_size_mobile": { "unit": "px", "size": 24, "sizes": [] } + } + ], + "custom_typography": [ + { + "_id": "cb47f77", + "title": "H5", + "typography_typography": "custom", + "typography_font_size": { "unit": "px", "size": 28, "sizes": [] }, + "typography_font_size_tablet": { + "unit": "px", + "size": 24, + "sizes": [] + }, + "typography_font_size_mobile": { + "unit": "px", + "size": 20, + "sizes": [] + }, + "typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] } + }, + { + "_id": "3e3c46a", + "title": "H6", + "typography_typography": "custom", + "typography_font_size": { "unit": "px", "size": 24, "sizes": [] }, + "typography_font_size_tablet": { + "unit": "px", + "size": 20, + "sizes": [] + }, + "typography_font_size_mobile": { + "unit": "px", + "size": 18, + "sizes": [] + }, + "typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] } + }, + { + "_id": "f261652", + "title": "Lead In", + "typography_typography": "custom", + "typography_font_size": { "unit": "px", "size": 20, "sizes": [] }, + "typography_font_size_tablet": { + "unit": "px", + "size": 18, + "sizes": [] + }, + "typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] } + }, + { + "_id": "98a2376", + "title": "Button Text", + "typography_typography": "custom", + "typography_font_size_mobile": { + "unit": "px", + "size": 16, + "sizes": [] + }, + "typography_line_height_mobile": { + "unit": "em", + "size": 1.2, + "sizes": [] + }, + "typography_font_size": { "unit": "px", "size": 16, "sizes": [] }, + "typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] } + }, + { + "_id": "3ab9a6b", + "title": "Body Text / P / ULOL", + "typography_typography": "custom", + "typography_font_size": { "unit": "px", "size": 18, "sizes": [] }, + "typography_font_size_tablet": { + "unit": "px", + "size": 16, + "sizes": [] + }, + "typography_line_height": { "unit": "em", "size": 1.6, "sizes": [] } + } + ], + "default_generic_fonts": "Sans-serif", + "page_title_selector": "h1.entry-title", + "hello_footer_copyright_text": "All rights reserved", + "activeItemIndex": 1, + "__globals__": { + "body_typography_typography": "globals/typography?id=3ab9a6b", + "h1_typography_typography": "globals/typography?id=primary", + "h2_typography_typography": "globals/typography?id=secondary", + "h3_typography_typography": "globals/typography?id=text", + "h4_typography_typography": "globals/typography?id=accent", + "h5_typography_typography": "globals/typography?id=cb47f77", + "h6_typography_typography": "globals/typography?id=3e3c46a", + "button_typography_typography": "" + }, + "viewport_md": 769, + "viewport_lg": 1025, + "colors_enable_styleguide_preview": "yes", + "container_width": { "unit": "px", "size": 1442, "sizes": [] }, + "container_padding": { + "unit": "px", + "top": "150", + "right": "0", + "bottom": "150", + "left": "0", + "isLinked": false + }, + "container_padding_tablet": { + "unit": "px", + "top": "80", + "right": "0", + "bottom": "80", + "left": "0", + "isLinked": false + }, + "container_padding_mobile": { + "unit": "px", + "top": "60", + "right": "0", + "bottom": "60", + "left": "0", + "isLinked": false + }, + "viewport_mobile": 768, + "body_typography_typography": "custom", + "body_typography_font_size": { "unit": "px", "size": 18, "sizes": [] }, + "body_typography_line_height": { "unit": "em", "size": 1.6, "sizes": [] }, + "h1_typography_typography": "custom", + "h1_typography_font_family": "Roboto", + "h1_typography_font_size": { "unit": "px", "size": 60, "sizes": [] }, + "h1_typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] }, + "h2_typography_typography": "custom", + "h2_typography_font_family": "Roboto Slab", + "h2_typography_font_size": { "unit": "px", "size": 50, "sizes": [] }, + "h3_typography_typography": "custom", + "h3_typography_font_family": "Roboto", + "h3_typography_font_size": { "unit": "px", "size": 40, "sizes": [] }, + "h3_typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] }, + "h4_typography_typography": "custom", + "h4_typography_font_family": "Roboto", + "h4_typography_font_size": { "unit": "px", "size": 34, "sizes": [] }, + "h4_typography_font_weight": "500", + "h4_typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] }, + "h5_typography_typography": "custom", + "h5_typography_font_size": { "unit": "px", "size": 28, "sizes": [] }, + "h5_typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] }, + "h6_typography_typography": "custom", + "h6_typography_font_size": { "unit": "px", "size": 24, "sizes": [] }, + "h6_typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] }, + "button_typography_typography": "custom", + "button_typography_font_size": { "unit": "px", "size": 16, "sizes": [] }, + "button_typography_font_weight": "400", + "button_typography_line_height": { "unit": "em", "size": 1.2, "sizes": [] }, + "body_typography_font_size_tablet": { + "unit": "px", + "size": 16, + "sizes": [] + }, + "h1_typography_font_size_tablet": { "unit": "px", "size": 50, "sizes": [] }, + "h1_typography_font_size_mobile": { "unit": "px", "size": 40, "sizes": [] }, + "h2_typography_font_size_tablet": { "unit": "px", "size": 40, "sizes": [] }, + "h2_typography_font_size_mobile": { "unit": "px", "size": 30, "sizes": [] }, + "h2_typography_line_height_mobile": { + "unit": "em", + "size": 1.2, + "sizes": [] + }, + "h3_typography_font_size_tablet": { "unit": "px", "size": 34, "sizes": [] }, + "h3_typography_font_size_mobile": { "unit": "px", "size": 28, "sizes": [] }, + "h4_typography_font_size_tablet": { "unit": "px", "size": 28, "sizes": [] }, + "h4_typography_font_size_mobile": { "unit": "px", "size": 24, "sizes": [] }, + "h5_typography_font_size_tablet": { "unit": "px", "size": 24, "sizes": [] }, + "h5_typography_font_size_mobile": { "unit": "px", "size": 20, "sizes": [] }, + "h6_typography_font_size_tablet": { "unit": "px", "size": 20, "sizes": [] }, + "h6_typography_font_size_mobile": { "unit": "px", "size": 18, "sizes": [] }, + "button_typography_font_size_mobile": { + "unit": "px", + "size": 16, + "sizes": [] + }, + "button_typography_line_height_mobile": { + "unit": "em", + "size": 1.2, + "sizes": [] + } + }, + "metadata": [] +} diff --git a/elementor-kit/taxonomies/category.json b/elementor-kit/taxonomies/category.json new file mode 100644 index 00000000..c45e9685 --- /dev/null +++ b/elementor-kit/taxonomies/category.json @@ -0,0 +1 @@ +[{"term_id":1,"name":"Uncategorized","slug":"uncategorized","taxonomy":"category","description":"","parent":0}] \ No newline at end of file diff --git a/elementor-kit/wp-content/nav_menu_item/nav_menu_item.xml b/elementor-kit/wp-content/nav_menu_item/nav_menu_item.xml new file mode 100644 index 00000000..6eef83fd --- /dev/null +++ b/elementor-kit/wp-content/nav_menu_item/nav_menu_item.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + Defaults + https://cb-stage.com/default + Wordpress Defaults [Elementor] + Wed, 06 Nov 2024 20:55:12 +0000 + en-US + 1.2 + https://cb-stage.com/default + https://cb-stage.com/default + + + 1 + + + + + + +https://wordpress.org/?v=6.6.2 + + + \ No newline at end of file diff --git a/elementor-kit/wp-content/page/page.xml b/elementor-kit/wp-content/page/page.xml new file mode 100644 index 00000000..6eef83fd --- /dev/null +++ b/elementor-kit/wp-content/page/page.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + Defaults + https://cb-stage.com/default + Wordpress Defaults [Elementor] + Wed, 06 Nov 2024 20:55:12 +0000 + en-US + 1.2 + https://cb-stage.com/default + https://cb-stage.com/default + + + 1 + + + + + + +https://wordpress.org/?v=6.6.2 + + + \ No newline at end of file diff --git a/elementor-kit/wp-content/post/post.xml b/elementor-kit/wp-content/post/post.xml new file mode 100644 index 00000000..c21eae40 --- /dev/null +++ b/elementor-kit/wp-content/post/post.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + Defaults + https://cb-stage.com/default + Wordpress Defaults [Elementor] + Wed, 06 Nov 2024 20:55:12 +0000 + en-US + 1.2 + https://cb-stage.com/default + https://cb-stage.com/default + + + 1 + + + + + + +https://wordpress.org/?v=6.6.2 + + Hello world! + + + + + + +

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

+]]>
+ + 1 + + + + + + + + 0 + + + 0 + + + 1 + + + + + + + Gravatar.]]> + + + + 0 + +
+ + Hello world! + + + + + + +

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

+]]>
+ + 15 + + + + + + + + 0 + + + 0 + + + + + + + 2 + + + + + + + Gravatar.]]> + + + + 0 + +
+ +
+
\ No newline at end of file diff --git a/functions.php b/functions.php index 846e1f30..6f87dada 100644 --- a/functions.php +++ b/functions.php @@ -11,13 +11,12 @@ * @return void */ function hello_elementor_child_enqueue_scripts() { - wp_enqueue_style( - 'hello-elementor-child-style', - get_stylesheet_directory_uri() . '/style.css', - [ - 'hello-elementor-theme-style', - ], - '1.0.0' - ); + $ver = time(); + //SCRIPT + wp_enqueue_script('jquery'); + wp_enqueue_script('cb-script', get_stylesheet_directory_uri() . '/js/script.js', array(), $ver, true); + + //STYLE + wp_enqueue_style('hello-elementor-child-style', get_stylesheet_directory_uri() . '/style.css', false, $ver, 'all'); } -add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 ); +add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 ); \ No newline at end of file diff --git a/js/jquery.linkify.min.js b/js/jquery.linkify.min.js new file mode 100644 index 00000000..6dbb4b88 --- /dev/null +++ b/js/jquery.linkify.min.js @@ -0,0 +1 @@ +!function(n,e){"use strict";function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var i=t(n);function o(n,e,t){let i=t[t.length-1];n.replaceChild(i,e);for(let e=t.length-2;e>=0;e--)n.insertBefore(t[e],i),i=t[e]}function l(n,e,t){const i=[];for(let o=0;o=0)return n;let a=n.firstChild;for(;a;){let f,c,s;switch(a.nodeType){case 1:r(a,t,i);break;case 3:if(f=a.nodeValue,c=e.tokenize(f),0===c.length||1===c.length&&"text"===c[0].t)break;s=l(c,t,i),o(n,a,s),a=s[s.length-1]}a=a.nextSibling}return n}function a(n){return e=>{let{tagName:t,attributes:i,content:o,eventListeners:l}=e;const r=n.createElement(t);for(const n in i)r.setAttribute(n,i[n]);if(l&&r.addEventListener)for(const n in l)r.addEventListener(n,l[n]);return r.appendChild(n.createTextNode(o)),r}}function f(n,t,i){void 0===t&&(t=null),void 0===i&&(i=null);try{i=i||document||window&&window.document||global&&global.document}catch(n){}if(!i)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return r(n,new e.Options(t,a(i)),i)}function c(n,e){if(void 0===e&&(e=!1),n.fn=n.fn||{},"function"!=typeof n.fn.linkify){try{e=e||document||window&&window.document||global&&global.document}catch(n){}if(!e)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify-jquery");n.fn.linkify=function(n){const t=f.normalize(n,e);return this.each((function(){f.helper(this,t,e)}))},n((function(){n("[data-linkify]").each((function(){const e=n(this),t=e.data(),i=t.linkify,o=t.linkifyNl2br,l={nl2br:!!o&&0!==o&&"false"!==o};"linkifyAttributes"in t&&(l.attributes=t.linkifyAttributes),"linkifyDefaultProtocol"in t&&(l.defaultProtocol=t.linkifyDefaultProtocol),"linkifyEvents"in t&&(l.events=t.linkifyEvents),"linkifyFormat"in t&&(l.format=t.linkifyFormat),"linkifyFormatHref"in t&&(l.formatHref=t.linkifyFormatHref),"linkifyTagname"in t&&(l.tagName=t.linkifyTagname),"linkifyTarget"in t&&(l.target=t.linkifyTarget),"linkifyRel"in t&&(l.rel=t.linkifyRel),"linkifyValidate"in t&&(l.validate=t.linkifyValidate),"linkifyIgnoreTags"in t&&(l.ignoreTags=t.linkifyIgnoreTags),"linkifyClassName"in t&&(l.className=t.linkifyClassName);("this"===i?e:e.find(i)).linkify(l)}))}))}}f.helper=r,f.getDefaultRender=a,f.normalize=(n,t)=>new e.Options(n,a(t));try{c(i.default)}catch(n){}try{window.linkifyElement=f}catch(n){}}(jQuery,linkify); diff --git a/js/linkify.min.js b/js/linkify.min.js new file mode 100644 index 00000000..6bf0cf28 --- /dev/null +++ b/js/linkify.min.js @@ -0,0 +1 @@ +var linkify=function(e){"use strict";const t=(e,t)=>{for(const n in t)e[n]=t[n];return e},n="numeric",i="ascii",s="alpha",r="asciinumeric",o="alphanumeric",a="domain",l="emoji",u="whitespace";function c(e,t){return e in t||(t[e]=[]),t[e]}function _(e,t,u){t[n]&&(t[r]=!0,t[o]=!0),t[i]&&(t[r]=!0,t[s]=!0),t[r]&&(t[o]=!0),t[s]&&(t[o]=!0),t[o]&&(t[a]=!0),t[l]&&(t[a]=!0);for(const n in t){const t=c(n,u);t.indexOf(e)<0&&t.push(e)}}function g(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}g.groups={},g.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n=0&&(n[i]=!0);return n}(a.t,s),i);_(o,e,s)}else i&&_(o,i,s);a.t=o}return r.j[e]=a,a}};const d=(e,t,n,i,s)=>e.ta(t,n,i,s),h=(e,t,n,i,s)=>e.tr(t,n,i,s),f=(e,t,n,i,s)=>e.ts(t,n,i,s),p=(e,t,n,i,s)=>e.tt(t,n,i,s),m="WORD",y="UWORD",k="LOCALHOST",b="TLD",E="UTLD",v="SCHEME",w="SLASH_SCHEME",O="NUM",j="NL",S="OPENBRACE",A="OPENBRACKET",L="OPENANGLEBRACKET",C="OPENPAREN",x="CLOSEBRACE",T="CLOSEBRACKET",R="CLOSEANGLEBRACKET",z="CLOSEPAREN",N="AMPERSAND",P="APOSTROPHE",I="ASTERISK",H="AT",M="BACKSLASH",Q="BACKTICK",D="CARET",U="COLON",B="COMMA",K="DOLLAR",$="DOT",q="EQUALS",F="EXCLAMATION",W="HYPHEN",Y="PERCENT",G="PIPE",J="PLUS",X="POUND",V="QUERY",Z="QUOTE",ee="SEMI",te="SLASH",ne="TILDE",ie="UNDERSCORE",se="EMOJI",re="SYM";var oe=Object.freeze({__proto__:null,WORD:m,UWORD:y,LOCALHOST:k,TLD:b,UTLD:E,SCHEME:v,SLASH_SCHEME:w,NUM:O,WS:"WS",NL:j,OPENBRACE:S,OPENBRACKET:A,OPENANGLEBRACKET:L,OPENPAREN:C,CLOSEBRACE:x,CLOSEBRACKET:T,CLOSEANGLEBRACKET:R,CLOSEPAREN:z,AMPERSAND:N,APOSTROPHE:P,ASTERISK:I,AT:H,BACKSLASH:M,BACKTICK:Q,CARET:D,COLON:U,COMMA:B,DOLLAR:K,DOT:$,EQUALS:q,EXCLAMATION:F,HYPHEN:W,PERCENT:Y,PIPE:G,PLUS:J,POUND:X,QUERY:V,QUOTE:Z,SEMI:ee,SLASH:te,TILDE:ne,UNDERSCORE:ie,EMOJI:se,SYM:re});const ae=/[a-z]/,le=/\p{L}/u,ue=/\p{Emoji}/u,ce=/\d/,_e=/\s/;var ge=Object.freeze({__proto__:null,ASCII_LETTER:ae,LETTER:le,EMOJI:ue,EMOJI_VARIATION:/\ufe0f/,DIGIT:ce,SPACE:_e});let de=null,he=null;function fe(e){const t=[],n=e.length;let i=0;for(;i56319||i+1===n||(s=e.charCodeAt(i+1))<56320||s>57343?e[i]:e.slice(i,i+2);t.push(o),i+=o.length}return t}function pe(e,t,n,i,s){let r;const o=t.length;for(let n=0;n=0;)s++;if(s>0){t.push(n.join(""));let r=parseInt(e.substring(i,i+s),10);for(;r>0;r--)n.pop();i+=s}else"_"===e[i]?(t.push(n.join("")),i++):(n.push(e[i]),i++)}return t}const ye={defaultProtocol:"http",events:null,format:be,formatHref:be,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ke(e,n){void 0===n&&(n=null);let i=t({},ye);e&&(i=t(i,e instanceof ke?e.o:e));const s=i.ignoreTags,r=[];for(let e=0;ee,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const i=null!=t;let s=this.o[e];return s?("object"==typeof s?(s=n.t in s?s[n.t]:ye[e],"function"==typeof s&&i&&(s=s(t,n))):"function"==typeof s&&i&&(s=s(t,n.t,n)),s):s},getObj(e,t,n){let i=this.o[e];return"function"==typeof i&&null!=t&&(i=i(t,n.t,n)),i},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};var Ee=Object.freeze({__proto__:null,defaults:ye,Options:ke,assign:t});function ve(e,t){this.t="token",this.v=e,this.tk=t}function we(e,t){class n extends ve{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}ve.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=ye.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const n=this,i=this.toFormattedHref(e),s=e.get("tagName",i,n),r=this.toFormattedString(e),o={},a=e.get("className",i,n),l=e.get("target",i,n),u=e.get("rel",i,n),c=e.getObj("attributes",i,n),_=e.getObj("events",i,n);return o.href=i,a&&(o.class=a),l&&(o.target=l),u&&(o.rel=u),c&&t(o,c),{tagName:s,attributes:o,content:r,eventListeners:_}}};const Oe=we("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),je=we("text"),Se=we("nl"),Ae=we("url",{isLink:!0,toHref(e){return void 0===e&&(e=ye.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==k&&e[1].t===U}});var Le=Object.freeze({__proto__:null,MultiToken:ve,Base:ve,createTokenClass:we,Email:Oe,Text:je,Nl:Se,Url:Ae});const Ce=e=>new g(e);function xe(e,t,n){const i=n[0].s,s=n[n.length-1].e;return new e(t.slice(i,s),n)}const Te="undefined"!=typeof console&&console&&console.warn||(()=>{}),Re="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",ze={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Ne(){ze.scanner=function(e){void 0===e&&(e=[]);const o={};g.groups=o;const c=new g;null==de&&(de=me("aaa1rp3barth4b_ott3vie4c1le2ogado5udhabi7c_ademy5centure6ountant_s9o1tor4d_s1ult4e_g1ro2tna4f_l1rica5g_akhan5ency5i_g1rbus3force5tel5kdn3l_faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m_azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o_l2partments8p_le4q_uarelle8r_ab1mco4chi3my2pa2t_e3s_da2ia2sociates9t_hleta5torney7u_ction5di_ble3o3spost5thor3o_s4vianca6w_s2x_a2z_ure5ba_by2idu3namex3narepublic11d1k2r_celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b_c1t1va3cg1n2d1e_ats2uty4er2ntley5rlin4st_buy5t2f1g1h_arti5i_ble3d1ke2ng_o3o1z2j1lack_friday9ockbuster8g1omberg7ue3m_s1w2n_pparibas9o_ats3ehringer8fa2m1nd2o_k_ing5sch2tik2on4t1utique6x2r_adesco6idgestone9oadway5ker3ther5ussels7s1t1uild_ers6siness6y1zz3v1w1y1z_h3ca_b1fe2l_l1vinklein9m_era3p2non3petown5ital_one8r_avan4ds2e_er_s4s2sa1e1h1ino4t_ering5holic7ba1n1re2s2c1d1enter4o1rn3f_a1d2g1h_anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i_priani6rcle4sco3tadel4i_c2y_eats7k1l_aims4eaning6ick2nic1que6othing5ud3ub_med6m1n1o_ach3des3ffee4llege4ogne5m_cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking_channel11l1p2rsica5untry4pon_s4rses6pa2r_edit_card4union9icket5own3s1uise_s6u_isinella9v1w1x1y_mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e_al_er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si_gn4v2hl2iamonds6et2gital5rect_ory7scount3ver5h2y2j1k1m1np2o_cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c_o2deka3u_cation8e1g1mail3erck5nergy4gineer_ing9terprises10pson4quipment8r_icsson6ni3s_q1tate5t_isalat7u_rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n_s2rm_ers5shion4t3edex3edback6rrari3ero6i_at2delity5o2lm2nal1nce1ial7re_stone6mdale6sh_ing5t_ness6j1k1lickr3ghts4r2orist4wers5y2m1o_o_d_network8tball6rd1ex2sale4um3undation8x2r_ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n_d2rniture7tbol5yi3ga_l_lery3o1up4me_s3p1rden4y2b_iz3d_n2e_a1nt_ing5orge5f1g_ee3h1i_ft_s3ves2ing5l_ass3e1obal2o4m_ail3bh2o1x2n1odaddy5ld_point6f2o_dyear5g_le4p1t1v2p1q1r_ainger5phics5tis4een3ipe3ocery4up4s1t1u_ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc_bank7ealth_care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k_t2m1n1ockey4ldings5iday5medepot5goods5s_ense7nda3rse3spital5t_ing5t_eles2s3mail5use3w2r1sbc3t1u_ghes5yatt3undai7ibm2cbc2e1u2d1e_ee3fm2kano4l1m_amat4db2mo_bilien9n_c1dustries8finiti5o2g1k1stitute6urance4e4t_ernational10uit4vestments10o1piranga7q1r_ish4s_maili5t_anbul7t_au2v3jaguar4va3cb2e_ep2tzt3welry6io2ll2m_p2nj2o_bs1urg4t1y2p_morgan6rs3uegos4niper7kaufen5ddi3e_rryhotels6logistics9properties14fh2g1h1i_a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p_mg2n2r_d1ed3uokgroup8w1y_oto4z2la_caixa5mborghini8er3ncaster5ia3d_rover6xess5salle5t_ino3robe5w_yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i_dl2fe_insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan_s3cker3us3l1ndon4tte1o3ve3pl_financial11r1s1t_d_a3u_ndbeck6xe1ury5v1y2ma_cys3drid4if1son4keup4n_agement7go3p1rket_ing3s4riott5shalls7serati6ttel5ba2c_kinsey7d1e_d_ia3et2lbourne7me1orial6n_u2rckmsd7g1h1iami3crosoft7l1ni1t2t_subishi9k1l_b1s2m_a2n1o_bi_le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to_rcycles9v_ie4p1q1r1s_d2t_n1r2u_seum3ic3tual5v1w1x1y1z2na_b1goya4me2tura4vy3ba2c1e_c1t_bank4flix4work5ustar5w_s2xt_direct7us4f_l2g_o2hk2i_co2ke1on3nja3ssan1y5l1o_kia3rthwesternmutual14on4w_ruz3tv4p1r_a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan_group9dnavy5lo3m_ega4ne1g1l_ine5oo2pen3racle3nge4g_anic5igins6saka4tsuka4t2vh3pa_ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e_t2f_izer5g1h_armacy6d1ilips5one2to_graphy6s4ysio5ics1tet2ures6d1n_g1k2oneer5zza4k1l_ace2y_station9umbing5s3m1n_c2ohl2ker3litie5rn2st3r_america6xi3ess3ime3o_d_uctions8f1gressive8mo2perties3y5tection8u_dential9s1t1ub2w_c2y2qa1pon3uebec3st5racing4dio4e_ad1lestate6tor2y4cipes5d_stone5umbrella9hab3ise_n3t2liance6n_t_als5pair3ort3ublican8st_aurant8view_s5xroth6ich_ardli6oh3l1o1p2o_cher3ks3deo3gers4om3s_vp3u_gby3hr2n2w_e2yukyu6sa_arland6fe_ty4kura4le1on3msclub4ung5ndvik_coromant12ofi4p1rl2s1ve2xo3b_i1s2c_a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e_arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x_y3fr2g1h_angrila6rp2w2ell3ia1ksha5oes2p_ping5uji3w_time7i_lk2na1gles5te3j1k_i_n2y_pe4l_ing4m_art3ile4n_cf3o_ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa_ce3ort2t3r_l2s1t_ada2ples4r1tebank4farm7c_group6ockholm6rage3e3ream4udio2y3yle4u_cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y_dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x_i3c_i2d_k2eam2ch_nology8l1masek5nnis4va3f1g1h_d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j_maxx4x2k_maxx5l1m_all4n1o_day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r_ade1ing4ining5vel_channel7ers_insurance16ust3v2t1ube2i1nes3shu4v_s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va_cations7na1guard7c1e_gas3ntures6risign5mögensberater2ung14sicherung10t2g1i_ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u_elos6wales2mart4ter4ng_gou5tch_es6eather_channel12bcam3er2site5d_ding5ibo2r3f1hoswho6ien2ki2lliamhill9n_dows4e1ners6me2olterskluwer11odside6rk_s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u_tube6t1un3za_ppos4ra3ero3ip2m1one3uerich6w2")),null==he&&(he=me("ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत_म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里_大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2")),p(c,"'",P),p(c,"{",S),p(c,"[",A),p(c,"<",L),p(c,"(",C),p(c,"}",x),p(c,"]",T),p(c,">",R),p(c,")",z),p(c,"&",N),p(c,"*",I),p(c,"@",H),p(c,"`",Q),p(c,"^",D),p(c,":",U),p(c,",",B),p(c,"$",K),p(c,".",$),p(c,"=",q),p(c,"!",F),p(c,"-",W),p(c,"%",Y),p(c,"|",G),p(c,"+",J),p(c,"#",X),p(c,"?",V),p(c,'"',Z),p(c,"/",te),p(c,";",ee),p(c,"~",ne),p(c,"_",ie),p(c,"\\",M);const d=h(c,ce,O,{[n]:!0});h(d,ce,d);const ge=h(c,ae,m,{[i]:!0});h(ge,ae,ge);const fe=h(c,le,y,{[s]:!0});h(fe,ae),h(fe,le,fe);const ye=h(c,_e,"WS",{[u]:!0});p(c,"\n",j,{[u]:!0}),p(ye,"\n"),h(ye,_e,ye);const ke=h(c,ue,se,{[l]:!0});h(ke,ue,ke),p(ke,"️",ke);const be=p(ke,"‍");h(be,ue,ke);const Ee=[[ae,ge]],ve=[[ae,null],[le,fe]];for(let e=0;ee[0]>t[0]?1:-1));for(let t=0;t=0?o[a]=!0:ae.test(s)?ce.test(s)?o[r]=!0:o[i]=!0:o[n]=!0,f(c,s,s,o)}return f(c,"localhost",k,{ascii:!0}),c.jd=new g(re),{start:c,tokens:t({groups:o},oe)}}(ze.customSchemes);for(let e=0;e=0&&g++,s++,c++;if(g<0)s-=c,s0&&(r.push(xe(je,t,o)),o=[]),s-=g,c-=g;const e=_.t,i=n.slice(s-c,s);r.push(xe(e,t,i))}}return o.length>0&&r.push(xe(je,t,o)),r}(ze.parser.start,e,function(e,t){const n=fe(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),i=n.length,s=[];let r=0,o=0;for(;o=0&&(_+=n[o].length,g++),u+=n[o].length,r+=n[o].length,o++;r-=_,o-=g,u-=_,s.push({t:c.t,v:t.slice(r-u,r),s:r-u,e:r})}return s}(ze.scanner.start,e))}return e.MultiToken=ve,e.Options=ke,e.State=g,e.createTokenClass=we,e.find=function(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const i=new ke(n),s=Pe(e),r=[];for(let e=0;ePrevious',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('