├── .gitignore ├── README.md ├── app ├── Auth │ ├── CommentPolicy.php │ ├── OptionPolicy.php │ ├── PagePolicy.php │ ├── PostPolicy.php │ ├── TermPolicy.php │ └── UserPolicy.php ├── Components │ └── ContentComponent.php ├── Controllers │ ├── CategoryController.php │ ├── CommentController.php │ ├── OptionController.php │ ├── PageController.php │ ├── PostController.php │ ├── TagController.php │ └── UserController.php ├── Elements │ └── Form.php ├── Http │ ├── Kernel.php │ └── Middleware │ │ └── VerifyNonce.php ├── Models │ ├── Attachment.php │ ├── Category.php │ ├── Comment.php │ ├── Option.php │ ├── Page.php │ ├── Post.php │ ├── Tag.php │ └── User.php └── Services │ └── AuthService.php ├── composer.json ├── config ├── app.php ├── components.php ├── cookies.php ├── database.php ├── external.php ├── galaxy.php ├── paths.php ├── queue.php └── urls.php ├── galaxy ├── helpers.php ├── init.php ├── package.json ├── resources ├── assets │ ├── js │ │ ├── admin.js │ │ └── theme.js │ └── sass │ │ ├── admin.scss │ │ └── theme.scss ├── themes │ └── templates │ │ ├── functions.php │ │ ├── index.php │ │ ├── screenshot.png │ │ └── style.css └── views │ └── master.php ├── routes └── public.php ├── server.php ├── storage ├── cache │ └── .gitignore └── logs │ └── .gitignore ├── webpack.mix.js └── wordpress └── assets ├── components ├── content.png └── tr-error-component.png ├── templates ├── admin │ ├── admin.css │ └── admin.js ├── mix-manifest.json ├── screenshot.png └── theme │ ├── theme.css │ └── theme.js └── typerocket ├── css └── core.css ├── img ├── chosen-sprite.png └── chosen-sprite@2x.png ├── js ├── builder.ext.js ├── core.js ├── global.js └── lib │ └── chosen.min.js └── mix-manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Your Files 2 | /wordpress/tr_cache/rapid_cache/* 3 | /wordpress/wp-content/* 4 | !/wordpress/wp-content/mu-plugins/ 5 | !/wordpress/wp-content/advanced-cache.php 6 | 7 | # Vendor 8 | node_modules 9 | /vendor 10 | package-lock.json 11 | 12 | # Environment 13 | .env 14 | .env.backup 15 | /wp-config.php 16 | /sql/run/* 17 | .phpunit.result.cache 18 | npm-debug.log 19 | yarn-error.log 20 | /galaxy-config.php 21 | auth.json 22 | /storage/*.key 23 | 24 | # WordPress 25 | /wordpress/*.* 26 | /wordpress/.maintenance 27 | /wordpress/wp-admin 28 | /wordpress/wp-includes 29 | 30 | # Source Maps 31 | *.css.map 32 | *.js.map 33 | 34 | # OS 35 | *~ 36 | .DS_Store* 37 | ehthumbs.db 38 | Thumbs.db 39 | 40 | # IDE 41 | .idea 42 | .settings 43 | .project 44 | .build 45 | .vscode 46 | .fleet 47 | 48 | # File Types 49 | *.log 50 | *.zip 51 | .svn -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 | Total Downloads 5 | Latest Stable Version 6 | License 7 |

8 | 9 | ## About TypeRocket 10 | 11 | TypeRocket is a WordPress framework that beautifully joins refined UI elements and modern programming architecture together, creating a cohesive developer experience. By bringing TypeRocket into your workflow you can save countless hours of development and painlessly craft WordPress applications with: 12 | 13 | - View and logic separation in your theme templates. 14 | - Beautiful form UI creation with 29+ custom field types and flexible data binding. 15 | - Fluent post type, meta box, taxonomy and admin page registration. 16 | - Powerful ORM with eager loading and deep WordPress integration. 17 | - Component based page builder that you control. 18 | - Policy, capability, and role management. 19 | - WP Cron powered jobs and queue system. 20 | - Laravel inspired routing and controllers. 21 | - Modern dependency injection container. 22 | - Symfony based CLI called Galaxy. 23 | 24 | [TypeRocket](https://typerocket.com/) is a sleek, powerful, and modernizes WordPress. 25 | 26 | ## Getting Started 27 | 28 | **TypeRocket v6 Antennae** is [well documented](https://typerocket.com/docs/v6/), and we have [many video tutorials](https://www.youtube.com/watch?v=wRH8R9MOO7I&list=PLh6jokL0yBPR1J7Gb4RksF3ao7r4agY9x) and [written articles](https://typerocket.com/getting-started/) to help you get started. TypeRocket is easy to [install via composer project](https://typerocket.com/docs/v6/composer-install/) or [as a WordPress plugin](https://typerocket.com/docs/v6/plugin-install/). 29 | 30 | ## Pro Version 31 | 32 | [TypeRocket Pro](https://typerocket.com/pricing/) is a paid upgrade to TypeRocket v6 Antennae. To learn more about TypeRocket Pro [see our comparison chart](https://typerocket.com/compare-versions/). 33 | 34 | ## License 35 | 36 | TypeRocket is open-sourced software licenced under the [GNU General Public License 3.0](https://www.gnu.org/licenses/gpl-3.0.en.html). 37 | -------------------------------------------------------------------------------- /app/Auth/CommentPolicy.php: -------------------------------------------------------------------------------- 1 | isCapable('edit_posts') || $comment->getUserID() === $auth->getID()) { 13 | return true; 14 | } 15 | 16 | return false; 17 | } 18 | 19 | public function create(AuthUser $auth) 20 | { 21 | if( $auth->isCapable('edit_posts') ) { 22 | return true; 23 | } 24 | 25 | return false; 26 | } 27 | 28 | public function destroy(AuthUser $auth, WPComment $comment) 29 | { 30 | if( $auth->isCapable('edit_posts') || $comment->getUserID() === $auth->getID()) { 31 | return true; 32 | } 33 | 34 | return false; 35 | } 36 | } -------------------------------------------------------------------------------- /app/Auth/OptionPolicy.php: -------------------------------------------------------------------------------- 1 | isCapable('manage_options') ) { 13 | return true; 14 | } 15 | 16 | return false; 17 | } 18 | 19 | public function create(AuthUser $auth) 20 | { 21 | if( $auth->isCapable('manage_options') ) { 22 | return true; 23 | } 24 | 25 | return false; 26 | } 27 | 28 | public function destroy(AuthUser $auth) 29 | { 30 | if( $auth->isCapable('manage_options') ) { 31 | return true; 32 | } 33 | 34 | return false; 35 | } 36 | 37 | 38 | } -------------------------------------------------------------------------------- /app/Auth/PagePolicy.php: -------------------------------------------------------------------------------- 1 | isCapable('edit_pages') || $auth->getID() === $page->getUserID()) { 14 | return true; 15 | } 16 | 17 | return false; 18 | } 19 | 20 | public function create(AuthUser $auth ) 21 | { 22 | if( $auth->isCapable('edit_pages') ) { 23 | return true; 24 | } 25 | 26 | return false; 27 | } 28 | 29 | public function destroy(AuthUser $auth, Page $page) 30 | { 31 | if( $auth->isCapable('delete_pages') || $page->getUserID() === $auth->getID()) { 32 | return true; 33 | } 34 | 35 | return false; 36 | } 37 | 38 | } -------------------------------------------------------------------------------- /app/Auth/PostPolicy.php: -------------------------------------------------------------------------------- 1 | isCapable('edit_posts') || $auth->getID() === $post->getUserID()) { 14 | return true; 15 | } 16 | 17 | return false; 18 | } 19 | 20 | public function create(AuthUser $auth ) 21 | { 22 | if( $auth->isCapable('edit_posts') ) { 23 | return true; 24 | } 25 | 26 | return false; 27 | } 28 | 29 | public function destroy(AuthUser $auth, WPPost $post) 30 | { 31 | if( $auth->isCapable('edit_posts') || $post->getUserID() === $auth->getID()) { 32 | return true; 33 | } 34 | 35 | return false; 36 | } 37 | 38 | } -------------------------------------------------------------------------------- /app/Auth/TermPolicy.php: -------------------------------------------------------------------------------- 1 | isCapable('manage_categories') ) { 12 | return true; 13 | } 14 | 15 | return false; 16 | } 17 | 18 | public function create(AuthUser $auth) 19 | { 20 | if( $auth->isCapable('manage_categories') ) { 21 | return true; 22 | } 23 | 24 | return false; 25 | } 26 | 27 | public function destroy(AuthUser $auth) 28 | { 29 | if( $auth->isCapable('manage_categories') ) { 30 | return true; 31 | } 32 | 33 | return false; 34 | } 35 | } -------------------------------------------------------------------------------- /app/Auth/UserPolicy.php: -------------------------------------------------------------------------------- 1 | isCapable('edit_users') || $user->getID() === $auth->getID()) { 13 | return true; 14 | } 15 | 16 | return false; 17 | } 18 | 19 | public function create(AuthUser $auth) 20 | { 21 | if( $auth->isCapable('create_users') ) { 22 | return true; 23 | } 24 | 25 | return false; 26 | } 27 | 28 | public function destroy(AuthUser $auth, WPUser $user) 29 | { 30 | if( $auth->isCapable('delete_users') || $user->getID() === $auth->getID()) { 31 | return true; 32 | } 33 | 34 | return false; 35 | } 36 | } -------------------------------------------------------------------------------- /app/Components/ContentComponent.php: -------------------------------------------------------------------------------- 1 | form(); 16 | 17 | echo $form->text('Headline'); 18 | echo $form->image('Featured Image'); 19 | echo $form->textarea('Content'); 20 | } 21 | 22 | /** 23 | * Render 24 | * 25 | * @var array $data component fields 26 | * @var array $info name, item_id, model, first_item, last_item, component_id, hash 27 | */ 28 | public function render(array $data, array $info) 29 | { 30 | ?> 31 |
32 |

33 | 34 | 35 |
36 | 18 | [], 19 | 'http' => 20 | [ VerifyNonce::class ], 21 | 'user' => 22 | [ CanEditUsers::class ], 23 | 'post' => 24 | [ CanEditPosts::class ], 25 | 'comment' => 26 | [ CanEditComments::class ], 27 | 'option' => 28 | [ CanManageOptions::class ], 29 | 'term' => 30 | [ CanManageCategories::class ], 31 | 'search' => 32 | [ AuthAdmin::class ], 33 | 'rest' => 34 | [ AuthAdmin::class ], 35 | ]; 36 | } 37 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyNonce.php: -------------------------------------------------------------------------------- 1 | belongsToPost(Post::class); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/Models/Comment.php: -------------------------------------------------------------------------------- 1 | belongsToTaxonomy(Category::class, Category::TAXONOMY); 13 | } 14 | 15 | public function tags() 16 | { 17 | return $this->belongsToTaxonomy(Tag::class, Tag::TAXONOMY); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/Models/Tag.php: -------------------------------------------------------------------------------- 1 | belongsToPost(Post::class); 13 | } 14 | } -------------------------------------------------------------------------------- /app/Models/User.php: -------------------------------------------------------------------------------- 1 | '\App\Auth\PostPolicy', 11 | '\App\Models\Page' => '\App\Auth\PagePolicy', 12 | '\App\Models\Attachment' => '\App\Auth\PostPolicy', 13 | '\App\Models\Tag' => '\App\Auth\TermPolicy', 14 | '\App\Models\Category' => '\App\Auth\TermPolicy', 15 | '\App\Models\Option' => '\App\Auth\OptionPolicy', 16 | '\App\Models\User' => '\App\Auth\UserPolicy', 17 | '\App\Models\Comment' => '\App\Auth\CommentPolicy', 18 | 19 | // TypeRocket 20 | '\TypeRocket\Models\WPPost' => '\App\Auth\PostPolicy', 21 | '\TypeRocket\Models\WPTerm' => '\App\Auth\TermPolicy', 22 | '\TypeRocket\Models\WPUser' => '\App\Auth\UserPolicy', 23 | '\TypeRocket\Models\WPComment' => '\App\Auth\CommentPolicy', 24 | '\TypeRocket\Models\WPOption' => '\App\Auth\OptionPolicy', 25 | ]; 26 | } -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "typerocket/typerocket", 3 | "description": "TypeRocket for WordPress.", 4 | "keywords": ["framework", "typerocket", "wordpress"], 5 | "license": "GPL-3.0-or-later", 6 | "homepage": "https://typerocket.com", 7 | "repositories": { 8 | "wpackagist": { 9 | "type": "composer", 10 | "url": "https://wpackagist.org" 11 | } 12 | }, 13 | "authors": [ 14 | { 15 | "name": "Robojuice", 16 | "homepage": "https://robojuice.com", 17 | "role": "Creator" 18 | } 19 | ], 20 | "support": { 21 | "docs": "https://typerocket.com/docs/v6/" 22 | }, 23 | "require": { 24 | "php": "^8.2", 25 | "typerocket/core": "^6.1" 26 | }, 27 | "require-dev": { 28 | "phpunit/phpunit": "^10" 29 | }, 30 | "autoload": { 31 | "files": [ 32 | "helpers.php" 33 | ] 34 | }, 35 | "scripts": { 36 | "post-create-project-cmd": [ 37 | "php galaxy config:seed" 38 | ], 39 | "post-update-cmd": [ 40 | "php galaxy core:update" 41 | ] 42 | }, 43 | "minimum-stability": "stable" 44 | } 45 | -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- 1 | [ 12 | '\TypeRocket\Extensions\TypeRocketUI', 13 | '\TypeRocket\Extensions\PostMessages', 14 | '\TypeRocket\Extensions\PageBuilder', 15 | ], 16 | 17 | /* 18 | |-------------------------------------------------------------------------- 19 | | Services 20 | |-------------------------------------------------------------------------- 21 | | 22 | | Services you want loaded into the container as singletons. You can also 23 | | create your own services. TypeRocket some with the following builtin: 24 | | 25 | | - \App\Services\AuthService 26 | | 27 | */ 28 | 'services' => [ 29 | /* 30 | * TypeRocket Service Providers... 31 | */ 32 | '\TypeRocket\Services\ErrorService', 33 | '\TypeRocket\Services\MailerService', 34 | '\TypeRocket\Services\JobQueueRunner', 35 | 36 | /* 37 | * Application Service Providers... 38 | */ 39 | '\App\Services\AuthService', 40 | ], 41 | 42 | /* 43 | |-------------------------------------------------------------------------- 44 | | Front-end 45 | |-------------------------------------------------------------------------- 46 | | 47 | | Require TypeRocket on the front-end. 48 | | 49 | */ 50 | 'frontend' => false, 51 | 52 | /* 53 | |-------------------------------------------------------------------------- 54 | | Debug 55 | |-------------------------------------------------------------------------- 56 | | 57 | | Turn on Debugging for TypeRocket. Set to false to disable. 58 | | 59 | */ 60 | 'debug' => typerocket_env('WP_DEBUG', true), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Seed 65 | |-------------------------------------------------------------------------- 66 | | 67 | | A 'random' string of text to help with security from time to time. 68 | | 69 | */ 70 | 'seed' => 'PUT_TYPEROCKET_SEED_HERE', 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | Class Overrides 75 | |-------------------------------------------------------------------------- 76 | | 77 | | Set the classes to use as the default for helper functions. 78 | | 79 | */ 80 | 'class' => [ 81 | 'form' => '\App\Elements\Form', 82 | 'error' => '\TypeRocket\Utility\ExceptionReport' 83 | ], 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | Template Engine 88 | |-------------------------------------------------------------------------- 89 | | 90 | | The template engine used to build views for the front-end and admin. 91 | | 92 | | Pro Only: 93 | | - \TypeRocket\Pro\Template\TachyonTemplateEngine 94 | | - \TypeRocket\Pro\Template\TwigTemplateEngine 95 | | 96 | */ 97 | 'templates' => [ 98 | 'views' => '\TypeRocket\Template\TemplateEngine', 99 | ], 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Rooting 104 | |-------------------------------------------------------------------------- 105 | | 106 | | The templates to use for the TypeRocket theme. Must be using TypeRocket 107 | | as root for this feature to work. 108 | | 109 | */ 110 | 'root' => [ 111 | 'wordpress' => 'wordpress', 112 | 'themes' => [ 113 | 'override' => true, 114 | 'flush' => false, 115 | 'theme' => 'templates', 116 | 'stylesheet' => 'theme/theme.css', 117 | ] 118 | ], 119 | 120 | /* 121 | |-------------------------------------------------------------------------- 122 | | Error Handling 123 | |-------------------------------------------------------------------------- 124 | */ 125 | 'errors' => [ 126 | /* 127 | |-------------------------------------------------------------------------- 128 | | Pro Only - Whoops PHP 129 | |-------------------------------------------------------------------------- 130 | | 131 | | Use Whoops PHP when TypeRocket debugging is enabled. 132 | | 133 | */ 134 | 'whoops' => true, 135 | 136 | /* 137 | |-------------------------------------------------------------------------- 138 | | Deprecated File Error 139 | |-------------------------------------------------------------------------- 140 | | 141 | | The WP_DEBUG file deprecated errors. This is turned off by 142 | | default to allow theme template overrides in TypeRocket. 143 | | 144 | */ 145 | 'deprecated_file' => false, 146 | 147 | /* 148 | |-------------------------------------------------------------------------- 149 | | Throw Errors 150 | |-------------------------------------------------------------------------- 151 | | 152 | | TypeRocket defines an error handler function that throws \ErrorException. 153 | | You can disable this functionality but it may impact the template error 154 | | system that allows you to define 500.php theme templates. 155 | | 156 | | @link https://www.php.net/manual/en/function.set-error-handler.php 157 | | 158 | | Recommended Levels: `E_ALL` or `E_ERROR | E_PARSE` 159 | | 160 | */ 161 | 'throw' => true, 162 | 'level' => E_ERROR | E_PARSE 163 | ] 164 | ]; 165 | -------------------------------------------------------------------------------- /config/components.php: -------------------------------------------------------------------------------- 1 | [ 9 | 'content' => \App\Components\ContentComponent::class, 10 | ], 11 | 12 | /* 13 | |-------------------------------------------------------------------------- 14 | | Builder 15 | |-------------------------------------------------------------------------- 16 | | 17 | | List of components you want included for the builder group. 18 | | 19 | */ 20 | 'builder' => [ 21 | 'content', 22 | ] 23 | ]; -------------------------------------------------------------------------------- /config/cookies.php: -------------------------------------------------------------------------------- 1 | [ 13 | 14 | /* 15 | |-------------------------------------------------------------------------- 16 | | SameSite Policy 17 | |-------------------------------------------------------------------------- 18 | | 19 | | WordPress uses old PHP settings for its auth cookies. If you are using 20 | | PHP 7.3 or greater you can set the `SameSite` value for cookies. This 21 | | option defines the value of `SameSite`. 22 | | 23 | | Options: None, Lax or Strict 24 | | 25 | */ 26 | 'same_site' => 'Lax', 27 | ] 28 | ]; -------------------------------------------------------------------------------- /config/database.php: -------------------------------------------------------------------------------- 1 | typerocket_env('TYPEROCKET_DATABASE_DEFAULT', 'wp'), 14 | 15 | /* 16 | |-------------------------------------------------------------------------- 17 | | Connections 18 | |-------------------------------------------------------------------------- 19 | | 20 | | Here you may configure the database drivers for your application. 21 | | 22 | | Available Drivers: "wp" 23 | */ 24 | 'drivers' => [ 25 | 'wp' => [ 26 | 'driver' => '\TypeRocket\Database\Connectors\WordPressCoreDatabaseConnector', 27 | ], 28 | 29 | 'alt' => [ 30 | 'driver' => '\TypeRocket\Database\Connectors\CoreDatabaseConnector', 31 | 'username' => typerocket_env('TYPEROCKET_ALT_DATABASE_USER'), 32 | 'password' => typerocket_env('TYPEROCKET_ALT_DATABASE_PASSWORD'), 33 | 'database' => typerocket_env('TYPEROCKET_ALT_DATABASE_DATABASE'), 34 | 'host' => typerocket_env('TYPEROCKET_ALT_DATABASE_HOST'), 35 | ], 36 | ] 37 | ]; -------------------------------------------------------------------------------- /config/external.php: -------------------------------------------------------------------------------- 1 | [ 14 | 'api_key' => typerocket_env('TYPEROCKET_GOOGLE_MAPS_API_KEY'), 15 | 'map_zoom' => 15, 16 | 'ui' => false 17 | ] 18 | ]; -------------------------------------------------------------------------------- /config/galaxy.php: -------------------------------------------------------------------------------- 1 | \TypeRocket\Utility\Helper::wordPressRootPath(), 15 | 16 | /* 17 | |-------------------------------------------------------------------------- 18 | | Load WordPress 19 | |-------------------------------------------------------------------------- 20 | | 21 | | Load WordPress and run commands after_setup_theme if WordPress is found. 22 | | You can run `TYPEROCKET_GALAXY_LOAD_WP=no php galaxy` to skip loading 23 | | WordPress for the current running command. 24 | | 25 | | Options include: yes, no 26 | | 27 | */ 28 | 'wordpress_load' => typerocket_env('TYPEROCKET_GALAXY_LOAD_WP', 'yes', true), 29 | 30 | /* 31 | |-------------------------------------------------------------------------- 32 | | Commands 33 | |-------------------------------------------------------------------------- 34 | | 35 | | Add your custom commands for Galaxy. TypeRocket commands use Symfony 36 | | framework see http://symfony.com/doc/current/console.html 37 | | 38 | */ 39 | 'commands' => [ 40 | ] 41 | ]; 42 | -------------------------------------------------------------------------------- /config/paths.php: -------------------------------------------------------------------------------- 1 | TYPEROCKET_APP_ROOT_PATH . '/app', 12 | 13 | /* 14 | |-------------------------------------------------------------------------- 15 | | Storage 16 | |-------------------------------------------------------------------------- 17 | | 18 | | The PATH where files are to be stored. 19 | | 20 | */ 21 | 'storage' => TYPEROCKET_ALT_PATH . '/storage', 22 | 23 | /* 24 | |-------------------------------------------------------------------------- 25 | | Logs 26 | |-------------------------------------------------------------------------- 27 | | 28 | | The PATH where log files are to be stored. 29 | | 30 | */ 31 | 'logs' => typerocket_env('TYPEROCKET_LOG_FILE_FOLDER', TYPEROCKET_ALT_PATH . '/storage/logs'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Cache 36 | |-------------------------------------------------------------------------- 37 | | 38 | | The PATH where files are to be cached. 39 | | 40 | */ 41 | 'cache' => typerocket_env('TYPEROCKET_CACHE_FILE_FOLDER', TYPEROCKET_ALT_PATH . '/storage/cache'), 42 | 43 | /* 44 | |-------------------------------------------------------------------------- 45 | | Resources 46 | |-------------------------------------------------------------------------- 47 | | 48 | | The PATH were resources can be found. 49 | | 50 | */ 51 | 'resources' => TYPEROCKET_ALT_PATH . '/resources', 52 | 53 | /* 54 | |-------------------------------------------------------------------------- 55 | | Views 56 | |-------------------------------------------------------------------------- 57 | | 58 | | The PATH were front-end views can be found. 59 | | 60 | */ 61 | 'views' => TYPEROCKET_ALT_PATH . '/resources/views', 62 | 63 | /* 64 | |-------------------------------------------------------------------------- 65 | | Themes 66 | |-------------------------------------------------------------------------- 67 | | 68 | | The PATH were theme templates can be found. Used if you install 69 | | TypeRocket as root. 70 | | 71 | */ 72 | 'themes' => TYPEROCKET_ALT_PATH . '/resources/themes', 73 | 74 | /* 75 | |-------------------------------------------------------------------------- 76 | | Routes 77 | |-------------------------------------------------------------------------- 78 | | 79 | | The PATH were theme templates can be found. Used if you install 80 | | TypeRocket as root. 81 | | 82 | */ 83 | 'routes' => TYPEROCKET_ALT_PATH . '/routes', 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | Migrations 88 | |-------------------------------------------------------------------------- 89 | | 90 | | The PATHs for migrations and run migrations. 91 | | 92 | */ 93 | 'migrations' => TYPEROCKET_ALT_PATH . '/database/migrations', 94 | 95 | /* 96 | |-------------------------------------------------------------------------- 97 | | Composer Vendor 98 | |-------------------------------------------------------------------------- 99 | | 100 | | The PATH were composer vendor files are located. 101 | | 102 | */ 103 | 'vendor' => TYPEROCKET_PATH . '/vendor', 104 | 105 | /* 106 | |-------------------------------------------------------------------------- 107 | | Core 108 | |-------------------------------------------------------------------------- 109 | | 110 | | The PATH were composer vendor files are located. 111 | | 112 | */ 113 | 'core' => TYPEROCKET_PATH . '/vendor/typerocket/core', 114 | 115 | /* 116 | |-------------------------------------------------------------------------- 117 | | Pro Core 118 | |-------------------------------------------------------------------------- 119 | | 120 | | The PATH were pro composer vendor files are located. 121 | | 122 | */ 123 | 'pro' => TYPEROCKET_PATH . '/vendor/typerocket/professional', 124 | 125 | /* 126 | |-------------------------------------------------------------------------- 127 | | Assets 128 | |-------------------------------------------------------------------------- 129 | | 130 | | The PATH where TypeRocket theme and build assets are located. 131 | | 132 | */ 133 | 'assets' => TYPEROCKET_PATH . '/wordpress/assets', 134 | ]; 135 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | composer require woocommerce/action-scheduler 12 | | 13 | | @link https://actionscheduler.org/ 14 | | 15 | */ 16 | 'action_scheduler' => [ 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Retention Period - Action Scheduler 21 | |-------------------------------------------------------------------------- 22 | | 23 | | How long to keep actions with STATUS_COMPLETE and STATUS_CANCELED within 24 | | the database after specified number of seconds. However, this does not 25 | | clean up STATUS_FAILED actions. 26 | | 27 | */ 28 | 'retention_period' => DAY_IN_SECONDS * 30, 29 | 30 | /* 31 | |-------------------------------------------------------------------------- 32 | | Failure Period - Action Scheduler 33 | |-------------------------------------------------------------------------- 34 | | 35 | | The number of seconds to allow an action to run before it is considered 36 | | to have failed. 37 | | 38 | */ 39 | 'failure_period' => MINUTE_IN_SECONDS * 60, 40 | 41 | /* 42 | |-------------------------------------------------------------------------- 43 | | Timeout Period - Action Scheduler 44 | |-------------------------------------------------------------------------- 45 | | 46 | | The number of seconds to allow a queue to run before unclaiming its 47 | | pending actions. Actions remain pending and can be claimed again. 48 | | 49 | */ 50 | 'timeout_period' => MINUTE_IN_SECONDS * 10, 51 | ], 52 | 53 | /* 54 | |-------------------------------------------------------------------------- 55 | | Jobs - Action Scheduler 56 | |-------------------------------------------------------------------------- 57 | | 58 | | Jobs must be registered for the Action Scheduler to detect and run 59 | | your jobs. 60 | | 61 | */ 62 | 'jobs' => [ 63 | ] 64 | ]; -------------------------------------------------------------------------------- /config/urls.php: -------------------------------------------------------------------------------- 1 | \TypeRocket\Utility\Helper::assetsUrlBuild(), 12 | 13 | /* 14 | |-------------------------------------------------------------------------- 15 | | Components 16 | |-------------------------------------------------------------------------- 17 | | 18 | | The URL where TypeRocket component assets are found. 19 | | 20 | */ 21 | 'components' => \TypeRocket\Utility\Helper::assetsUrlBuild( '/components' ), 22 | 23 | /* 24 | |-------------------------------------------------------------------------- 25 | | Typerocket Assets 26 | |-------------------------------------------------------------------------- 27 | | 28 | | The URL where TypeRocket Core assets are found. 29 | | 30 | */ 31 | 'typerocket' => \TypeRocket\Utility\Helper::assetsUrlBuild( '/typerocket' ), 32 | ]; 33 | -------------------------------------------------------------------------------- /galaxy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | createNonce(...func_get_args()); 157 | } 158 | 159 | /** 160 | * Get Request 161 | * 162 | * @param null $method 163 | * @return \TypeRocket\Http\Request 164 | */ 165 | function tr_request() { 166 | return new \TypeRocket\Http\Request; 167 | } 168 | 169 | /** 170 | * Get Debug 171 | * 172 | * @return bool 173 | */ 174 | function tr_debug() { 175 | return \TypeRocket\Core\Config::get('app.debug'); 176 | } 177 | 178 | /** 179 | * Get Assets URL 180 | * 181 | * @param string $append 182 | * @return string 183 | */ 184 | function tr_assets_url( $append ) { 185 | return \TypeRocket\Utility\Helper::assetsUrl(...func_get_args()); 186 | } 187 | 188 | /** 189 | * Get Views Directory 190 | * 191 | * @param string $append 192 | * @return string 193 | */ 194 | function tr_storage_path( $append ) { 195 | return \TypeRocket\Utility\Path::storage($append); 196 | } 197 | 198 | 199 | /** 200 | * Get Views Directory 201 | * 202 | * @param string $append 203 | * @return string 204 | */ 205 | function tr_views_path( $append ) { 206 | return \TypeRocket\Utility\Path::views($append); 207 | } 208 | 209 | /** 210 | * Get controller by recourse 211 | * 212 | * @param string $resource use the resource name to get controller 213 | * @param bool $instance 214 | * 215 | * @return null|string $controller 216 | */ 217 | function tr_controller($resource, $instance = true) 218 | { 219 | return \TypeRocket\Utility\Helper::controllerClass($resource, $instance); 220 | } 221 | 222 | /** 223 | * Get model by recourse 224 | * 225 | * @param string $resource use the resource name to get model 226 | * @param bool $instance 227 | * 228 | * @return null|string|\TypeRocket\Models\Model $object 229 | */ 230 | function tr_model($resource, $instance = true) 231 | { 232 | return \TypeRocket\Utility\Helper::modelClass($resource, $instance); 233 | } 234 | 235 | /** 236 | * Register taxonomy 237 | * 238 | * @param string $singular 239 | * @param null $plural 240 | * @param array $settings 241 | * 242 | * @return \TypeRocket\Register\Taxonomy 243 | */ 244 | function tr_taxonomy($singular, $plural = null, $settings = []) 245 | { 246 | return \TypeRocket\Register\Taxonomy::add(...func_get_args()); 247 | } 248 | 249 | /** 250 | * Register post type 251 | * 252 | * @param string $singular Singular name for post type 253 | * @param string|null $plural Plural name for post type 254 | * @param array $settings The settings for the post type 255 | * @param string|null $id post type ID 256 | * 257 | * @return \TypeRocket\Register\PostType 258 | */ 259 | function tr_post_type($singular, $plural = null, $settings = [], $id = null ) 260 | { 261 | return \TypeRocket\Register\PostType::add(...func_get_args()); 262 | } 263 | 264 | /** 265 | * Register meta box 266 | * 267 | * @param string $name 268 | * @param null|string|array $screen 269 | * @param array $settings 270 | * 271 | * @return \TypeRocket\Register\MetaBox 272 | */ 273 | function tr_meta_box($name = null, $screen = null, $settings = []) 274 | { 275 | return \TypeRocket\Register\MetaBox::add(...func_get_args()); 276 | } 277 | 278 | /** 279 | * @param string $resource 280 | * @param string $action 281 | * @param string $title 282 | * @param array $settings 283 | * @param null|array|string|callable $handler 284 | * 285 | * @return \TypeRocket\Register\Page 286 | */ 287 | function tr_page($resource, $action, $title, array $settings = [], $handler = null) 288 | { 289 | return \TypeRocket\Register\Page::add(...func_get_args()); 290 | } 291 | 292 | /** 293 | * @param string $singular 294 | * @param string|array|null $plural 295 | * @param array $settings 296 | * @param null $resource 297 | * @param null $handler 298 | * 299 | * @return \TypeRocket\Register\Page 300 | * @throws Exception 301 | */ 302 | function tr_resource_pages($singular, $plural = null, array $settings = [], $resource = null, $handler = null) 303 | { 304 | return \TypeRocket\Register\Page::addResourcePages(...func_get_args()); 305 | } 306 | 307 | /** 308 | * Create tabs 309 | * 310 | * @return \TypeRocket\Elements\Tabs 311 | */ 312 | function tr_tabs() 313 | { 314 | return \TypeRocket\Elements\Tabs::new(); 315 | } 316 | 317 | /** 318 | * Instance the From 319 | * 320 | * @param string|\TypeRocket\Interfaces\Formable|array|null $resource posts, users, comments, options your own 321 | * @param string|null $action update, delete, or create 322 | * @param null|int $item_id you can set this to null or an integer 323 | * @param mixed|null|string $model 324 | * 325 | * @return \TypeRocket\Elements\BaseForm|\App\Elements\Form 326 | */ 327 | function tr_form($resource = null, $action = null, $item_id = null, $model = null) 328 | { 329 | return \TypeRocket\Utility\Helper::form(...func_get_args()); 330 | } 331 | 332 | /** 333 | * Modify Model Value 334 | * 335 | * @param \TypeRocket\Models\Model $model use dot notation 336 | * @param mixed $args 337 | * 338 | * @return array|mixed|null|string 339 | */ 340 | function tr_model_field(\TypeRocket\Models\Model $model, $args) 341 | { 342 | return \TypeRocket\Utility\ModelField::model(...func_get_args()); 343 | } 344 | 345 | /** 346 | * Get the post's field 347 | * 348 | * @param string $name use dot notation 349 | * @param null|int|WP_Post $item_id 350 | * 351 | * @return array|mixed|null|string 352 | */ 353 | function tr_post_field($name, $item_id = null) 354 | { 355 | return \TypeRocket\Utility\ModelField::post(...func_get_args()); 356 | } 357 | 358 | /** 359 | * Get the post field 360 | * 361 | * @param string $name use dot notation 362 | * @param null|int|WP_Post $item_id 363 | * 364 | * @return array|mixed|null|string 365 | */ 366 | function tr_field($name, $item_id = null) 367 | { 368 | return \TypeRocket\Utility\ModelField::post(...func_get_args()); 369 | } 370 | 371 | /** 372 | * Get components 373 | * 374 | * Auto binding only for post types 375 | * 376 | * @param string $name use dot notation 377 | * @param null $item_id 378 | * 379 | * @param null|string $modelClass 380 | * 381 | * @return array|mixed|null|string 382 | * @throws Exception 383 | */ 384 | function tr_components_field($name, $item_id = null, $modelClass = null) 385 | { 386 | return \TypeRocket\Utility\ModelField::components(...func_get_args()); 387 | } 388 | 389 | /** 390 | * Loop Components 391 | * 392 | * @param array $builder_data 393 | * @param array $other be sure to pass $name, $item_id, $model 394 | * @param string $group 395 | */ 396 | function tr_components_loop($builder_data, $other = [], $group = 'builder') 397 | { 398 | \TypeRocket\Elements\Fields\Matrix::componentsLoop(...func_get_args()); 399 | } 400 | 401 | /** 402 | * Is TypeRocket Builder Active 403 | * 404 | * @param string|null $field_name 405 | * 406 | * @return bool 407 | */ 408 | function tr_show_page_builder(string $field_name = "use_builder", $item_id = null) 409 | { 410 | $args = func_get_args() ?: [$field_name]; 411 | $use_builder = tr_post_field(...$args); 412 | return $use_builder === '1' || $use_builder === 1 && !post_password_required(); 413 | } 414 | 415 | /** 416 | * Get users field 417 | * 418 | * @param string $name use dot notation 419 | * @param null $item_id 420 | * 421 | * @return array|mixed|null|string 422 | */ 423 | function tr_user_field($name, $item_id = null) 424 | { 425 | return \TypeRocket\Utility\ModelField::user(...func_get_args()); 426 | } 427 | 428 | /** 429 | * Get options 430 | * 431 | * @param string $name use dot notation 432 | * 433 | * @return array|mixed|null|string 434 | */ 435 | function tr_option_field($name) 436 | { 437 | return \TypeRocket\Utility\ModelField::option(...func_get_args()); 438 | } 439 | 440 | /** 441 | * Get comments field 442 | * 443 | * @param string $name use dot notation 444 | * @param null|int $item_id 445 | * 446 | * @return array|mixed|null|string 447 | */ 448 | function tr_comment_field($name, $item_id = null) 449 | { 450 | return \TypeRocket\Utility\ModelField::comment(...func_get_args()); 451 | } 452 | 453 | /** 454 | * Get taxonomy field 455 | * 456 | * @param string|array $name use dot notation 457 | * @param string|null $taxonomy taxonomy model class 458 | * @param int|null $item_id taxonomy id 459 | * 460 | * @return array|mixed|null|string 461 | */ 462 | function tr_term_field($name, $taxonomy = null, $item_id = null) 463 | { 464 | return \TypeRocket\Utility\ModelField::term(...func_get_args()); 465 | } 466 | 467 | /** 468 | * Get resource 469 | * 470 | * @param string $name use dot notation 471 | * @param string $resource 472 | * @param null|int $item_id 473 | * 474 | * @return array|mixed|null|string 475 | */ 476 | function tr_resource_field($name, $resource, $item_id = null) 477 | { 478 | return \TypeRocket\Utility\ModelField::resource(...func_get_args()); 479 | } 480 | 481 | /** 482 | * Detect is JSON 483 | * 484 | * @param $args 485 | * 486 | * @return bool 487 | */ 488 | function tr_is_json(...$args) 489 | { 490 | return \TypeRocket\Utility\Data::isJson(...$args); 491 | } 492 | 493 | /** 494 | * @return \TypeRocket\Http\Redirect 495 | */ 496 | function tr_redirect() 497 | { 498 | return \TypeRocket\Http\Redirect::new(); 499 | } 500 | 501 | /** 502 | * @param null|array $default 503 | * @param bool $delete 504 | * 505 | * @return array 506 | */ 507 | function tr_redirect_message($default = null, $delete = true) 508 | { 509 | return \TypeRocket\Http\Cookie::new()->redirectMessage(...func_get_args()); 510 | } 511 | 512 | /** 513 | * @param null $default 514 | * 515 | * @return array 516 | */ 517 | function tr_redirect_errors($default = null) 518 | { 519 | return \TypeRocket\Http\Cookie::new()->redirectErrors(...func_get_args()); 520 | } 521 | 522 | /** 523 | * @param null $default 524 | * @param bool $delete 525 | * 526 | * @return array 527 | */ 528 | function tr_redirect_data($default = null, $delete = true) 529 | { 530 | return \TypeRocket\Http\Cookie::new()->redirectData(...func_get_args()); 531 | } 532 | 533 | /** 534 | * TypeRocket Nonce Field 535 | * 536 | * @param string $action 537 | * 538 | * @return string 539 | */ 540 | function tr_field_nonce($action = '') 541 | { 542 | return \TypeRocket\Elements\BaseForm::nonceInput(...func_get_args()); 543 | } 544 | 545 | /** 546 | * TypeRocket Nonce Field 547 | * 548 | * @param string $method GET, POST, PUT, PATCH, DELETE 549 | * 550 | * @return string 551 | */ 552 | function tr_field_method($method = 'POST') 553 | { 554 | return \TypeRocket\Elements\BaseForm::methodInput(...func_get_args()); 555 | } 556 | 557 | /** 558 | * TypeRocket Nonce Field 559 | * 560 | * @param string $method GET, POST, PUT, PATCH, DELETE 561 | * @param string $prefix prefix fields will be grouped under 562 | * 563 | * @return string 564 | */ 565 | function tr_form_hidden_fields($method = 'POST', $prefix = 'tr') 566 | { 567 | return \TypeRocket\Elements\BaseForm::hiddenInputs(...func_get_args()); 568 | } 569 | 570 | /** 571 | * Check Spam Honeypot 572 | * 573 | * @param null|string $name 574 | * 575 | * @return \TypeRocket\Html\Html 576 | */ 577 | function tr_honeypot_fields($name = null) 578 | { 579 | return \TypeRocket\Elements\BaseForm::honeypotInputs(...func_get_args()); 580 | } 581 | 582 | /** 583 | * @return \TypeRocket\Http\Cookie 584 | */ 585 | function tr_cookie() 586 | { 587 | return new \TypeRocket\Http\Cookie(); 588 | } 589 | 590 | /** 591 | * @param string $dots 592 | * @param array $data 593 | * @param string $ext 594 | * 595 | * @return \TypeRocket\Template\View 596 | */ 597 | function tr_view($dots, array $data = [], $ext = '.php') 598 | { 599 | return \TypeRocket\Template\View::new(...func_get_args()); 600 | } 601 | 602 | /** 603 | * Validate fields 604 | * 605 | * @param array $rules 606 | * @param array|null $fields 607 | * @param null $modelClass 608 | * @param bool $run 609 | * 610 | * @return \TypeRocket\Utility\Validator 611 | */ 612 | function tr_validator($rules, $fields = null, $modelClass = null, $run = false) 613 | { 614 | return \TypeRocket\Utility\Validator::new(...func_get_args()); 615 | } 616 | 617 | /** 618 | * Route 619 | * 620 | * @return \TypeRocket\Http\Route 621 | */ 622 | function tr_route() 623 | { 624 | return \TypeRocket\Http\Route::new(); 625 | } 626 | 627 | /** 628 | * Get Routes Repo 629 | * 630 | * @return \TypeRocket\Http\RouteCollection 631 | */ 632 | function tr_routes_repo() 633 | { 634 | return \TypeRocket\Http\RouteCollection::getFromContainer(); 635 | } 636 | 637 | /** 638 | * Get Routes Repo 639 | * @param string $name 640 | * @return null|\TypeRocket\Http\Route 641 | */ 642 | function tr_route_find($name) 643 | { 644 | return \TypeRocket\Http\RouteCollection::getFromContainer()->getNamedRoute($name); 645 | } 646 | 647 | /** 648 | * Get Routes Repo 649 | * @param string $name 650 | * @param array $values 651 | * @param bool $site 652 | * 653 | * @return null|string 654 | */ 655 | function tr_route_url($name, $values = [], $site = true) 656 | { 657 | return \TypeRocket\Http\Route::buildUrl(...func_get_args()); 658 | } 659 | 660 | /** 661 | * Database Query 662 | * 663 | * @return \TypeRocket\Database\Query 664 | */ 665 | function tr_query() 666 | { 667 | return \TypeRocket\Database\Query::new(); 668 | } 669 | 670 | /** 671 | * File Utility 672 | * 673 | * @param string $file 674 | * @return object 675 | * @throws Exception 676 | */ 677 | function tr_file($file) { 678 | return \TypeRocket\Utility\File::new($file); 679 | } 680 | 681 | /** 682 | * Get Asset Version 683 | * 684 | * @param string $path 685 | * @param string $namespace 686 | * @return mixed 687 | */ 688 | function tr_manifest_cache($path, $namespace) { 689 | return \TypeRocket\Utility\Manifest::cache(...func_get_args()); 690 | } 691 | 692 | /** 693 | * Get Asset Version 694 | * 695 | * @param string $namespace 696 | * @return \TypeRocket\Utility\RuntimeCache 697 | */ 698 | function tr_manifest($namespace = 'typerocket') { 699 | return \TypeRocket\Utility\Manifest::getFromRuntimeCache(...func_get_args()); 700 | } 701 | 702 | /** 703 | * Throw HTTP Error 704 | * 705 | * @param int $code 706 | * 707 | * @return mixed 708 | */ 709 | function tr_abort(int $code) { 710 | \TypeRocket\Exceptions\HttpError::abort($code); 711 | } 712 | 713 | /** 714 | * Enable Front-end 715 | */ 716 | function tr_frontend_enable() 717 | { 718 | \TypeRocket\Core\System::getFromContainer()->frontendEnable(); 719 | } 720 | 721 | /** 722 | * Sanitize Editor 723 | * 724 | * @param $content 725 | * @param bool $force_filter 726 | * @param bool $auto_p 727 | * 728 | * @return string 729 | */ 730 | function tr_sanitize_editor($content, $force_filter = true, $auto_p = false) 731 | { 732 | return \TypeRocket\Utility\Sanitize::editor($content, $force_filter, $auto_p); 733 | } 734 | 735 | /** 736 | * @param array|null $data keys include message and type 737 | * @param bool $dismissible 738 | * 739 | * @return false|string|null 740 | */ 741 | function tr_flash_message($data = null, $dismissible = false) 742 | { 743 | return \TypeRocket\Elements\Notice::flash(...func_get_args()); 744 | } 745 | 746 | /** 747 | * @param array|object|\ArrayObject $value 748 | * 749 | * @return \TypeRocket\Utility\Nil 750 | */ 751 | function tr_nils($value) 752 | { 753 | return \TypeRocket\Utility\Data::nil($value); 754 | } 755 | 756 | /** 757 | * @param string $folder 758 | * 759 | * @return \TypeRocket\Utility\PersistentCache 760 | */ 761 | function tr_cache($folder = 'app') 762 | { 763 | return \TypeRocket\Utility\PersistentCache::new($folder); 764 | } 765 | 766 | /** 767 | * Roles 768 | * 769 | * @return \TypeRocket\Auth\Roles 770 | */ 771 | function tr_roles() 772 | { 773 | return \TypeRocket\Auth\Roles::new(); 774 | } 775 | -------------------------------------------------------------------------------- /init.php: -------------------------------------------------------------------------------- 1 | TYPEROCKET_APP_NAMESPACE . '\\', 'folder' => __DIR__ . '/app/']); 26 | 27 | // Run vendor autoloader 28 | if( !defined('TYPEROCKET_AUTO_LOADER') ) 29 | require __DIR__ . '/vendor/autoload.php'; 30 | else 31 | call_user_func(TYPEROCKET_AUTO_LOADER); 32 | 33 | // Run app autoloader 34 | $tr_autoload_map = TYPEROCKET_AUTOLOAD_APP; 35 | ApplicationKernel::autoloadPsr4($tr_autoload_map); 36 | 37 | // Define configuration path 38 | if( !defined('TYPEROCKET_CORE_CONFIG_PATH') ) 39 | define('TYPEROCKET_CORE_CONFIG_PATH', __DIR__ . '/config' ); 40 | 41 | if( ! defined('TYPEROCKET_SKIP_INIT') ) 42 | define('TYPEROCKET_SKIP_INIT', false ); 43 | 44 | if( ! TYPEROCKET_SKIP_INIT ) { 45 | ApplicationKernel::init(); 46 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "dev": "npm run development", 5 | "development": "mix", 6 | "watch": "mix watch", 7 | "watch-poll": "mix watch -- --watch-options-poll=1000", 8 | "hot": "mix watch --hot", 9 | "prod": "npm run production", 10 | "production": "mix --production" 11 | }, 12 | "devDependencies": { 13 | "axios": "^0.25", 14 | "laravel-mix": "^6.0.6", 15 | "lodash": "^4.17.19", 16 | "postcss": "^8.1.14", 17 | "sass": "^1.51.0", 18 | "sass-loader": "^12.6.0" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /resources/assets/js/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/resources/assets/js/admin.js -------------------------------------------------------------------------------- /resources/assets/js/theme.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /resources/assets/sass/admin.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/resources/assets/sass/admin.scss -------------------------------------------------------------------------------- /resources/assets/sass/theme.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/resources/assets/sass/theme.scss -------------------------------------------------------------------------------- /resources/themes/templates/functions.php: -------------------------------------------------------------------------------- 1 | 'Antennae'])->render(); -------------------------------------------------------------------------------- /resources/themes/templates/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/resources/themes/templates/screenshot.png -------------------------------------------------------------------------------- /resources/themes/templates/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: TypeRocket - Antennae 3 | Version: 6.0.0 4 | License: GNU General Public License v2 or later 5 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 6 | Description: TypeRocket root theme for PHP 8 and WordPress 6.0+. 7 | Author: TypeRocket 8 | Requires at least: 6.0 9 | Tested up to: 6.1 10 | Requires PHP: 6.0 11 | Theme URI: http://typerocket.com 12 | Author URI: http://typerocket.com 13 | 14 | !! DO NOT DELETE THIS FILE !! 15 | */ -------------------------------------------------------------------------------- /resources/views/master.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 81 | 82 | 83 | > 84 | 85 | 86 |
87 | 88 | 89 |
90 | 91 |
92 | 93 |

94 | 99 |
100 | 101 | 130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /routes/public.php: -------------------------------------------------------------------------------- 1 | php -S localhost:8888 -t wordpress server.php 7 | */ 8 | $uri = urldecode( 9 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 10 | ); 11 | if ($uri !== '/' && file_exists(__DIR__.'/wordpress'.$uri)) { 12 | return false; 13 | } 14 | require_once __DIR__.'/wordpress/index.php'; -------------------------------------------------------------------------------- /storage/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- 1 | const mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Template Assets 6 | |-------------------------------------------------------------------------- 7 | | 8 | | All public assets must be compiled to the /wordpress/assets/templates 9 | | directory. Commands like mix.babel and mix.copyDirectory do not use 10 | | the configured public path. 11 | | 12 | | Laravel Mix documentation can be found at https://laravel-mix.com/. 13 | | 14 | | Watch: `npm run watch` 15 | | Production: `npm run prod` 16 | | 17 | */ 18 | 19 | // Options 20 | let pub = 'wordpress/assets/templates'; 21 | mix.setPublicPath(pub).options({ processCssUrls: false }); 22 | 23 | // Front-end 24 | mix.js('resources/assets/js/theme.js', 'theme') 25 | .sass('resources/assets/sass/theme.scss', 'theme'); 26 | 27 | // Admin 28 | mix.js('resources/assets/js/admin.js', 'admin') 29 | .sass('resources/assets/sass/admin.scss', 'admin'); 30 | 31 | // Version 32 | if (mix.inProduction()) { 33 | mix.version(); 34 | } 35 | -------------------------------------------------------------------------------- /wordpress/assets/components/content.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/wordpress/assets/components/content.png -------------------------------------------------------------------------------- /wordpress/assets/components/tr-error-component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/wordpress/assets/components/tr-error-component.png -------------------------------------------------------------------------------- /wordpress/assets/templates/admin/admin.css: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /wordpress/assets/templates/admin/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/wordpress/assets/templates/admin/admin.js -------------------------------------------------------------------------------- /wordpress/assets/templates/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/theme/theme.js": "/theme/theme.js?id=a757e9dca5dccb5f555ff9ddf628adc7", 3 | "/admin/admin.js": "/admin/admin.js?id=d41d8cd98f00b204e9800998ecf8427e", 4 | "/admin/admin.css": "/admin/admin.css?id=68b329da9893e34099c7d8ad5cb9c940", 5 | "/theme/theme.css": "/theme/theme.css?id=68b329da9893e34099c7d8ad5cb9c940" 6 | } 7 | -------------------------------------------------------------------------------- /wordpress/assets/templates/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/wordpress/assets/templates/screenshot.png -------------------------------------------------------------------------------- /wordpress/assets/templates/theme/theme.css: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /wordpress/assets/templates/theme/theme.js: -------------------------------------------------------------------------------- 1 | (()=>{var r,e={627:()=>{},84:()=>{},107:()=>{}},o={};function n(r){var t=o[r];if(void 0!==t)return t.exports;var v=o[r]={exports:{}};return e[r](v,v.exports,n),v.exports}n.m=e,r=[],n.O=(e,o,t,v)=>{if(!o){var a=1/0;for(p=0;p=v)&&Object.keys(n.O).every((r=>n.O[r](o[f])))?o.splice(f--,1):(i=!1,v0&&r[p-1][2]>v;p--)r[p]=r[p-1];r[p]=[o,t,v]},n.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={652:0,955:0,834:0};n.O.j=e=>0===r[e];var e=(e,o)=>{var t,v,[a,i,f]=o,l=0;if(a.some((e=>0!==r[e]))){for(t in i)n.o(i,t)&&(n.m[t]=i[t]);if(f)var p=f(n)}for(e&&e(o);ln(627))),n.O(void 0,[955,834],(()=>n(84)));var t=n.O(void 0,[955,834],(()=>n(107)));t=n.O(t)})(); -------------------------------------------------------------------------------- /wordpress/assets/typerocket/css/core.css: -------------------------------------------------------------------------------- 1 | @-webkit-keyframes tr-shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@keyframes tr-shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.tr-shake{-webkit-animation:tr-shake .82s cubic-bezier(.36,.07,.19,.97) both;animation:tr-shake .82s cubic-bezier(.36,.07,.19,.97) both;transform:translateZ(0)}:root{--tr-default-color:#0073aa;--tr-light-color:#04a4cc;--tr-ectoplasm-color:#a3b745;--tr-coffee-color:#c7a589;--tr-midnight-color:#e14d43;--tr-ocean-color:#9ebaa0;--tr-sunrise-color:#dd823b;--tr-blue-color:#096484;--tr-profile-color:#007cba}.admin-color-default{--tr-profile-color:#0073aa;--tr-profile-color-bg:#333;--tr-profile-color-dark:#001d2b}.admin-color-light{--tr-profile-color:#04a4cc;--tr-profile-color-bg:#999;--tr-profile-color-dark:#023f4f}.admin-color-ectoplasm{--tr-profile-color:#a3b745;--tr-profile-color-bg:#523f6d;--tr-profile-color-dark:#515a22}.admin-color-coffee{--tr-profile-color:#c7a589;--tr-profile-color-bg:#59524c;--tr-profile-color-dark:#8d6543}.admin-color-midnight{--tr-profile-color:#e14d43;--tr-profile-color-bg:#363b3f;--tr-profile-color-dark:#8e1e17}.admin-color-ocean{--tr-profile-color:#9ebaa0;--tr-profile-color-bg:#738e96;--tr-profile-color-dark:#5a7f5d}.admin-color-sunrise{--tr-profile-color:#dd823b;--tr-profile-color-bg:#cf4944;--tr-profile-color-dark:#824617}.admin-color-blue{--tr-profile-color:#096484;--tr-profile-color-bg:#4796b3;--tr-profile-color-dark:#010a0d}.tr-round-corners,.tr-round-image-corners img{border-radius:4px}#wpwrap .postbox .typerocket-container{margin:-6px -12px -12px}#post-body-content .typerocket-container{margin-bottom:30px}#postdivrich+.typerocket-container,#titlediv+.typerocket-container{margin-top:20px}#addtag .typerocket-container{margin-bottom:20px}#screen-meta+.tr-admin-notice{display:none}.tr-ui-sortable-helper{opacity:.8;cursor:move;overflow:hidden;z-index:100000000!important}.tr-sortable-placeholder{border:1px dashed #bbb!important;visibility:visible!important;background:none!important;z-index:1;box-shadow:none;max-height:300px!important;box-sizing:border-box}[data-tr-conditions]:not(.tr-show-conditional){display:none!important}.tr-form-fields{border:1px solid #ccd0d4;border-radius:4px}.tr-form-fields+.tr-form-action{padding:20px 0}#typerocket-admin-page .tr-form-fields{margin-top:20px}.tr-field-has-error{background:#ffeeed}.tr-field-error{display:block;color:#dc3232;font-size:12px;padding-left:1px;padding-bottom:4px}.tr-control-section .tr-input-textexpand,.tr-control-section input[type=date],.tr-control-section input[type=datetime-local],.tr-control-section input[type=datetime],.tr-control-section input[type=email],.tr-control-section input[type=month],.tr-control-section input[type=number],.tr-control-section input[type=password],.tr-control-section input[type=search],.tr-control-section input[type=tel],.tr-control-section input[type=text]:not(.tr-component-nameable-input),.tr-control-section input[type=time],.tr-control-section input[type=url],.tr-control-section input[type=week],.tr-control-section textarea,div.tr-control-section .tr-input-textexpand,div.tr-control-section input[type=date],div.tr-control-section input[type=datetime-local],div.tr-control-section input[type=datetime],div.tr-control-section input[type=email],div.tr-control-section input[type=month],div.tr-control-section input[type=number],div.tr-control-section input[type=password],div.tr-control-section input[type=search],div.tr-control-section input[type=tel],div.tr-control-section input[type=text]:not(.tr-component-nameable-input),div.tr-control-section input[type=time],div.tr-control-section input[type=url],div.tr-control-section input[type=week],div.tr-control-section textarea{box-sizing:border-box;width:100%;max-width:100%;padding:0 8px;margin:0}.tr-control-section .tr-input-textexpand,div.tr-control-section .tr-input-textexpand{box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c;padding:2px 8px;line-height:1.6;font-size:14px}.tr-control-section .tr-input-textexpand:focus,div.tr-control-section .tr-input-textexpand:focus{border-color:var(--tr-profile-color);box-shadow:0 0 0 1px var(--tr-profile-color)}.tr-control-section .tr-component-nameable-input,div.tr-control-section .tr-component-nameable-input{width:100%;border:none;border-left:3px solid var(--tr-profile-color);border-radius:0}.tr-control-section select,div.tr-control-section select{margin:0 0 5px;box-sizing:border-box;width:100%;max-width:100%;min-height:30px}.tr-control-section textarea,div.tr-control-section textarea{padding:8px;min-height:120px}.tr-text-input{display:flex}.tr-text-input .with-after{border-bottom-right-radius:0;border-top-right-radius:0}.tr-text-input .with-before{border-bottom-left-radius:0;border-top-left-radius:0}.tr-text-input .after,.tr-text-input .before{display:flex;justify-items:center;align-items:center;padding:0 5px;border:1px solid #7e8993;background:#f1f1f1}.tr-text-input .before{border-radius:4px 0 0 4px;border-right:none}.tr-text-input .after{border-radius:0 4px 4px 0;border-left:none}.tr-checkboxes{margin:6px 0 0}.tr-checkboxes li{padding:0;display:block;margin-bottom:6px}.tr-field-help-top,.tr-form-field-help p{color:#666;font-style:italic;margin:4px 0 0;font-size:13px}.tr-field-help-top{margin:0 0 4px}.tr-radio-images{margin:0;display:flex;flex-flow:wrap}.tr-radio-images [type=radio]{position:absolute;opacity:0;width:0;height:0}.tr-radio-images label{display:inline-block;padding:0 8px 0 0}.tr-radio-images label:focus{outline:none;box-shadow:none}.tr-radio-images.tr-radio-images-square [type=radio]+span>img{width:42px;height:42px}.tr-radio-images img{cursor:pointer;width:100%;max-width:100%;height:auto;padding:1px;box-sizing:border-box}.tr-radio-images img:focus,.tr-radio-images img:hover{box-shadow:0 0 0 3px #666}.tr-radio-images [type=radio]:checked+span>img,.tr-radio-images label:focus img{box-shadow:0 0 0 3px #3182bd;box-shadow:0 0 0 3px var(--tr-profile-color)}.tr-control-row,.tr-control-section{padding:10px 12px;position:relative}.tr-divide+.tr-divide{box-shadow:inset 0 1px 0 0 #ccd0d4}.tr-tabbed-box .tr-tab-layout-content>.tr-divide{box-shadow:none!important}.tr-control-row{display:flex;flex-wrap:wrap}.tr-control-row div.tr-control-section{flex:1;box-sizing:border-box;padding:0 5px;box-shadow:none!important}.tr-control-row>div:first-of-type{padding-left:0}.tr-control-row>div:last-of-type{padding-right:0}.tr-control-row .tr-control-row-column{flex:1;box-sizing:border-box;padding:0 5px}.tr-control-row .tr-control-row-column:first-child{padding-left:0}.tr-control-row .tr-control-row-column:last-child{padding-right:0}.tr-control-row .tr-control-row-column .tr-control-section{padding:5px 0}.tr-control-row .tr-control-row-column .tr-control-section:first-of-type{padding-top:0}.tr-control-row .tr-control-row-column .tr-control-section:last-of-type{padding-bottom:0}.tr-control-row .tr-control-row-column>.tr-control-grouped-section,.tr-control-row .tr-control-row-column>.tr-control-row{padding:5px 0;box-shadow:none}.tr-control-row .tr-control-row-column>.tr-control-grouped-section:first-of-type,.tr-control-row .tr-control-row-column>.tr-control-row:first-of-type{padding-top:0}.tr-control-row .tr-control-row-column>.tr-control-grouped-section:last-of-type,.tr-control-row .tr-control-row-column>.tr-control-row:last-of-type{padding-bottom:0}div.tr-control-label{color:#191e23;display:block;font-size:12px;font-weight:700;height:auto;width:auto;padding-left:1px;padding-bottom:4px}div.tr-control-label label{line-height:1.4em;padding:0}.tr-field-control-title{margin:0;font-size:14px;line-height:1.4;flex:0 0 100%;display:block;color:#191e23;padding-bottom:8px}.tr-label-thin:focus,.tr-label:focus{outline:none;box-shadow:none}.typerocket-elements-fields-textexpand .tr-label:hover{cursor:pointer}.tr-input-dark select{background-color:#000;color:#eee}#addtag>.typerocket-container>.tr-control-row,#addtag>.typerocket-container>.tr-control-section,#addtag>.typerocket-container>.tr-tabbed-top,#edittag>.typerocket-container>.tr-control-row,#edittag>.typerocket-container>.tr-control-section,#edittag>.typerocket-container>.tr-tabbed-top,#post-body-content>.typerocket-container>.tr-control-row,#post-body-content>.typerocket-container>.tr-control-section,#post-body-content>.typerocket-container>.tr-tabbed-top{box-shadow:none!important;padding:10px 0}.tr-maxlength{margin-top:3px;margin-bottom:6px;color:#666;font-size:12px;font-weight:400;font-style:italic}.tr-maxlength span{color:#3182bd;color:var(--tr-profile-color);font-weight:700}.postbox-container .typerocket-container .tr-control-section+.tr-tabbed-top,.tr-frame-fields .tr-control-section+.tr-tabbed-top,.tr-repeater-inputs .tr-control-section+.tr-tabbed-top{margin-top:9px;padding-top:0}.postbox-container .typerocket-container .tr-control-section+.tr-tabbed-top:after,.tr-frame-fields .tr-control-section+.tr-tabbed-top:after,.tr-repeater-inputs .tr-control-section+.tr-tabbed-top:after{padding:0 10px;margin:0 -5px}.postbox-container .typerocket-container [class^=tr-control-row]+.tr-tabbed-top,.tr-frame-fields [class^=tr-control-row]+.tr-tabbed-top,.tr-repeater-inputs [class^=tr-control-row]+.tr-tabbed-top{margin-top:9px;padding-top:1px}.postbox-container .typerocket-container [class^=tr-control-row]+.tr-tabbed-top:after,.tr-frame-fields [class^=tr-control-row]+.tr-tabbed-top:after,.tr-repeater-inputs [class^=tr-control-row]+.tr-tabbed-top:after{padding:0 10px;margin:0 -5px}.postbox-container .typerocket-container .tr-tabbed-top+.tr-control-section,.tr-frame-fields .tr-tabbed-top+.tr-control-section,.tr-repeater-inputs .tr-tabbed-top+.tr-control-section{padding-top:12px}.postbox-container .typerocket-container .tr-tabbed-top+.tr-control-section:after,.tr-frame-fields .tr-tabbed-top+.tr-control-section:after,.tr-repeater-inputs .tr-tabbed-top+.tr-control-section:after{margin:0 -5px}.postbox-container .typerocket-container .tr-tabbed-top+[class^=tr-control-row],.tr-frame-fields .tr-tabbed-top+[class^=tr-control-row],.tr-repeater-inputs .tr-tabbed-top+[class^=tr-control-row]{padding-top:9px}.postbox-container .typerocket-container .tr-tabbed-top+[class^=tr-control-row]:after,.tr-frame-fields .tr-tabbed-top+[class^=tr-control-row]:after,.tr-repeater-inputs .tr-tabbed-top+[class^=tr-control-row]:after{margin:0 -5px}.tr-range-input{width:100%}.tr-range-selected{display:block;margin-bottom:3px;color:#32373c;font-size:1rem}.tr-range-labels{display:flex;margin-top:1px;color:#666;font-size:.8rem;flex-grow:1;min-width:0}.tr-range-labels div{flex:1}.tr-range-labels div:last-child{margin-left:auto;text-align:right}[type=range]{-webkit-appearance:none;background:transparent;margin:10px 0;width:100%;cursor:pointer}[type=range]::-moz-focus-outer{border:0}[type=range]:focus{outline:0}[type=range]:focus::-webkit-slider-runnable-track{background:#d7dade}[type=range]:focus::-ms-fill-lower{background:var(--tr-profile-color,#00669b)}[type=range]:focus::-ms-fill-upper{background:#d7dade}[type=range]::-webkit-slider-runnable-track{cursor:default;height:4px;-webkit-transition:all .2s ease;transition:all .2s ease;width:100%;background:#d7dade;border:0 solid #cfd8dc;border-radius:0}[type=range]::-webkit-slider-thumb{background:#fff;border:1px solid var(--tr-profile-color,#00669b);border-radius:10px;box-sizing:border-box;cursor:default;height:20px;width:20px;-webkit-appearance:none;margin-top:-7px}[type=range]::-moz-range-track{cursor:default;height:4px;-moz-transition:all .2s ease;transition:all .2s ease;width:100%;background:#d7dade;border:0 solid #cfd8dc;border-radius:0;height:2px}[type=range]::-moz-range-thumb{background:#fff;border:1px solid var(--tr-profile-color,#00669b);border-radius:10px;box-sizing:border-box;cursor:default;height:20px;width:20px}[type=range]::-ms-track{cursor:default;height:4px;-ms-transition:all .2s ease;transition:all .2s ease;width:100%;background:transparent;border-color:transparent;border-width:10px 0;color:transparent}[type=range]::-ms-fill-lower{background:var(--tr-profile-color,#00669b);border:none;border-radius:0}[type=range]::-ms-fill-upper{background:#d7dade;border:none;border-radius:0}[type=range]::-moz-range-progress{background-color:var(--tr-profile-color,#00669b)}[type=range]::-ms-thumb{background:#fff;border:1px solid var(--tr-profile-color,#00669b);border-radius:10px;box-sizing:border-box;cursor:default;height:20px;width:20px;margin-top:1px}[type=range] ::-ms-ticks-after,[type=range] ::-ms-ticks-before{display:none}[type=range]:disabled::-moz-range-thumb,[type=range]:disabled::-ms-fill-lower,[type=range]:disabled::-ms-fill-upper,[type=range]:disabled::-ms-thumb,[type=range]:disabled::-webkit-slider-runnable-track,[type=range]:disabled::-webkit-slider-thumb{cursor:not-allowed}.tr-control-icon{font-family:dashicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;font-size:18px;line-height:18px;position:absolute;cursor:pointer;z-index:10;text-shadow:0 1px 0 hsla(0,0%,100%,.8);color:#9b9b9b;text-align:center;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tr-control-icon:hover{color:#333}.tr-control-icon-remove:before{content:"\F335"}.tr-control-icon-clone:before{content:"\F316"}.tr-control-icon-clone:hover{color:#0071a1;color:var(--tr-profile-color)}.tr-control-icon-remove:hover{color:red}.tr-control-icon-remove:focus{color:red;outline:none;box-shadow:none;text-shadow:0 0 7px #a00}.tr-control-icon-move:before{content:"\F333";cursor:move}.tr-control-icon-collapse:before{content:"\F142"}.tr-control-icon-collapse-up:before{content:"\F140"}.tab-icon .dashicons,.tr-dev-field-helper .dashicons{height:auto;width:auto;font-size:inherit}.tr-item-limit{vertical-align:top;font-size:13px;line-height:26px;height:25px;margin-left:5px;padding:0 10px 1px;border:1px solid #666;color:#666;border-radius:100%;display:inline-block}.tr-repeater-group-template{display:none}.tr-repeater-fields{position:relative;clear:both;margin:0;list-style:none;padding:0}.tr-repeater-action-add-append{margin-top:10px!important}.tr-repeater-fields:empty+.tr-repeater-action-add-append{display:none}.tr-repeater .controls{margin-bottom:10px}.tr-repeater-group{display:block;position:relative;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);margin:0 0 10px;background:#fff}.tr-repeater-group:focus{outline:none;box-shadow:0 0 3px #0073aa;box-shadow:0 0 3px var(--tr-profile-color)}.tr-repeater-group:last-child{margin-bottom:0}.tr-repeater-fields>.tr-sortable-placeholder{margin-bottom:10px}.tr-repeater-fields>.tr-sortable-placeholder:last-child{margin-bottom:0}.tr-cloned-item{border-color:#c2ddbf;transition:all .4s}.tr-cloned-item>.tr-repeater-controls{color:#2c4d29;background:#d2f5b5;border-color:inherit}.tr-cloned-item>.tr-repeater-controls .tr-control-icon{color:inherit;text-shadow:0 1px 0 rgba(221,255,229,.8)}.tr-repeater-controls{border-right:1px solid #ccd0d4;position:absolute;display:flex;flex-flow:column;overflow:hidden;top:0;bottom:0;width:39px;left:0;z-index:2;background:#f5f5f5;cursor:move;transition:all .4s}.tr-repeater-controls .tr-control-icon{position:relative;text-decoration:none;padding:5px 0;width:100%;border:none;background:none}.tr-repeater-controls .tr-control-icon:active,.tr-repeater-controls .tr-control-icon:focus,.tr-repeater-controls .tr-control-icon:hover{background:none}.tr-repeater-controls .tr-control-icon-remove{bottom:0;z-index:3;margin-top:auto}.tr-repeater-controls .tr-control-icon-remove:focus{color:red;outline:none;box-shadow:none;text-shadow:0 0 7px #a00}.tr-repeater-controls .tr-control-icon-collapse:focus{color:var(--tr-profile-color);outline:none;box-shadow:none;text-shadow:0 0 7px var(--tr-profile-color)}.tr-repeater-controls .tr-control-icon-clone{z-index:3}.tr-repeater-controls .tr-control-icon-clone:focus{color:var(--tr-profile-color);outline:none;box-shadow:none;text-shadow:0 0 7px var(--tr-profile-color)}.tr-repeater-controls .tr-control-icon-move{z-index:3}.tr-repeater-inputs{padding-left:40px;position:relative}.tr-repeater-inputs>h1:first-child,.tr-repeater-inputs>h2:first-child,.tr-repeater-inputs>h3:first-child,.tr-repeater-inputs>h4:first-child,.tr-repeater-inputs>h5:first-child,.tr-repeater-inputs>h6:first-child{padding:10px;margin:0;box-shadow:0 1px 1px rgba(0,0,0,.04);border-bottom:1px solid #ccd0d4;font-weight:700;font-size:14px;line-height:1.4}.tr-repeater-hide-clone>.tr-repeater-group>.tr-repeater-controls .tr-repeater-clone,.tr-repeater-hide-contract>.tr-repeater-group>.tr-repeater-controls .move,.tr-repeater-hide-contract>.tr-repeater-group>.tr-repeater-controls .tr-repeater-collapse,.tr-repeater-hide-contract>.tr-repeater-group>.tr-repeater-controls .tr-repeater-move{display:none}.tr-repeater-collapse .tr-control-icon-collapse:before,.tr-repeater-group-collapsed .tr-control-icon-collapse:before{content:"\F140"}.tr-repeater-collapse .redactor-toolbar,.tr-repeater-group-collapsed .redactor-toolbar{z-index:19}.tr-repeater-group-expanded .tr-control-icon-collapse:before{content:"\F142"}.tr-repeater-collapse>.tr-repeater-group,.tr-repeater-group-collapsed{height:90px;overflow:hidden}.tr-repeater-collapse>.tr-repeater-group.tr-repeater-clones,.tr-repeater-group-collapsed.tr-repeater-clones{height:130px}.tr-repeater-collapse>.tr-repeater-group>.tr-repeater-inputs:after,.tr-repeater .tr-repeater-group-collapsed>.tr-repeater-inputs:after{opacity:.6;background:#fff;content:"";z-index:20;position:absolute;display:block;height:100%;width:100%;top:0;left:40px}.tr-repeater-collapse>.tr-repeater-group-expanded>.tr-repeater-inputs:after{display:none}.tr-repeater-collapse>.tr-repeater-group-expanded,.tr-repeater-collapse>.tr-repeater-group-expanded.tr-repeater-clones{height:100%}.tr-matrix-controls{margin-bottom:20px}.tr-matrix-controls select,.tr-matrix-controls select.matrix-select{display:inline-block;width:auto;margin:0 10px 0 0}.tr-builder-inputs{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #ccd0d4;float:left;width:100%;box-sizing:border-box;transition:all .4s}.tr-builder-inputs:after{content:"";display:block;clear:both;height:0}.tr-builder-inputs>h1:first-child,.tr-builder-inputs>h2:first-child,.tr-builder-inputs>h3:first-child,.tr-builder-inputs>h4:first-child,.tr-builder-inputs>h5:first-child,.tr-builder-inputs>h6:first-child{margin:0;transition:all .4s;padding:10px;box-shadow:0 1px 1px rgba(0,0,0,.04);border-bottom:1px solid #ccd0d4;font-weight:700;font-size:14px;line-height:1.4}.tr-builder{position:relative}.tr-builder:after{content:"";display:block;clear:both;height:0}.tr-builder .tr-builder-add-button{width:100%}.tr-builder .tr-builder-controls{float:left}.tr-builder .tr-builder-controls .tr-components{width:120px}.tr-builder .tr-builder-controls .tr-components li{border:1px solid #ccd0d4;padding:2px;text-align:center;position:relative;background:#fff;list-style:none;margin:10px 0;min-height:55px;cursor:pointer;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.tr-builder .tr-builder-controls .tr-components li img{max-width:100%;height:auto;display:block}.tr-builder .tr-builder-controls .tr-components li .tr-builder-component-title{position:absolute;left:0;bottom:0;opacity:.9;background:rgba(0,0,0,.8);padding:5px;width:100%;z-index:10;box-sizing:border-box;color:#fff}.tr-builder .tr-builder-controls .tr-components li.active{border-color:#5b9dd9;border-color:var(--tr-profile-color);box-shadow:0 0 3px 1px #ccc;outline:none}.tr-builder .tr-builder-controls .tr-components li:focus,.tr-builder .tr-builder-controls .tr-components li:focus-within{box-shadow:0 0 3px 1px #80b5e4;box-shadow:0 0 3px 1px var(--tr-profile-color);outline:none}.tr-builder .tr-builder-controls .tr-components li:not(:hover):not(:focus-within) a:not(:focus):not(:active){position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.tr-builder .tr-builder-controls .tr-components li.active .tr-builder-component-title,.tr-builder .tr-builder-controls .tr-components li:focus-within .tr-builder-component-title,.tr-builder .tr-builder-controls .tr-components li:focus .tr-builder-component-title,.tr-builder .tr-builder-controls .tr-components li:hover .tr-builder-component-title{display:block}.tr-builder .tr-builder-controls .tr-components li span{display:none}.tr-builder .tr-builder-controls .tr-components li .clone,.tr-builder .tr-builder-controls .tr-components li .remove{font-family:dashicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;position:absolute;text-align:center;text-decoration:none;z-index:11;box-shadow:none;display:block;border-radius:25px;font-size:16px;line-height:16px;height:20px;width:20px;padding:3px;vertical-align:middle;color:#fff;left:5px;top:5px;background:rgba(11,11,11,.69);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tr-builder .tr-builder-controls .tr-components li .clone:focus,.tr-builder .tr-builder-controls .tr-components li .clone:hover,.tr-builder .tr-builder-controls .tr-components li .remove:focus,.tr-builder .tr-builder-controls .tr-components li .remove:hover{background:red;cursor:pointer}.tr-builder .tr-builder-controls .tr-components li .clone:before,.tr-builder .tr-builder-controls .tr-components li .remove:before{-webkit-font-smoothing:antialiased;font:normal 20px/1 dashicons;content:"\F335"}.tr-builder .tr-builder-controls .tr-components li .clone{left:38px}.tr-builder .tr-builder-controls .tr-components li .clone:before{content:"\F316"}.tr-builder .tr-builder-controls .tr-components li .clone:focus,.tr-builder .tr-builder-controls .tr-components li .clone:hover{background:#0071a1;background:var(--tr-profile-color);outline:none}.tr-builder .tr-frame-fields{margin-left:135px}.tr-builder .tr-builder-select{flex-flow:wrap;display:none;position:absolute;border-radius:3px;z-index:100001;top:35px;left:0;padding:5px;box-sizing:border-box;max-width:532px;background:#eee;border:1px solid #ccd0d4;box-shadow:0 0 8px rgba(0,0,0,.3)}.tr-builder .tr-builder-select:after,.tr-builder .tr-builder-select:before{content:"";display:block;position:absolute;top:-23px;left:45px;z-index:20;border:12px solid transparent;border-bottom-color:#eee}.tr-builder .tr-builder-select:after{top:-24px;z-index:19;border-bottom-color:#ccd0d4}.tr-builder .tr-builder-select .builder-select-divider{width:100%;margin:5px;font-weight:700;font-size:14px}.tr-builder-select-option{width:120px;vertical-align:top;display:inline-block;padding:10px;border-radius:3px;box-sizing:border-box;margin:5px;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #ccd0d4;background:#fff;text-align:center;cursor:pointer}.tr-builder-select-option:focus{box-shadow:0 0 3px 1px #80b5e4;box-shadow:0 0 3px 1px var(--tr-profile-color);outline:none}.tr-builder-select-option span{display:block;margin-bottom:3px;color:#444}.tr-builder-select-option img{max-width:100%;height:auto;display:block}.tr-builder-select-option:focus span,.tr-builder-select-option:hover span{color:#0071a1;color:var(--tr-profile-color)}.tr-builder-select-overlay{position:fixed;top:0;left:0;height:100%;width:100%;background:#000;opacity:0;z-index:10000}.builder-field-group{display:none}.builder-field-group.active{display:block}.tr-cloned-item>.tr-builder-inputs{border-color:#c2ddbf;box-shadow:0 1px 1px #d2f5b5}.tr-cloned-item>.tr-builder-inputs>h1:first-child,.tr-cloned-item>.tr-builder-inputs h2:first-child,.tr-cloned-item>.tr-builder-inputs h3:first-child{color:#2c4d29;background:#d2f5b5;border-color:inherit}.tr-component-group-name{display:flex;align-items:center;gap:10px}.tr-component-group-name>div:first-child{flex:1}.tr-save-component-as-block-wrap{text-align:right;cursor:pointer}.tr-save-component-as-block{all:unset;cursor:pointer}.tr-block-component-actions{margin-top:2px}.tr-search-results .tr-search-results-hide{display:none}.tr-admin-page-title{margin-bottom:10px;font-size:23px;font-weight:400;padding:9px 15px 4px 0;line-height:29px}.tr-headline{margin-top:0;display:flex;line-height:1.05em;margin-bottom:15px;font-size:23px;font-weight:400}.tr-headline>.text{flex:1}.tr-headline>.icon{width:30px;display:flex;justify-items:center;align-items:center}.tr-items-list{margin:10px 0 0}.tr-items-list .tr-items-list-item,.tr-items-list li{display:block;box-sizing:border-box;position:relative;min-height:50px;padding:10px 40px;border:1px solid #ccd0d4;margin:-1px 0 0!important;background:#fff}.tr-items-list .tr-items-list-item:focus,.tr-items-list li:focus{outline:none;box-shadow:inset 0 0 0 2px #0073aa;box-shadow:inset 0 0 0 2px var(--tr-profile-color)}.tr-items-list .tr-items-list-item .remove,.tr-items-list li .remove{right:12px;top:17px}.tr-items-list .tr-items-list-item .remove:focus,.tr-items-list li .remove:focus{outline:none;box-shadow:none;text-shadow:0 0 7px #a00}.tr-items-list .tr-items-list-item .move,.tr-items-list li .move{left:12px;top:17px}.tr-items-list:empty+.tr-items-append{display:none}.tr-items-append{margin-top:10px!important}.tr-ajax-alert{position:fixed;top:42px;right:10px;z-index:100000;padding:15px;line-height:1.4em;max-width:520px;min-width:320px;box-sizing:border-box;text-align:center;background:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);border-left:5px solid;border-color:#46b450}.tr-ajax-alert.tr-alert-error{border-color:#dc3232}.tr-ajax-alert.tr-alert-warning{border-color:#ffb900}.tr-ajax-alert.tr-alert-info{border-color:#00a0d2}body:not(.wp-admin) .tr-admin-notice{padding:15px;line-height:1.4em;box-sizing:border-box;background:#fff;color:#444;margin-bottom:1em;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);border-left:5px solid;border-color:#46b450}body:not(.wp-admin) .tr-admin-notice p:only-child,body:not(.wp-admin) .tr-admin-notice ul:only-child{margin:0}body:not(.wp-admin) .tr-admin-notice li,body:not(.wp-admin) .tr-admin-notice p{text-transform:none;text-decoration:none;letter-spacing:normal}body:not(.wp-admin) .tr-admin-notice.notice-error{border-color:#dc3232}body:not(.wp-admin) .tr-admin-notice.notice-warning{border-color:#ffb900}body:not(.wp-admin) .tr-admin-notice.notice-info{border-color:#00a0d2}@media screen and (max-width:782px){.typerocket-rest-alert{top:46px}}.tr-search-chosen-item-remove{color:#a00;position:absolute;top:50%;transform:translateY(-50%);right:1px;cursor:pointer;background:none;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none}.tr-search-chosen-item-remove:active,.tr-search-chosen-item-remove:hover{color:red}.tr-search-chosen-item-remove:focus{color:red;outline:none;box-shadow:none;text-shadow:0 0 7px #a00}.tr-search-results{margin:0;background:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);list-style:none;padding:0;border-radius:3px}.tr-search-results>li:only-child{border-radius:3px}.tr-search-results>li:first-child{border-radius:3px 3px 0 0}.tr-search-results>li:last-child{border-radius:0 0 3px 3px}.tr-search-result-title{color:#666;cursor:pointer;font-weight:700;font-size:12px;padding:8px;margin:3px 0 0;border:1px solid #ccd0d4;background:#fff}.tr-search-input{background:none;outline:none}.tr-search-input:focus{outline:none}.tr-search-chosen-item,.tr-search-result{color:#0073aa;color:var(--tr-profile-color);cursor:pointer;font-size:14px;padding:8px;margin:0;border:1px solid #ccd0d4;border-top:none;background:#eee;display:block;overflow:hidden;text-overflow:ellipsis}.tr-search-chosen-item span,.tr-search-result span{font-weight:400;color:#191e23}.tr-search-chosen-item span b,.tr-search-result span b{font-weight:700;color:#3182bd;color:var(--tr-profile-color)}.tr-search-chosen-item:active,.tr-search-chosen-item:focus,.tr-search-chosen-item:hover,.tr-search-result:active,.tr-search-result:focus,.tr-search-result:hover{background:#0073aa;background:var(--tr-profile-color);color:#fff;outline:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}.tr-search-chosen-item:active span,.tr-search-chosen-item:focus span,.tr-search-chosen-item:hover span,.tr-search-result:active span,.tr-search-result:focus span,.tr-search-result:hover span{font-weight:400;color:#fff}.tr-search-chosen-item:active span b,.tr-search-chosen-item:focus span b,.tr-search-chosen-item:hover span b,.tr-search-result:active span b,.tr-search-result:focus span b,.tr-search-result:hover span b{font-weight:700;color:#fff}.tr-search-selected{padding:5px 32px 5px 7px;margin-top:5px;font-size:14px;font-weight:400;background:#fff;position:relative}.tr-search-multiple,.tr-search-selected{border:1px solid #ccd0d4;border-radius:3px}.tr-search-multiple{padding:6px;display:flex}.tr-search-multiple .tr-search-controls,.tr-search-multiple .tr-search-selected{width:50%;flex:1;display:block;margin:0;padding:0;border:none;background:transparent;box-sizing:border-box}.tr-search-multiple .tr-search-controls{padding-right:3px}.tr-search-multiple .tr-results-placeholder{display:none}.tr-search-multiple .tr-search-selected{list-style:none;padding-left:3px}.tr-search-multiple .tr-search-selected:empty:after{content:attr(data-placeholder);display:block;border:1px solid #ccd0d4;padding:5px;border-radius:3px}.tr-search-multiple .tr-search-selected>li{cursor:move;position:relative;padding:5px 32px 5px 7px;margin:0;border:1px solid #ccd0d4;border-top:none}.tr-search-multiple .tr-search-selected>li:first-child{border-top:1px solid #ccd0d4}.tr-search-multiple .tr-search-selected>li span{cursor:pointer}.tr-search-multiple .tr-search-selected>li:focus{text-decoration:underline}.tr-search-multiple .tr-search-selected>li.tr-search-chosen-item.tr-ui-sortable-helper{border-top:1px solid #ccd0d4}.tr-search-multiple:after{content:"";display:block;clear:both}.tr-data-full,.tr-data-full li{margin:0;padding:0;list-style:none}@media screen and (max-width:782px){.tr-data-full li{padding:3px 0}}.tr-file-picker-placeholder,.tr-image-picker-placeholder{margin-top:10px;position:relative}.tr-file-picker-placeholder a,.tr-image-picker-placeholder img{padding:0;border:1px solid #ccd0d4;background:#fff;display:block;max-width:100%;height:auto;overflow:hidden;box-sizing:border-box}.tr-image-field-background{display:flex;flex-direction:column}.tr-image-background-placeholder{position:relative;display:inline-block;margin:10px 10px 40px;width:40%;min-width:150px;max-width:300px;height:auto}.tr-image-background-placeholder img{width:100%;height:auto;position:relative;z-index:0;border:1px solid #ccd0d4;box-shadow:0 0 3px #000}.tr-image-field-background .tr-position-image{background:var(--tr-image-field-bg-src) no-repeat var(--tr-image-field-bg-x) var(--tr-image-field-bg-y);background-size:cover;margin:10px 0;border:1px solid #ccd0d4}.tr-image-field-background .tr-position-inputs{display:flex}.tr-image-field-background .tr-position-inputs label{padding:0}.tr-image-field-background .tr-position-inputs label:last-child{margin-left:10px}.tr-image-field-background .tr-position-inputs input{width:65px;margin-left:5px}.tr-image-background-placeholder:not(:empty):after{height:30px;width:30px;border-radius:100%;border:2px solid hsla(0,0%,100%,.8);z-index:2}.tr-image-background-placeholder:not(:empty):after,.tr-image-background-placeholder:not(:empty):before{display:block;content:"";box-shadow:0 0 3px #000;position:absolute;top:var(--tr-image-field-bg-y);left:var(--tr-image-field-bg-x);transform:translate(-50%,-50%);pointer-events:none}.tr-image-background-placeholder:not(:empty):before{height:4px;width:4px;border-radius:100%;background:#007cba;background:var(--tr-profile-color);z-index:3}.tr-file-picker-placeholder a{padding:8px}.tr-image-picker-placeholder img{background:repeating-linear-gradient(45deg,#fff,#fff 10px,#f0f0f0 0,#f0f0f0 20px)}.tr-dark-image-background img{background:repeating-linear-gradient(45deg,#222131,#222131 10px,#000 0,#000 20px)}.tr-gallery-list{margin:5px -5px 0}.tr-gallery-list .tr-image-picker-placeholder img{cursor:move}.tr-gallery-list .ui-sortable-helper a{display:none}.tr-gallery-item{margin:5px;position:relative;list-style:none;padding:0;display:inline-block;vertical-align:top;box-sizing:border-box;border:1px solid transparent}.tr-gallery-item:focus{outline:none;border:1px solid var(--tr-profile-color);box-shadow:0 0 4px #0073aa;box-shadow:0 0 4px var(--tr-profile-color)}.tr-gallery-item img{margin:0;display:block;cursor:move}.tr-gallery-item:not(:hover) a:not(:focus):not(:active){position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.tr-gallery-remove,.tr-image-edit{color:#fff;position:absolute;left:7px;top:7px;z-index:3;text-decoration:none;padding:3px;border-radius:25px;background:rgba(11,11,11,.69);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);box-shadow:none;display:block}.tr-gallery-remove:focus,.tr-gallery-remove:hover,.tr-image-edit:focus,.tr-image-edit:hover{color:#fff;background:red;cursor:pointer}.tr-gallery-item .tr-image-edit{left:40px}.tr-image-edit:focus,.tr-image-edit:hover{background:#0073aa;background:var(--tr-profile-color,#0073aa)}.tr-dev-alert-helper{padding:15px;box-sizing:border-box;background:#fff;border:1px solid #3182bd;border:1px solid var(--tr-profile-color);color:#23282d;margin:10px auto}.tr-dev-alert-helper code{background:hsla(0,0%,93.3%,.35);box-shadow:0 1px 1px rgba(0,0,0,.125);color:#3182bd;color:var(--tr-profile-color);padding:4px;display:inline-block;border-radius:4px}.tr-dev-field-helper{font-weight:400;display:inline-block;position:relative;top:1px;color:#999;transition:all .5s;-webkit-transition:all .5s}.tr-dev-field-helper:hover .nav .tr-dev-field-function{color:#3182bd;color:var(--tr-profile-color)}.tr-dev-field-helper .nav .tr-dev-field-function{margin-left:5px}.tr-repeater .tr-repeater .tr-dev-field-helper{display:none}.tr-matrix>.tr-dev-field-helper,.tr-repeater>.tr-dev-field-helper{margin-bottom:10px}.tr-control-section .tr-dev-field-helper:hover>i,.tr-repeater-group .tr-control-section .tr-dev-field-helper:hover>i{color:#085286;color:var(--tr-profile-color)}.tr-control-section:hover .tr-dev-field-helper .nav,.tr-repeater-group .tr-control-section .tr-dev-field-helper:hover .nav{opacity:1}.tr-dev-field-helper .nav,.tr-repeater-group .tr-control-section .tr-dev-field-helper .nav{display:inline-block;-webkit-transition:opacity .5s ease-out;opacity:0;max-width:350px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;line-height:1em}@media screen and (max-width:782px){#wpbody .tr-control-label .tr-dev-field-helper{display:none}}.tr-tab-section{width:100%;display:none}.tr-tab-section.active{display:block}.tr-tabbed-sections.ui-tabs{padding:0}.tr-tabbed-sections .tr-tabs li.hide{display:none}.tr-tabbed-sections .ui-tabs-hide{display:none!important}.tr-tabbed-sections .ui-widget-header{border:none}.tr-tabs .tab-icon-i{height:auto;width:auto;font-size:inherit}.tr-tabbed-top .tr-tabs{padding:0 12px;margin:0;overflow:hidden;zoom:1;line-height:1em;width:100%;display:flex;box-sizing:border-box;box-shadow:inset 0 -1px 0 0 #ccd0d4;background:hsla(0,0%,87.1%,.49)}.tr-tabbed-top .tr-tabs>li{margin:0 12px 0 0;font-weight:400;font-size:13px;line-height:1em;position:relative;list-style:none;box-shadow:none}.tr-tabbed-top .tr-tabs>li.active a{color:#191e23;border-bottom-color:#444}.tr-tabbed-top .tr-tabs>li a{font-weight:700;display:block;padding:15px 9px 12px;text-decoration:none;color:#555;border-bottom:4px solid transparent;box-shadow:none}.tr-tabbed-top .tr-tabs>li a em{color:#666;font-weight:400;font-size:11px;display:block;margin-top:2px}.tr-tabbed-top .tr-tabs>li a:active,.tr-tabbed-top .tr-tabs>li a:focus,.tr-tabbed-top .tr-tabs>li a:hover{border-bottom-color:#00a0d2!important;border-bottom-color:var(--tr-profile-color)!important;outline:none;box-shadow:none}.tr-tabbed-top.tr-tabs-layout-top-enclosed{background:#fff;border:1px solid #ccd0d4;margin-top:10px}.tr-tabbed-top.tr-tabs-layout-top-enclosed>.tr-tabbed-sections .tr-tabs{margin-bottom:10px}.tr-tabbed-top.tr-tabs-layout-top-enclosed>.tr-tabbed-sections .tr-tabs .tr-tab-link{font-size:16px}.tr-tabbed-top.tr-tabs-layout-top-enclosed>.tr-tabbed-sections .tr-tabs .tr-tab-link em{font-size:12px;margin-top:5px}.tr-tabbed-top.tr-tabs-layout-top-enclosed>.tr-tabbed-sections .tr-tabs .tab-icon{vertical-align:text-top;display:inline-block;margin-right:3px;color:#00a0d2;color:var(--tr-profile-color)}.tr-tabbed-box{display:block;margin:20px 0 -1px;position:relative}.tr-tabbed-box.has-header .tr-tab-layout-tabs{margin-top:50px}.tr-tabbed-box label{line-height:inherit}.tr-tabbed-box .tr-fieldset-group,.tr-tabbed-box .tr-table-container{padding:20px;margin:0;box-sizing:border-box}.tr-tabbed-box .tr-tab-layout-tabs .active,.tr-tabbed-box .tr-tab-layout-tabs .active a,.tr-tabbed-box .tr-tab-layout-tabs .active a:hover{background:#fefefe;outline:none;box-shadow:none}.tr-tabbed-box .tr-tab-layout-content>.tr-control-section>.tr-control-row{padding-left:20px;padding-right:20px}.tr-tabbed-box .tr-tab-layout-tabs{margin:0;position:relative}.tr-tabbed-box .tr-tab-layout-tabs ul{margin:1em 0}.tr-tabbed-box .tr-tab-layout-tabs li{list-style-type:none;margin:0 -1px 0 0;border-bottom:0 solid transparent;border-top:0 solid transparent;border-color:#ccd0d4 transparent transparent;border-style:solid;border-width:1px 0 1px 3px;transition:all .2s;box-shadow:none}.tr-tabbed-box .tr-tab-layout-tabs li:first-child{border-top:1px solid transparent}.tr-tabbed-box .tr-tab-layout-tabs .tab-text{max-width:170px;min-width:70px;box-sizing:border-box;padding-right:10px}.tr-tabbed-box .tr-tab-layout-tabs .has-description a{text-transform:uppercase}.tr-tabbed-box .tr-tab-layout-tabs a{padding:10px 10px 10px 12px;box-shadow:none;line-height:18px;color:#00a0d2;color:var(--tr-profile-color);font-weight:700;font-size:13px;letter-spacing:1px;text-decoration:none;border-right:none;border-left:none;display:flex}.tr-tabbed-box .tr-tab-layout-tabs a .tab-text{flex:1}.tr-tabbed-box .tr-tab-layout-tabs .tr-tab-link>.tab-icon{width:30px;text-align:center;color:#b4becb;display:flex;justify-items:center;align-items:center;font-size:21px}.tr-tabbed-box .tr-tab-layout-tabs .tr-tab-link>.tab-icon>i{flex:1}.tr-tabbed-box .tr-tab-layout-tabs .tr-tab-link em{letter-spacing:normal;display:block;font-weight:400;font-style:normal;font-size:12px;margin-top:2px;color:#666;text-transform:none}.tr-tabbed-box .tr-tab-layout-tabs li:focus-within.active .tab-text{color:var(--tr-profile-color,#00a0d2)}.tr-tabbed-box .tr-tab-layout-tabs .active,.tr-tabbed-box .tr-tab-layout-tabs li:active,.tr-tabbed-box .tr-tab-layout-tabs li:focus-within,.tr-tabbed-box .tr-tab-layout-tabs li:hover{padding:0;border-left:3px solid #00a0d2;border-left:3px solid var(--tr-profile-color,#00a0d2);transition:all .2s}.tr-tabbed-box .tr-tab-layout-tabs .active:first-child,.tr-tabbed-box .tr-tab-layout-tabs li:active:first-child,.tr-tabbed-box .tr-tab-layout-tabs li:focus-within:first-child,.tr-tabbed-box .tr-tab-layout-tabs li:hover:first-child{border-top:1px solid #ccd0d4}.tr-tabbed-box .tr-tab-layout-tabs .active:last-child,.tr-tabbed-box .tr-tab-layout-tabs li:active:last-child,.tr-tabbed-box .tr-tab-layout-tabs li:focus-within:last-child,.tr-tabbed-box .tr-tab-layout-tabs li:hover:last-child{border-bottom:1px solid #ccd0d4}.tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link,.tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link,.tr-tabbed-box .tr-tab-layout-tabs li:focus-within .tr-tab-link,.tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link{border-color:#ccd0d4;color:#32373c}.tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.tr-tabbed-box .tr-tab-layout-tabs li:focus-within .tr-tab-link>.tab-icon,.tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:var(--tr-profile-color,#00a0d2)}.tr-tabbed-box .tr-tab-layout-tabs li.active{background:#fff}.tr-tabbed-box.tr-tabs-layout-left-enclosed .tr-tab-layout-wrap{background:#fff;box-shadow:inset 0 0 0 1px #ccd0d4}.tr-tabbed-box .tr-tab-layout-tabs-wrap{padding:0;border:1px solid #ccd0d4;background:#fefefe;flex:1;overflow:visible;display:flex;flex-flow:column;min-width:0}.tr-tabbed-box .tr-tab-layout-tabs-wrap>.tr-tab-layout-content{flex:1;box-sizing:border-box}.tr-tabbed-box .tr-tab-layout-sidebar{width:150px;order:2;padding:0 8px 20px 12px}@media screen and (max-width:600px){.tr-tabbed-box .tr-tab-layout-tabs{width:auto}.tr-tabbed-box .tab-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}}.tr-tab-layout-columns{position:relative;display:flex;align-items:stretch;flex-direction:row}#post-body-content #screen-meta.tr-tabbed-box{margin:0 0 20px 4px;box-shadow:none}.tr-builder-inputs>.tr-tabbed-box,.tr-repeater-inputs>.tr-tabbed-box{margin:-1px 0}#wpwrap .postbox .tr-tabbed-box{display:block;margin:0}#wpwrap .postbox .tr-tabbed-box .tr-tab-layout-tabs-wrap{border-color:transparent transparent transparent #ccd0d4}#wpwrap .postbox .tr-tabbed-box .tr-tab-layout-content{padding:0}.tr-fieldset-group,.tr-repeater-inputs .tr-fieldset-group{padding:10px 12px}.tr-fieldset-group .tr-fieldset-group-title,.tr-repeater-inputs .tr-fieldset-group .tr-fieldset-group-title{font-size:21px;font-weight:400;margin:0 0 5px}.tr-fieldset-group .tr-fieldset-group-description,.tr-repeater-inputs .tr-fieldset-group .tr-fieldset-group-description{margin:0 0 10px}.tr-fieldset-group .tr-fieldset-group-content,.tr-repeater-inputs .tr-fieldset-group .tr-fieldset-group-content{background:#f5f5f5;border:1px solid #ccd0d4;border-radius:3px;min-width:0}.postbox .tr-fieldset-group .tr-fieldset-group-title,.tr-repeater-inputs .tr-fieldset-group .tr-fieldset-group-title{font-size:14px;line-height:1.4;font-weight:700}.tr-tabbed-footer{border:1px solid #ccd0d4;position:relative;margin:0 -1px -1px}.tr-tabbed-footer,.tr-tabbed-header{background:#f5f5f5;padding:10px}.tr-tabbed-header .tr-headline{margin:10px}.tr-toggle-box{display:flex;position:relative}.tr-toggle-box input[type=checkbox]{height:0;width:0;visibility:hidden;position:absolute}.tr-toggle-box .tr-toggle-box-text{margin:4px 12px 0}.tr-toggle-box .tr-toggle-box-label{cursor:pointer;width:50px;height:24px;border:3px solid #6c7781;display:block;border-radius:100px;position:relative;padding:0;line-height:1.4em}.tr-toggle-box .tr-toggle-box-label:focus{outline:none;box-shadow:0 0 3px rgba(0,115,170,.8);border-color:#4c5761}.tr-toggle-box .tr-toggle-box-label:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#6c7781;border-radius:14px;transition:.3s}.tr-toggle-box input:checked+.tr-toggle-box-label{border-color:transparent;background:#11a0d2;padding:0}.tr-toggle-box input:checked+.tr-toggle-box-label:after{background:#fff;left:calc(100% - 2px);transform:translateX(-100%)}.tr-table-container{margin-top:20px}.tr-table-container .tablenav{display:flex;margin:6px 0;flex-flow:wrap;height:auto}.tr-table-container .tablenav input[type=search],.tr-table-container .tablenav input[type=text],.tr-table-container .tablenav input[type=url]{width:auto;max-width:none}.tr-table-container .tablenav button{margin-left:6px}.tr-table-container .tablenav select{width:auto;float:none;margin:0}.tr-table-container .tablenav .actions{float:none;overflow:initial;display:flex;align-items:center;padding:0 8px 0 0}@media screen and (max-width:782px){.tr-table-container .tablenav .actions{display:none}.tr-table-container .tablenav .actions.bulkactions{display:flex}}.tr-table-container .tablenav .tablenav-pages{float:none;margin:0 0 0 auto;display:flex;align-items:center}@media screen and (max-width:782px){.tr-table-container .tablenav .tablenav-pages{margin:15px 0;justify-content:center}}.tr-table-wrapper{overflow-x:auto}.tr_field_location_google_map{height:150px;background:#ccc;width:100%}.tr_field_location_load_lat_lng_section{margin:10px 0}.tr-swatches{display:flex;flex-flow:wrap;margin:0;padding:3px 0 0}.tr-swatches .tr-swatch-box{height:40px;width:40px;overflow:hidden;border-radius:4px;border:1px solid #191e23}.tr-swatches .tr-swatch-box:after{content:"";display:block;height:0;width:0;border-bottom-color:var(--tr-swatch-a);border-right-color:var(--tr-swatch-a);border-color:var(--tr-swatch-a) var(--tr-swatch-b) var(--tr-swatch-b) var(--tr-swatch-a);border-style:solid;border-width:20px}.tr-swatches label{padding:0 8px 0 0;display:inline-block}.tr-swatches label:focus{outline:none;box-shadow:none}.tr-swatches span{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.tr-swatches [type=radio]{position:absolute;opacity:0;width:0;height:0}.tr-swatches .tr-swatch-box{cursor:pointer;max-width:100%;height:auto}.tr-swatches .tr-swatch-box:focus,.tr-swatches .tr-swatch-box:hover{box-shadow:0 0 0 3px #666}.tr-swatches [type=radio]:checked~.tr-swatch-box,.tr-swatches label:focus .tr-swatch-box{box-shadow:0 0 0 3px var(--tr-profile-color)}.tr-control-section .redactor-focus.redactor-styles-on,.tr-control-section .redactor-focus:focus.redactor-styles-on{border-color:var(--tr-profile-color,#007cba)!important;box-shadow:0 0 0 1px var(--tr-profile-color,#007cba)}.tr-control-section .redactor-over:hover.redactor-styles-on{border-color:var(--tr-profile-color,#007cba)!important}.redactor-styles ul{list-style:disc}.redactor-styles .aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.redactor-styles .alignleft{float:left;margin:.5em 1em .5em 0}.redactor-styles .alignright{float:right;margin:.5em 0 .5em 1em}.redactor-toolbar a.re-button-icon .dashicons{font-size:inherit;height:18px;width:auto;box-sizing:border-box;vertical-align:inherit}.typerocket-container{box-sizing:border-box;clear:both}.typerocket-container:after{content:"";display:block;clear:both}.tr-flex-tight{display:flex;flex-flow:wrap;box-sizing:border-box}.tr-flex-tight>*{box-sizing:border-box;padding:0 5px}.tr-flex-tight>:first-child{padding-left:0}.tr-flex-tight>:last-child{padding-right:0}.tr-flex-list{display:flex;box-sizing:border-box}.tr-flex-list>*{flex:1;box-sizing:border-box;padding:0 5px}.tr-flex-list>:first-child{padding-left:0}.tr-flex-list>:last-child{padding-right:0}.tr-flex-justify{justify-content:flex-start}.tr-mr-10{margin-right:10px}.tr-ml-10{margin-left:10px}.tr-mb-10{margin-bottom:10px}.tr-mt-10,.tr-my-10{margin-top:10px}.tr-my-10{margin-bottom:10px}.tr-mx-10{margin-left:10px;margin-right:10px}.tr-m-10{margin:10px}.tr-m-20{margin:20px}.tr-pr-10{padding-right:10px}.tr-pl-10{padding-left:10px}.tr-pb-10{padding-bottom:10px}.tr-pt-10,.tr-py-10{padding-top:10px}.tr-py-10{padding-bottom:10px}.tr-px-10{padding-left:10px;padding-right:10px}.tr-p-10{padding:10px}.tr-p-20{padding:20px}.tr-d-inline{display:inline}.tr-d-inline-block{display:inline-block}.tr-d-block{display:block}.tr-w-100{width:100%}.tr-w-50{width:50%}.tr-w-25{width:25%}.tr-w-10{width:10%}.tr-sr-only:not(:focus):not(:active){clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.tr-fl{float:left}.tr-fr{float:right}.cf:after,.cf:before{content:" ";display:table}.cf:after{clear:both}.cf{*zoom:1}.typerocket-wp-style-table{margin:.5em auto;width:100%;clear:both}.typerocket-wp-style-table>.tr-divide+.tr-divide{box-shadow:none}@media screen and (max-width:782px){.typerocket-wp-style-table>.tr-control-row,.typerocket-wp-style-table>.tr-control-section{padding:8px 0}.typerocket-wp-style-table>.tr-control-row>.tr-control-label,.typerocket-wp-style-table>.tr-control-section>.tr-control-label{font-size:14px;font-weight:600}}@media screen and (min-width:783px){.typerocket-wp-style-table{display:table;border-collapse:collapse}.typerocket-wp-style-table .tr-dev-field-helper .nav{max-width:120px}.typerocket-wp-style-table>.tr-control-section{display:table-row}.typerocket-wp-style-table>.tr-control-section>.tr-control-label{color:#333;display:table-cell;font-size:14px;height:auto;vertical-align:top;text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3;font-weight:600}.typerocket-wp-style-table>.tr-control-section>.control,.typerocket-wp-style-table>.tr-control-section>.controls{margin-bottom:9px;padding:15px 10px;line-height:1.3;font-size:14px;vertical-align:middle;display:table-cell}.typerocket-wp-style-table>.tr-control-section>.controls{vertical-align:top}.typerocket-wp-style-table>.tr-control-section.tr-repeater>.tr-dev-field-helper{display:none}}.typerocket-wp-style-subtle div.tr-control-label{font-weight:400;font-size:13px;line-height:1.5}.typerocket-wp-style-subtle>.tr-control-row,.typerocket-wp-style-subtle>.tr-control-section{padding:8px 0}.typerocket-wp-style-subtle>.tr-divide+.tr-divide{box-shadow:none}.tr-menu-container{padding-right:10px;clear:both}.tr-menu-container div.tr-control-label{font-style:italic;color:#666;padding-bottom:0}.tr-taxonomy-add-container{padding-right:5%}.tr-datepicker-container{width:17em;display:none;z-index:1000!important}.tr-datepicker-container .ui-datepicker-header{position:relative;padding:.2em 0;border:0;font-weight:700;width:100%;background:#f1f1f1;color:grey;border-bottom:1px solid #dfdfdf}.tr-datepicker-container .ui-datepicker-next,.tr-datepicker-container .ui-datepicker-prev{position:absolute;top:2px;width:1.8em;height:1.8em;text-indent:-9999px;cursor:pointer}.tr-datepicker-container .ui-datepicker-prev{left:2px}.tr-datepicker-container .ui-datepicker-prev:after{content:"";display:block;margin-left:3px;margin-top:6px;border:6px solid transparent;border-right-color:#999}.tr-datepicker-container .ui-datepicker-next:after{content:"";display:block;margin-right:3px;margin-top:6px;border:6px solid transparent;border-left-color:#999}.tr-datepicker-container .ui-datepicker-prev:hover:after{border-right-color:#21759b;border-right-color:var(--tr-profile-color,#21759b)}.tr-datepicker-container .ui-datepicker-next:hover:after{border-left-color:#21759b;border-left-color:var(--tr-profile-color,#21759b)}.tr-datepicker-container .ui-datepicker-next{right:2px}.tr-datepicker-container .ui-datepicker-next span,.tr-datepicker-container .ui-datepicker-prev span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.tr-datepicker-container .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center;font-weight:400;color:#333}.tr-datepicker-container .ui-datepicker-title select{font-size:1em;margin:1px 0}.tr-datepicker-container select.ui-datepicker-month-year{width:100%}.tr-datepicker-container select.ui-datepicker-month,.tr-datepicker-container select.ui-datepicker-year{width:49%}.tr-datepicker-container table{width:96%;font-size:.9em;border-collapse:collapse;margin:0 .4em .4em}.tr-datepicker-container td{border:0;padding:1px}.tr-datepicker-container td a,.tr-datepicker-container td span{display:block;padding:.2em;text-align:right;text-decoration:none}.tr-datepicker-container .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.tr-datepicker-container .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.tr-datepicker-container .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker-cover{display:none;display:block;position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.tr-datepicker-container th{color:grey;padding:.7em .3em;text-align:center;font-weight:400;border:0}.ui-datepicker-today a:hover{background-color:grey;color:#fff}.ui-datepicker-today a{background-color:#bfbfbf;cursor:pointer;padding:0 4px;margin-bottom:0}.tr-datepicker-container td a{margin-bottom:0;border:0}.tr-datepicker-container td:hover{color:#fff}.tr-datepicker-container td .ui-state-default{color:#333;font-size:13px;line-height:normal;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.2),0 1px 2px rgba(0,0,0,.05);transition:background-image .1s linear;overflow:visible;border:0;background:#fff;margin-bottom:0;padding:5px;color:grey;text-align:center;filter:none}.tr-datepicker-container td .ui-state-highlight{color:#404040;background:#ffeda4;text-shadow:0 -1px 0 rgba(0,0,0,.25);border-color:#eedc94 #eedc94 #e4c652;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25)}.tr-datepicker-container td .ui-state-active{background:#bfbfbf;margin-bottom:0;font-size:1em;text-shadow:0;color:#fff}.tr-datepicker-container td .ui-state-hover{background-color:#21759b;background-color:var(--tr-profile-color,#21759b);border-color:#21759b #21759b #1e6a8d;border-color:var(--tr-profile-color,#21759b);box-shadow:inset 0 1px 0 rgba(120,200,230,.5);box-shadow:inset 0 1px 0 var(--tr-profile-color,#7cc8e3);color:#fff;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.1)}#ui-datepicker-div{background:#f5f5f5;border:1px solid #dfdfdf;margin-top:5px}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%!important}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #7e8993;border-top:0;background:#fff;clip:rect(0,0,0,0);-webkit-clip-path:inset(100% 100%);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;-webkit-clip-path:none;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;line-height:26px;min-height:26px;border:1px solid #7e8993;border-radius:3px;background:#fff url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E") no-repeat right 5px top 55%;background-size:16px 16px;background-clip:padding-box;color:#444;text-decoration:none;white-space:nowrap}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{font-family:dashicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;font-size:18px;line-height:18px;cursor:pointer;z-index:10;text-shadow:0 1px 0 hsla(0,0%,100%,.8);color:#9b9b9b;text-align:center;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:4px;right:26px;display:block;width:18px;height:18px}.chosen-container-single .chosen-single abbr:hover{color:#333}.chosen-container-single .chosen-single abbr:before{content:"\F335"}.chosen-container-single .chosen-single abbr:hover{color:red}.chosen-container-single.chosen-disabled .chosen-single abbr,.chosen-container-single .chosen-single div{display:none}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px!important;width:100%;height:auto;min-height:10px;outline:0;border:1px solid #7e8993;background:url(../img/chosen-sprite.png) no-repeat 100% -20px;font-size:1em;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 3px 3px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);-webkit-clip-path:inset(100% 100%);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#0071a1;color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #7e8993;background:#fff;cursor:text;border-radius:3px}.chosen-container-multi .search-choice-close{transition-property:color}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0!important;width:25px;height:25px;min-height:25px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#999;font-size:100%;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #0071a1;max-width:100%;border-radius:3px;color:#0071a1;background:#f3f5f6;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:dashicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;font-size:18px;line-height:18px;cursor:pointer;z-index:10;text-shadow:0 1px 0 hsla(0,0%,100%,.8);color:#9b9b9b;text-align:center;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;width:18px;height:18px;top:1px;right:0;display:block;color:inherit}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#333}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\F335"}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:red}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #0071a1;box-shadow:0 0 0 1px #0071a1}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #7e8993;border-bottom-right-radius:0;border-bottom-left-radius:0}.chosen-container-active .chosen-choices{box-shadow:0 0 0 1px #0071a1;border:1px solid #0071a1}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{cursor:default}.chosen-disabled .chosen-single{background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23a0a5aa%22%2F%3E%3C%2Fsvg%3E")}.chosen-disabled .chosen-choices,.chosen-disabled .chosen-single{cursor:default;color:#a0a5aa;background-color:#f7f7f7;border-color:#ddd}.chosen-disabled .chosen-choices li.search-choice{color:#a0a5aa;border-color:#ddd;background-color:#f7f7f7}.chosen-disabled .chosen-choices li.search-choice .search-choice-close{cursor:default;color:#a0a5aa}.chosen-disabled .chosen-choices li.search-choice .search-choice-close:hover{color:inherit}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px!important;background:url(../img/chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:1.5dppx),only screen and (min-resolution:144dpi){.chosen-container-single .chosen-search input[type=text],.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span,.chosen-rtl .chosen-search input[type=text]{background-image:url(../img/chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}#tr-seo-preview h4{margin:0}#tr-seo-preview p{margin-top:0}.tr-seo-preview-google{max-width:600px;display:block}#tr-seo-preview-google-desc-orig,#tr-seo-preview-google-title-orig{display:none}#tr-seo-preview-google-title{display:block;color:#1a0dab;cursor:pointer;font-family:arial,sans-serif;font-size:20px;line-height:1.3em;font-weight:400;height:auto;list-style-image:none;list-style-position:outside;list-style-type:none;text-align:left;text-decoration:none;visibility:visible;white-space:nowrap;width:auto;zoom:1}#tr-seo-preview-google-title:hover{text-decoration:underline}#tr-seo-preview-google-url{color:#006621;font-size:16px;padding-top:1px;line-height:1.5;font-style:normal;margin-bottom:1px;white-space:nowrap}#tr-seo-preview-google-desc,#tr-seo-preview-google-url{font-family:arial,sans-serif;font-weight:400;list-style-image:none;list-style-position:outside;list-style-type:none;text-align:left;visibility:visible;zoom:1}#tr-seo-preview-google-desc{color:#545454;display:inline;font-size:14px;height:auto;line-height:1.57;width:auto}#dev-icon-search{width:100%;max-width:100%}#debug-icon-list{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-column-gap:10px;grid-row-gap:10px;margin:20px 0 0;padding:0}#debug-icon-list .tr-debug-icon{height:auto;width:auto}#debug-icon-list em,#debug-icon-list strong{margin:6px 0;display:block}#debug-icon-list li{list-style:none;border:1px solid #ccd0d4;border-radius:4px;text-align:center;font-size:12px;padding:10px}#debug-icon-list li i:before{font-size:42px;display:block}#tr_page_type_toggle{text-align:center;clear:both;padding:15px 12px 10px;box-sizing:border-box;width:100%}#tr_page_type_toggle:after{content:"";display:block;clear:both}#tr_page_type_toggle a{text-decoration:none;width:50%;vertical-align:middle;box-sizing:border-box;outline:none}#tr_page_type_toggle a:first-child{border-radius:3px 0 0 3px}#tr_page_type_toggle a:last-child{border-radius:0 3px 3px 0;border-left:none}#builderSelectRadio{display:none}.admin-color-default .tr-control-icon-clone:hover,.admin-color-default .tr-maxlength span{color:#0073aa}.admin-color-default .chosen-container .chosen-results li.highlighted{background-color:#0073aa}.admin-color-default .chosen-container-multi .chosen-choices li.search-choice{border-color:#0073aa;color:#0073aa}.admin-color-default .chosen-container-active .chosen-choices,.admin-color-default .chosen-container-active .chosen-single{border-color:#0073aa;box-shadow:0 0 0 1px #0073aa}.admin-color-default .tr-toggle-box input:checked+label{background-color:#0073aa}.admin-color-default .tr-toggle-box label:focus{box-shadow:0 0 3px rgba(0,115,170,.8)}.admin-color-default .tr-link-search-result:active,.admin-color-default .tr-link-search-result:focus,.admin-color-default .tr-link-search-result:hover{background:#0073aa}.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs a{color:#0073aa}.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs .active,.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs li:active,.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs li:focus,.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs li:hover{border-left:3px solid #0073aa}.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs li:focus .tr-tab-link>.tab-icon,.admin-color-default .tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:#0073aa}.admin-color-light .tr-control-icon-clone:hover,.admin-color-light .tr-maxlength span{color:#04a4cc}.admin-color-light .chosen-container .chosen-results li.highlighted{background-color:#04a4cc}.admin-color-light .chosen-container-multi .chosen-choices li.search-choice{border-color:#04a4cc;color:#04a4cc}.admin-color-light .chosen-container-active .chosen-choices,.admin-color-light .chosen-container-active .chosen-single{border-color:#04a4cc;box-shadow:0 0 0 1px #04a4cc}.admin-color-light .tr-toggle-box input:checked+label{background-color:#04a4cc}.admin-color-light .tr-toggle-box label:focus{box-shadow:0 0 3px rgba(4,164,204,.8)}.admin-color-light .tr-link-search-result:active,.admin-color-light .tr-link-search-result:focus,.admin-color-light .tr-link-search-result:hover{background:#04a4cc}.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs a{color:#04a4cc}.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs .active,.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs li:active,.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs li:focus,.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs li:hover{border-left:3px solid #04a4cc}.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs li:focus .tr-tab-link>.tab-icon,.admin-color-light .tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:#04a4cc}.admin-color-ectoplasm .tr-control-icon-clone:hover,.admin-color-ectoplasm .tr-maxlength span{color:#a3b745}.admin-color-ectoplasm .chosen-container .chosen-results li.highlighted{background-color:#a3b745}.admin-color-ectoplasm .chosen-container-multi .chosen-choices li.search-choice{border-color:#a3b745;color:#a3b745}.admin-color-ectoplasm .chosen-container-active .chosen-choices,.admin-color-ectoplasm .chosen-container-active .chosen-single{border-color:#a3b745;box-shadow:0 0 0 1px #a3b745}.admin-color-ectoplasm .tr-toggle-box input:checked+label{background-color:#a3b745}.admin-color-ectoplasm .tr-toggle-box label:focus{box-shadow:0 0 3px rgba(163,183,69,.8)}.admin-color-ectoplasm .tr-link-search-result:active,.admin-color-ectoplasm .tr-link-search-result:focus,.admin-color-ectoplasm .tr-link-search-result:hover{background:#a3b745}.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs a{color:#a3b745}.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs .active,.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs li:active,.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs li:focus,.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs li:hover{border-left:3px solid #a3b745}.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs li:focus .tr-tab-link>.tab-icon,.admin-color-ectoplasm .tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:#a3b745}.admin-color-coffee .tr-control-icon-clone:hover,.admin-color-coffee .tr-maxlength span{color:#c7a589}.admin-color-coffee .chosen-container .chosen-results li.highlighted{background-color:#c7a589}.admin-color-coffee .chosen-container-multi .chosen-choices li.search-choice{border-color:#c7a589;color:#c7a589}.admin-color-coffee .chosen-container-active .chosen-choices,.admin-color-coffee .chosen-container-active .chosen-single{border-color:#c7a589;box-shadow:0 0 0 1px #c7a589}.admin-color-coffee .tr-toggle-box input:checked+label{background-color:#c7a589}.admin-color-coffee .tr-toggle-box label:focus{box-shadow:0 0 3px rgba(199,165,137,.8)}.admin-color-coffee .tr-link-search-result:active,.admin-color-coffee .tr-link-search-result:focus,.admin-color-coffee .tr-link-search-result:hover{background:#c7a589}.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs a{color:#c7a589}.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs .active,.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs li:active,.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs li:focus,.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs li:hover{border-left:3px solid #c7a589}.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs li:focus .tr-tab-link>.tab-icon,.admin-color-coffee .tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:#c7a589}.admin-color-midnight .tr-control-icon-clone:hover,.admin-color-midnight .tr-maxlength span{color:#e14d43}.admin-color-midnight .chosen-container .chosen-results li.highlighted{background-color:#e14d43}.admin-color-midnight .chosen-container-multi .chosen-choices li.search-choice{border-color:#e14d43;color:#e14d43}.admin-color-midnight .chosen-container-active .chosen-choices,.admin-color-midnight .chosen-container-active .chosen-single{border-color:#e14d43;box-shadow:0 0 0 1px #e14d43}.admin-color-midnight .tr-toggle-box input:checked+label{background-color:#e14d43}.admin-color-midnight .tr-toggle-box label:focus{box-shadow:0 0 3px rgba(225,77,67,.8)}.admin-color-midnight .tr-link-search-result:active,.admin-color-midnight .tr-link-search-result:focus,.admin-color-midnight .tr-link-search-result:hover{background:#e14d43}.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs a{color:#e14d43}.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs .active,.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs li:active,.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs li:focus,.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs li:hover{border-left:3px solid #e14d43}.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs li:focus .tr-tab-link>.tab-icon,.admin-color-midnight .tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:#e14d43}.admin-color-ocean .tr-control-icon-clone:hover,.admin-color-ocean .tr-maxlength span{color:#9ebaa0}.admin-color-ocean .chosen-container .chosen-results li.highlighted{background-color:#9ebaa0}.admin-color-ocean .chosen-container-multi .chosen-choices li.search-choice{border-color:#9ebaa0;color:#9ebaa0}.admin-color-ocean .chosen-container-active .chosen-choices,.admin-color-ocean .chosen-container-active .chosen-single{border-color:#9ebaa0;box-shadow:0 0 0 1px #9ebaa0}.admin-color-ocean .tr-toggle-box input:checked+label{background-color:#9ebaa0}.admin-color-ocean .tr-toggle-box label:focus{box-shadow:0 0 3px rgba(158,186,160,.8)}.admin-color-ocean .tr-link-search-result:active,.admin-color-ocean .tr-link-search-result:focus,.admin-color-ocean .tr-link-search-result:hover{background:#9ebaa0}.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs a{color:#9ebaa0}.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs .active,.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs li:active,.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs li:focus,.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs li:hover{border-left:3px solid #9ebaa0}.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs li:focus .tr-tab-link>.tab-icon,.admin-color-ocean .tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:#9ebaa0}.admin-color-sunrise .tr-control-icon-clone:hover,.admin-color-sunrise .tr-maxlength span{color:#dd823b}.admin-color-sunrise .chosen-container .chosen-results li.highlighted{background-color:#dd823b}.admin-color-sunrise .chosen-container-multi .chosen-choices li.search-choice{border-color:#dd823b;color:#dd823b}.admin-color-sunrise .chosen-container-active .chosen-choices,.admin-color-sunrise .chosen-container-active .chosen-single{border-color:#dd823b;box-shadow:0 0 0 1px #dd823b}.admin-color-sunrise .tr-toggle-box input:checked+label{background-color:#dd823b}.admin-color-sunrise .tr-toggle-box label:focus{box-shadow:0 0 3px rgba(221,130,59,.8)}.admin-color-sunrise .tr-link-search-result:active,.admin-color-sunrise .tr-link-search-result:focus,.admin-color-sunrise .tr-link-search-result:hover{background:#dd823b}.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs a{color:#dd823b}.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs .active,.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs li:active,.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs li:focus,.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs li:hover{border-left:3px solid #dd823b}.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs li:focus .tr-tab-link>.tab-icon,.admin-color-sunrise .tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:#dd823b}.admin-color-blue .tr-control-icon-clone:hover,.admin-color-blue .tr-maxlength span{color:#096484}.admin-color-blue .chosen-container .chosen-results li.highlighted{background-color:#096484}.admin-color-blue .chosen-container-multi .chosen-choices li.search-choice{border-color:#096484;color:#096484}.admin-color-blue .chosen-container-active .chosen-choices,.admin-color-blue .chosen-container-active .chosen-single{border-color:#096484;box-shadow:0 0 0 1px #096484}.admin-color-blue .tr-toggle-box input:checked+label{background-color:#096484}.admin-color-blue .tr-toggle-box label:focus{box-shadow:0 0 3px rgba(9,100,132,.8)}.admin-color-blue .tr-link-search-result:active,.admin-color-blue .tr-link-search-result:focus,.admin-color-blue .tr-link-search-result:hover{background:#096484}.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs a{color:#096484}.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs .active,.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs li:active,.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs li:focus,.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs li:hover{border-left:3px solid #096484}.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs .active .tr-tab-link>.tab-icon,.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs li:active .tr-tab-link>.tab-icon,.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs li:focus .tr-tab-link>.tab-icon,.admin-color-blue .tr-tabbed-box .tr-tab-layout-tabs li:hover .tr-tab-link>.tab-icon{color:#096484}.wp-admin select:focus{border-color:var(--tr-profile-color,#007cba);color:var(--tr-profile-color-dark,#016087);box-shadow:0 0 0 1px var(--tr-profile-color,#007cba)}.wp-admin select:hover{color:var(--tr-profile-color,#007cba)} -------------------------------------------------------------------------------- /wordpress/assets/typerocket/img/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/wordpress/assets/typerocket/img/chosen-sprite.png -------------------------------------------------------------------------------- /wordpress/assets/typerocket/img/chosen-sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TypeRocket/typerocket/929b036bc423b3938ad3512c9d9f7f3f892dcc54/wordpress/assets/typerocket/img/chosen-sprite@2x.png -------------------------------------------------------------------------------- /wordpress/assets/typerocket/js/builder.ext.js: -------------------------------------------------------------------------------- 1 | !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=1)}({1:function(e,t,n){e.exports=n("rE4h")},rE4h:function(e,t){var n=wp.editPost,r=(n.PluginSidebar,n.PluginSidebarMoreMenuItem,n.PluginDocumentSettingPanel),o=wp.components,i=(o.TextControl,o.Panel,o.PanelBody,o.PanelRow,wp.plugins.registerPlugin),c=wp.data,a=(c.withSelect,c.withDispatch,wp.i18n.__),l=window.location;i("plugin-document-setting-typerocket-builder",{icon:!1,render:function(){return React.createElement(r,{name:"typerocket-builder",title:"Editor",className:"typerocket-builder"},React.createElement("p",null,a("Click a link below to switch your current editor.","typerocket-domain")),React.createElement("p",null,React.createElement("i",{class:"dashicons dashicons-external"})," ",React.createElement("a",{href:"".concat(l,"&tr_builder=1")},a("Use Page Builder","typerocket-domain"))),React.createElement("p",null,React.createElement("i",{class:"dashicons dashicons-external"})," ",React.createElement("a",{href:"".concat(l,"&tr_builder=0")},a("Use Classic Editor","typerocket-domain"))))}})}}); -------------------------------------------------------------------------------- /wordpress/assets/typerocket/js/core.js: -------------------------------------------------------------------------------- 1 | !function(t){var e={};function r(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=t,r.c=e,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(a,n,function(e){return t[e]}.bind(null,n));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=0)}({"+x+w":function(t,e){jQuery.fn.selectText=function(){var t,e,r,a;t=document,e=this[0],r=void 0,a=void 0,t.body.createTextRange?((r=document.body.createTextRange()).moveToElementText(e),r.select()):window.getSelection&&(a=window.getSelection(),(r=document.createRange()).selectNodeContents(e),a.removeAllRanges(),a.addRange(r))},jQuery(document).ready((function(t){t(document).on("click",".tr-dev-field-function",(function(){t(this).selectText()}))}))},"/OfD":function(t,e,r){"use strict";function a(t,e){for(var r=0;rt;)e=this.templateTagKeys[t],a=this.templateTagValues[t],this.templateString=this.templateString.replace(new RegExp(e),a),t++}}])&&a(e.prototype,r),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),i=r("82zG"),o=r("jEt8"),s=window.jQuery,l=wp.i18n.__;window.Booyah=n,window.tr_apply_repeater_callbacks=i.b,window.tr_hash=i.e,r("IKsQ"),r("gmCF"),r("op53"),r("+x+w"),r("Yl8d"),r("v25N"),r("1KxY"),r("ifTW"),r("fLF1"),r("PAKe"),r("C1Vx"),r("bNGw"),s((function(){var t=s("#tr_page_type_toggle"),e=s(document);t.length>0&&(s("#tr_page_builder_control").hasClass("builder-active")?s("#builderStandardEditor").hide():s("#tr_page_builder").hide(),s(t).on("click","a",(function(t){var e,r,a;t.preventDefault(),a=s(this),r=s(a.siblings()[0]),e=s("#builderSelectRadio input")[1],a.addClass("builder-active button-primary"),r.removeClass("builder-active button-primary"),s(a.attr("href")).show(),s(r.attr("href")).hide(),"tr_page_builder_control"===a.attr("id")?s(e).attr("checked","checked"):(s(e).removeAttr("checked"),s("#content-html").click(),s("#content-tmce").click())})));var r=function(t){return t.closest(".tr-builder").first().children(".tr-frame-fields").first()},a=function(t){return r(t)};e.on("click",".tr-builder-add-button",(function(t){var e,r;t.preventDefault(),r=s(this).next(),e=s("
").addClass("tr-builder-select-overlay").on("click",(function(){s(this).remove(),s(".tr-builder-select").fadeOut()})),s("body").append(e),r.fadeIn()})),e.on("click keyup",".tr-builder-component-control",(function(t){var e,a,n;t.keyCode&&13!==t.keyCode||(t.preventDefault(),s(this).focus().parent().children().removeClass("active"),s(this).addClass("active"),n=s(this).index(),(a=r(s(this)).children()).removeClass("active"),e=a[n],s(e).addClass("active"))})),e.on("click keydown",".tr-clone-builder-component",(function(t){var e,r,n,c;if((!t.keyCode||13===t.keyCode)&&(t.preventDefault(),confirm(l("Clone component?","typerocket-domain"))))try{n=s(this).parent(),t.stopPropagation(),n.parent().children().removeClass("active"),c=n.index(),(r=a(s(this)).children()).removeClass("active");var d=(e=s(r[c])).clone(),u=n.clone(),p=Object(o.c)(d);Object(i.g)(d,p),Object(o.b)(e,d),s(e).after(d),d.addClass("active"),n.after(u),u.addClass("active").attr("data-tr-component-tile",d.attr("data-tr-component")).focus(),Object(o.d)(d)}catch(t){alert(l("Cloning is not available for this component.","typerocket-domain"))}})),e.on("click keydown",".tr-remove-builder-component",(function(t){var e,r,n;t.keyCode&&13!==t.keyCode||(t.preventDefault(),confirm(l("Remove component?","typerocket-domain"))&&((r=s(this).parent()).parent().children().removeClass("active"),n=s(this).parent().index(),e=a(s(this)).children()[n],s(e).remove(),r.remove()))})),e.on("click keydown",".tr-builder-select-option",(function(t){var e,a,n,o,l;if(t.keyCode&&13!==t.keyCode)t.preventDefault();else if((e=(a=s(this)).closest(".tr-builder-select").first()).fadeOut(),s(".tr-builder-select-overlay").remove(),!a.hasClass("disabled")){var c=r(a.parent()),d=a.attr("data-group"),u=(a.attr("data-thumbnail"),a.closest(".tr-builder-controls").first().children(".tr-components").first());o=a.attr("data-value"),a.addClass("disabled"),l=trHelpers.site_uri+"/tr-api/builder/"+d+"/"+o,n=e.attr("data-tr-group"),s.ajax({url:l,method:"POST",dataType:"html",data:{form_group:n,_tr_nonce_form:window.trHelpers.nonce},success:function(t){var e,r,n,o,l,d;for(l=(t=s(t)).first(),d=t.last(),r=c.children(".active"),e=u.children(".active"),c.children().removeClass("active"),u.children().removeClass("active"),n={data:l,tile:d.addClass("active")},o=0;TypeRocket.builderCallbacks.length>o;)"function"==typeof TypeRocket.builderCallbacks[o]&&TypeRocket.builderCallbacks[o](n),o++;e.length>0&&r.length>0?(n.data.insertAfter(r).addClass("active"),e.after(n.tile)):(n.data.prependTo(c).addClass("active"),u.prepend(n.tile)),Object(i.b)(n.data),a.removeClass("disabled")},error:function(t){a.val("Try again - Error "+t.status).removeAttr("disabled","disabled")}})}}))}))},0:function(t,e,r){r("/OfD"),t.exports=r("vvnB")},"0mxQ":function(t,e,r){"use strict";r.d(e,"e",(function(){return o})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return l})),r.d(e,"d",(function(){return c})),r.d(e,"a",(function(){return d}));var a=r("82zG");function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=wp.i18n.__;function o(t,e,r,n,o,s){var l,c,d,u,p,f,h,m;if(t)for(var v in f=t[o.items||"items"],h=Object(a.d)(t[o.count||"count"]||f.length),r.html(""),r.append('
  • '+i("Results:","typerocket-domain")+" "+h+"
  • "),d=[],f)l=(c=f[v])[o.id||"id"],u=c[o.title||"title"]||l,m=c[o.url||"url"]||null,s.secure||(u=Object(a.d)(u)),s.secure||(l=Object(a.d)(l)),p=(p=jQuery('
  • '+u+"
  • ")).on("click keyup",(function(t){t.preventDefault();var r=!1,a=!1;t.keyCode&&(r=!0,a=13===t.keyCode),r&&!a||e(n,jQuery(this),s)})),r.append(p),d.push(p)}function s(t,e,r){var a,n,o,s,l;n=e.attr("data-id"),o=e.find("span").html(),s=i("remove","typerocket-domain"),l=jQuery('
  • '+o+'
  • '),r.selectList.append(l),t.focus(),null!=r&&null!==(a=r.config)&&void 0!==a&&a.keepSearch||(t.val(""),e.parent().html(""))}function l(t,e,r){var a,n,o,s;n=e.data("id"),o=e.find("span").html(),s=i("remove","typerocket-domain"),e.parent().prev().html(""+o+' '),t.next().val(n).trigger("change"),t.focus(),null!=r&&null!==(a=r.config)&&void 0!==a&&a.keepSearch||(t.val(""),e.parent().html(""))}function c(t){return t&&(t=JSON.parse(t)),void 0!==n(t)&&t||(t={}),t}function d(t){return t&&(t=JSON.parse(t)),void 0!==n(t)&&t||(t={}),t}},"1KxY":function(t,e,r){"use strict";r.r(e);var a,n=r("0mxQ"),i=(r("82zG"),wp.i18n.__);(a=jQuery).fn.TypeRocketSearch=function(t,e,r,a,o){var s,l,c,d;if(null==t&&(t="any"),null==e&&(e=""),null==r&&(r=""),d=!0,""!==this.val()){var u=(c=this).next().next().next(),p=Object(n.a)(c.attr("data-search-config"));return this[0].addEventListener("search",(function(t){u.html("")})),u.html(""),u.append('
  • '+i("Searching...","typerocket-domain")+"
  • "),l=this.val().trim(),s="post_type="+t+"&s="+encodeURI(l),e&&(s+="&taxonomy="+e),a||(a=trHelpers.site_uri+"/tr-api/search?"+s),a.startsWith(trHelpers.site_uri)||(d=!1),jQuery.post(a,{_method:"POST",_tr_nonce_form:window.trHelpers.nonce,model:r,post_type:t,taxonomy:e,s:l},(function(t){Object(n.e)(t,n.c,u,c,o,{secure:d,config:p})}),"json"),this}},a(document).on("keydown",".tr-search-single .tr-search-input",(function(t){if(t.keyCode&&9===t.keyCode){var e=a(this).siblings(".tr-search-results").find(".tr-search-result").first();e.length>0&&(t.preventDefault(),e.focus())}else{var r,i,o,s,l,c;if(i=a(this),o=a(this).data("posttype"),r=a(this).data("taxonomy"),s=a(this).data("model"),l=a(this).data("endpoint"),c=Object(n.d)(a(this).attr("data-map")),t.keyCode&&27===t.keyCode)return i.focus().val(""),void a(this).siblings(".tr-search-results").html("");t.keyCode&&13===t.keyCode&&(t.preventDefault(),t.stopPropagation()),window.trUtil.delay((function(){i.TypeRocketSearch(o,r,s,l,c)}),250)}})),a(document).on("click keyup",".tr-search-single .tr-search-chosen-item-remove",(function(t){if(t.preventDefault(),!t.keyCode||13===t.keyCode){var e=a(this).parent();e.prev().val("").trigger("change"),e.prev().prev().focus(),e.text(i("No selection... Search and click on a result","typerocket-domain"))}}))},"82zG":function(t,e,r){"use strict";function a(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,(function(t){return e[t]}))}function d(t){var e,r;return r=a((e=o(t)).val()).length,parseInt(e.attr("maxlength"))-r}function u(t,e){e?t.addClass("disabled").attr("value",t.attr("data-limit")):t.removeClass("disabled").attr("value",t.attr("data-add"))}function p(t){for(var e=0;TypeRocket.repeaterCallbacks.length>e;)"function"==typeof TypeRocket.repeaterCallbacks[e]&&TypeRocket.repeaterCallbacks[e](t),e++;return t}function f(t,e){var r=function(t,e,r){return t.replace(r,e)},a=s(),n=t.find(".tr-repeater-group-template [data-tr-name]"),i=t.find(".dev .field span"),l=t.find("[name]"),c=t.find("[data-tr-component]"),d=t.find("[data-tr-name]"),u=t.find("[data-tr-group]"),f=t.find('[id^="tr_field_"],.tr-form-field-help[id]'),h=t.find("[data-tr-context]"),m=t.find("[data-tr-field]"),v=t.find(".tr-label[for], .tr-toggle-box-label[for]");o(h).each((function(){var t=r(o(this).attr("data-tr-context"),a,e);o(this).attr("data-tr-context",t)})),t.attr("data-tr-component")&&t.attr("data-tr-component","tr-clone-hash-parent-"+s()),o(c).each((function(){var e=o(this).attr("data-tr-component"),r="tr-clone-hash-"+s(),a=t.find("[data-tr-component-tile="+e+"]").first();o(this).attr("data-tr-component",r),console.log(r),a&&a.attr("data-tr-component-tile",r)})),o(f).each((function(){var t=r(o(this).attr("id"),a,e);o(this).attr("id",t)})),o(v).each((function(){var t=r(o(this).attr("for"),a,e),n=o(this).attr("aria-describedby")||!1;o(this).attr("for",t),n&&(t=r(n,a,e),o(this).attr("aria-describedby",t))})),o(m).each((function(){var t=r(o(this).attr("data-tr-field"),a,e);o(this).attr("data-tr-field",t)})),o(i).each((function(){var t=r(o(this).html(),a,e);o(this).html(t)})),o(u).each((function(){var t=r(o(this).attr("data-tr-group"),a,e);o(this).attr("data-tr-group",t)})),o(l).each((function(){var t=r(o(this).attr("name"),a,e);o(this).attr("name",t),o(this).attr("data-tr-name",null)})),o(d).each((function(){var t=r(o(this).attr("data-tr-name"),a,e);o(this).attr("name",t),o(this).attr("data-tr-name",null)})),o(n).each((function(){o(this).attr("data-tr-name",o(this).attr("name")),o(this).attr("name",null)})),p(t)}},C1Vx:function(t,e){jQuery(document).ready((function(t){var e,r,a,n;n="",e="",r=t("#tr-seo-preview-google-desc-orig").text(),a=t("#tr-seo-preview-google-title-orig").text(),t(".tr-js-seo-title-field").on("keyup",(function(){var e;n=t(this).val().substring(0,60),(e=t("#tr-seo-preview-google-title")).text(n),n.length>0?e.text(n):e.text(a)})),t(".tr-js-seo-desc-field").on("keyup",(function(){(e=t(this).val().substring(0,300)).length>0?t("#tr-seo-preview-google-desc").text(e):t("#tr-seo-preview-google-desc").text(r)})),t("#tr_seo_redirect_unlock").on("click",(function(e){t(".tr-js-seo-redirect-field").removeAttr("readonly").focus(),t(this).fadeOut(),e.preventDefault()}))}))},IKsQ:function(t,e){var r;window.trUtil={},window.trUtil.delay=(r=0,function(t,e){clearTimeout(r),r=setTimeout(t,e)}),window.trUtil.list_filter=function(t,e){var r,a,n;for(r=document.querySelector(t).value.toUpperCase(),a=document.querySelectorAll(e),n=0;n-1?a[n].style.display="":a[n].style.display="none"},window.trUtil.makeUrlHttpsMaybe=function(t){return"https:"===window.location.protocol?t.replace("http://","https://"):t},"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),a=1;a',p='',t(a).val(r.id).trigger("change"),t(e).parent().next().html(p+f)})),wp.media.frames.image_frame=o,wp.media.frames.image_frame.open()})),t(document).on("click",".tr-file-picker-button",(function(){var e,a,n,i;e=t(this),a=t(this).parent().prev()[0],i={title:r("Select a File","typerocket-domain"),button:{text:r("Use File","typerocket-domain")},library:{type:e.data("type")},multiple:!1},n=wp.media(i),i.library.type&&(n.uploader.options.uploader.params.allowed_mime_types=i.library.type),n.on("select",(function(){var r,i;i=''+r.url+"",t(a).val(r.id).trigger("change"),t(e).parent().next().html(i)})),wp.media.frames.file_frame=n,wp.media.frames.file_frame.open()})),t(document).on("click",".tr-image-picker-clear, .tr-file-picker-clear",(function(){var e,r;e=t(this),r=t(this).parent().prev()[0],t(r).val("").trigger("change"),t(e).parent().next().html("")})),t(document).on("click",".tr-image-bg-picker-button",(function(){var e,a,n,i,o,s;e=t(this),a=t(this).parent().prev()[0],n=n||"full",s=r("Select an Image","typerocket-domain"),i=r("Use Image","typerocket-domain"),(o=wp.media({title:s,button:{text:i},library:{type:"image"},multiple:!1})).uploader.options.uploader.params.allowed_mime_types="image",o.on("select",(function(){var r,i,s,l,c,d,u;s=t(e),r=o.state().get("selection").first().toJSON(),d=s.data("size")?s.data("size"):n,console.log(r),void 0!==r.sizes?(void 0===r.sizes[d]&&(d=n),void 0===r.sizes[d]&&(d="full"),u=r.sizes[d].url,l=r.sizes[d].height,c=r.sizes[d].width):(u=r.url,l="",c=""),i=window.trUtil.makeUrlHttpsMaybe(u),t(a).val(r.id).trigger("change"),t(a).parent().attr("style","--tr-image-field-bg-src: url(".concat(i,");")),t(a).siblings(".tr-position-image").find(".tr-image-background-placeholder").first().html('')})),wp.media.frames.image_frame=o,wp.media.frames.image_frame.open()})),t(document).on("click",".tr-image-bg-picker-clear",(function(){var e,r;e=t(this),r=t(this).parent().prev()[0],t(r).val("").trigger("change"),t(r).parent().attr("style","--tr-image-field-bg-src: transparent;"),t(e).parent().next().children().first().html("")})),t(document).on("click",".tr-image-background-placeholder img",(function(e){var r=t(this).offset().left,a=t(this).offset().top,n=t(this).width(),i=t(this).height(),o=e.pageX-r,s=e.pageY-a,l=Math.round(100*o/n),c=Math.round(100*s/i),d=t(this).parent(),u=d.parent().siblings(".tr-position-inputs").first();d.parent().attr("style","--tr-image-field-bg-x: ".concat(l,"%; --tr-image-field-bg-y: ").concat(c,"%;")),u.find(".tr-pos-y").first().val(c),u.find(".tr-pos-x").first().val(l)})),t(document).on("keyup input",".tr-pos-x",(function(e){var r=t(this);(""===e.target.value||e.target.value<1)&&(e.target.value=0),e.target.value>100&&(e.target.value=100),e.target.value=parseInt(e.target.value,10),window.trUtil.delay((function(){var t=r.parent().parent().find(".tr-pos-y").first().val(),e=r.val();r.parent().parent().siblings(".tr-position-image").first().attr("style","--tr-image-field-bg-x: ".concat(e,"%; --tr-image-field-bg-y: ").concat(t,"%;"))}),350)})),t(document).on("keyup input",".tr-pos-y",(function(e){var r=t(this);(""===e.target.value||e.target.value<1)&&(e.target.value=0),e.target.value>100&&(e.target.value=100),e.target.value=parseInt(e.target.value,10),window.trUtil.delay((function(){var t=r.parent().parent().find(".tr-pos-x").first().val(),e=r.val();r.parent().parent().siblings(".tr-position-image").first().attr("style","--tr-image-field-bg-x: ".concat(t,"%; --tr-image-field-bg-y: ").concat(e,"%;"))}),350)})),t(document).on("click",".tr-gallery-picker-button",(function(){var e,a,n,i,o,s;e=t(this),a=t(this).parent().next()[0],o=r("Select Images","typerocket-domain"),n=r("Use Images","typerocket-domain"),s=r("Edit","typerocket-domain"),(i=wp.media({title:o,button:{text:n},library:{type:"image"},multiple:"toggle"})).uploader.options.uploader.params.allowed_mime_types="image",i.on("select",(function(){var r,n,o,l,c,d,u,p,f,h,m,v;for(c=(r=i.state().get("selection").toJSON()).length,o=0;o',l=t(''),t(l).append(n.val(r[o].id).attr("name",n.attr("name")+"[]")).trigger("change"),t(a).append(l),o++})),wp.media.frames.gallery_frame=i,wp.media.frames.gallery_frame.open()})),t(document).on("click",".tr-gallery-picker-clear",(function(){var e;t(this),e=t(this).parent().next()[0],confirm(r("Remove all images?","typerocket-domain"))&&t(e).html("")})),t(document).on("click",".tr-gallery-item",(function(e){t(this).focus()})),t(document).on("click",".tr-gallery-remove",(function(e){e.preventDefault(),t(this).parent().remove()}))}))},Yl8d:function(t,e){var r=wp.i18n.__;jQuery.typerocketHttp={get:function(t,e){this.send("GET",t,e)},post:function(t,e){this.send("POST",t,e)},put:function(t,e){this.send("PUT",t,e)},delete:function(t,e){this.send("DELETE",t,e)},send:function(t,e,r,a,n,i){null==a&&(a=!0),a&&(e=this.tools.addTrailingSlash(e)),r instanceof URLSearchParams&&(r.append("_tr_ajax_request","1"),r=r.toString()),this.tools.ajax({method:t,data:r,url:e},{success:n,error:i})},tools:{entityMap:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},stripTrailingSlash:function(t){return"/"===t.substr(-1)?t.substr(0,t.length-1):t},addTrailingSlash:function(t){return t.indexOf(".php")?t:t.replace(/\/?(\?|#|$)/,"/$1")},escapeHtml:function(t){var e=this;return String(t).replace(/[&<>"'`=\/]/g,(function(t){return e.entityMap[t]}))},ajax:function(t,e){var a,n;n=this,a={method:"GET",data:{},dataType:"json",success:function(t){t.redirect?window.location=t.redirect:n.checkData(t,3500,e.success,r("Success","typerocket-domain"))},error:function(t,a,i){if(t.responseText){var o=JSON.parse(t.responseText);n.checkData(o,5500,e.error,r("Error","typerocket-domain"))}else alert(r("Your request had an error.","typerocket-domain")+t.status+" - "+i)}},jQuery.extend(a,t),jQuery.ajax(a)},checkData:function(t,e,r,a){var n,i,o,s,l,c,d,u,p,f;for(d=0,this;TypeRocket.httpCallbacks.length>d;)"function"==typeof TypeRocket.httpCallbacks[d]&&TypeRocket.httpCallbacks[d](t),d++;p=t.message?t.message:a,!1!==(null===(s=f=null!==(n=null==t||null===(i=t.data)||void 0===i||null===(o=i._tr)||void 0===o?void 0:o.flashSettings)&&void 0!==n?n:{})||void 0===s?void 0:s.escapeHtml)&&(p=this.escapeHtml(p)),u=this.escapeHtml(t.messageType),e=null!==(l=null===(c=f)||void 0===c?void 0:c.delay)&&void 0!==l?l:e,!0===t.flash&&jQuery("body").prepend(jQuery('
    '+p+"
    ").fadeIn(200).delay(e).fadeOut(200,(function(){jQuery(this).remove()}))),void 0!==r&&r(t)}}}},bNGw:function(t,e){var r;(r=jQuery)(document).on("keyup",".tr-toggle-box-label",(function(t){13===t.keyCode&&r(this).trigger("click")}))},fLF1:function(t,e,r){"use strict";r.r(e);var a=r("82zG");jQuery(document).ready((function(t){t(document).on("click",".tr-matrix-add-button",(function(e){var r,n,i,o,s,l,c,d;(i=t(this)).is(":disabled")||(l=i.attr("data-tr-group"),r=i.parent().parent().siblings(".tr-matrix-fields"),n=i.parent().prev(),o=i.val(),c=n.val(),i.attr("disabled","disabled").val("Adding..."),d=trHelpers.site_uri+"/tr-api/matrix/"+l+"/"+c,s=n.attr("data-group"),t.ajax({url:d,method:"POST",dataType:"html",data:{form_group:s,_tr_nonce_form:window.trHelpers.nonce},success:function(e){(e=t(e)).prependTo(r).hide().delay(10).slideDown(300).scrollTop("100%"),Object(a.b)(e),i.val(o).removeAttr("disabled","disabled")},error:function(t){i.val("Try again - Error "+t.status).removeAttr("disabled","disabled")}}))}))}))},gmCF:function(t,e,r){"use strict";r.r(e);var a=window.jQuery;function n(t,e,r){var n=function(t){var e=_.defaults({id:"tr-insert-image",title:"Insert Image",allowLocalEdits:!0,displaySettings:!0,displayUserSettings:!0,multiple:!1,type:"image"},wp.media.controller.Library.prototype.defaults);return wp.media.controller.Library.extend({defaults:_.defaults(t||{},e)})}(r),i=wp.media(_.defaults(t,{button:{text:"Select Image"},state:"tr-insert-image",states:[new n]}));return i.on("select",e),i.on("open",(function(){var t=i.state("tr-insert-image").get("selection");t.each((function(e){var r=wp.media.attachment(e.attributes.id);r.fetch(),t.remove(r?[r]:[])})),a("#my_file_group_field").find('input[type="hidden"]').each((function(){var e=a(this);if(e.val()){var r=wp.media.attachment(e.val());r.fetch(),t.add(r?[r]:[])}}))})),i}var i=wp.i18n.__;"undefined"!=typeof Redactor&&Redactor.add("plugin","wpmedia",{init:function(t){this.app=t,this.insertion=t.insertion,this.toolbar=t.toolbar,this.component=t.component,this.inspector=t.inspector},start:function(){this.toolbar.addButton("wpmedia",{title:"WordPress Media",api:"plugin.wpmedia.toggle"}).setIcon('')},toggle:function(){this._media()},_media:function(){var t=i("Select an Image","typerocket-domain"),e=i("Use Image","typerocket-domain"),r=this,a=n({title:t,button:{text:e},editable:!0,library:{type:"image"}},(function(t){var e=a.state(),n=e.get("selection").first(),i=n.toJSON(),o=e.display(n).toJSON(),s=[],l=o.size||"full",c="",d="";"undefined"===i.sizes[l]&&(l="full");var u=window.trUtil.makeUrlHttpsMaybe(i.sizes[l].url),p=window.trUtil.makeUrlHttpsMaybe(i.sizes.full.url),f=i.sizes[l].height,h=i.sizes[l].width,m=i.alt,v={left:"alignleft",right:"alignright",center:"aligncenter"};"undefined"!==v[o.align]&&s.push(v[o.align]),"custom"===o.link?(c=''),d=""):"file"===o.link?(c=''),d=""):"post"===o.link&&(c=''),d=""),r._insert('
    ').concat(c,'').concat(m,'').concat(d,"
    "))}),{});a.uploader.options.uploader.params.allowed_mime_types="image",a.open()},_insert:function(t){this.insertion.insertHtml(t)}})},ifTW:function(t,e,r){"use strict";r.r(e);var a,n=r("0mxQ"),i=wp.i18n.__;(a=jQuery).fn.TypeRocketLinks=function(t,e,r,o,s,l){var c,d,u,p,f;if(null==t&&(t="any"),null==e&&(e=""),null==r&&(r=""),p=!0,""!==this.val()){u=this;var h=Object(n.a)(a(this).attr("data-search-config"));return f=u.next(),this[0].addEventListener("search",(function(t){f.html("")})),f.html(""),f.append('
  • '+i("Searching...","typerocket-domain")+"
  • "),d=this.val().trim(),c="post_type="+t+"&s="+encodeURI(d),e&&(c+="&taxonomy="+e),o||(o=trHelpers.site_uri+"/tr-api/search?"+c),o.startsWith(trHelpers.site_uri)||(p=!1),jQuery.post(o,{_method:"POST",_tr_nonce_form:window.trHelpers.nonce,model:r,post_type:t,taxonomy:e,s:d},(function(t){var e=u.parent().next(),r=e.siblings(".tr-search-controls").find(".tr-field-hidden-input").first().attr("name");Object(n.e)(t,l,f,u,s,{secure:p,inputName:r,selectList:e,config:h})}),"json"),this}},a(document).on("click keyup",".tr-search-multiple .tr-search-chosen-item-remove",(function(t){if(t.preventDefault(),!t.keyCode||13===t.keyCode){var e=a(this).parent().siblings().first();e.length>0?e.focus():a(this).closest(".tr-search-selected-multiple").siblings(".tr-search-controls").find(".tr-search-input").first().focus(),a(this).parent().remove()}})),a(document).on("click",".tr-search-multiple .tr-search-chosen-item",(function(t){t.preventDefault(),a(this).focus()})),a(document).on("keydown",".tr-search-multiple .tr-search-input",(function(t){if(!t.keyCode||9!==t.keyCode){var e,r,i,o,s,l;if(r=a(this),i=a(this).attr("data-posttype"),e=a(this).attr("data-taxonomy"),o=a(this).attr("data-model"),s=a(this).attr("data-endpoint"),l=Object(n.d)(a(this).attr("data-map")),t.keyCode&&27===t.keyCode)return r.focus().val(""),void a(this).siblings(".tr-search-results").html("");window.trUtil.delay((function(){r.TypeRocketLinks(i,e,o,s,l,n.b)}),250),t.keyCode&&13===t.keyCode&&(t.preventDefault(),t.stopPropagation())}})),a(document).on("input",".tr-url-input",(function(t){var e,r,i,o,s,l,c;if(!t.keyCode||9!==t.keyCode)if(!(c=(r=a(this)).val())||c.startsWith("#")||c.startsWith("/"))r.next().html("");else{if(i=r.attr("data-posttype"),e=r.attr("data-taxonomy"),o=r.attr("data-model"),s=r.attr("data-endpoint"),l=Object(n.d)(r.attr("data-map")),t.keyCode&&27===t.keyCode)return r.focus().val(""),void r.siblings(".tr-search-results").html("");window.trUtil.delay((function(){r.TypeRocketLinks(i,e,o,s,l,(function(t,e,r){var a,n=e.attr("data-url");t.focus(),t.val(n),console.log(r),null!=r&&null!==(a=r.config)&&void 0!==a&&a.keepSearch||e.parent().html("")}))}),250),t.keyCode&&13===t.keyCode&&(t.preventDefault(),t.stopPropagation())}}))},jEt8:function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"c",(function(){return l})),r.d(e,"d",(function(){return d})),r.d(e,"b",(function(){return u}));var a=r("82zG"),n=wp.i18n.__,i=window.jQuery;function o(){var t=function(t){return i(t).closest(".tr-repeater-group").first()},e=function(t){return i(t).closest(".tr-repeater-fields").first()};i(document).on("click keydown",".tr-repeater-clone",(function(r){var o=this;if(!r.keyCode||13===r.keyCode){r.preventDefault();try{var c=t(this);if(s(c.data("limit"),e(this).children(),1))i(this).addClass("tr-shake"),setTimeout((function(){i(o).removeClass("tr-shake")}),400);else{var p=c.clone(),f=l(p);Object(a.g)(p,f),u(c,p),t(this).after(p),d(p),p.focus()}}catch(t){console.error(t),alert(n("Cloning is not available for this group.","typerocket-domain"))}}})),i(document).on("click keydown",".tr-repeater-fields.tr-repeater-confirm-remove .tr-repeater-remove",(function(t){t.keyCode&&13!==t.keyCode||confirm(n("Permanently Remove?","typerocket-domain"))||t.stopImmediatePropagation()})),i(document).on("click keydown",".tr-repeater-remove",(function(r){if(!r.keyCode||13===r.keyCode){r.preventDefault();var a=t(this),n=a.data("limit"),i=e(this);a.slideUp(300,(function(){a.remove();var t=i.children();s(n,t,0)}))}})),i(document).on("click keydown",".tr-repeater-collapse",(function(r){var a,n,i,o;r.keyCode&&13!==r.keyCode||(r.preventDefault(),a=t(this),n=e(this),o=a.hasClass("tr-repeater-group-collapsed"),i=a.hasClass("tr-repeater-group-expanded"),o||!i&&n.hasClass("tr-repeater-collapse")?(a.removeClass("tr-repeater-group-collapsed"),a.addClass("tr-repeater-group-expanded")):(a.removeClass("tr-repeater-group-expanded"),a.addClass("tr-repeater-group-collapsed")))})),i(document).on("click",".tr-repeater-action-add",(function(t){t.preventDefault(),c(i(this).parents(".tr-repeater").first(),(function(t,e){t.prependTo(e).scrollTop("100%").focus()}))})),i(document).on("click",".tr-repeater-action-add-append",(function(t){t.preventDefault(),c(i(this).parents(".tr-repeater").first(),(function(t,e){t.appendTo(e).scrollTop("100%").focus()}))})),i(document).on("click",".tr-repeater-action-collapse",(function(t){var e;e=i(this).parent().parent().next().next(),i(this).hasClass("tr-repeater-expanded")?(i(this).val(i(this).data("expand")),i(this).removeClass("tr-repeater-expanded").removeClass("tr-repeater-group-expanded")):(i(this).val(i(this).data("contract")),i(this).addClass("tr-repeater-expanded"),e.find("> .tr-repeater-group").removeClass("tr-repeater-group-collapsed")),e.hasClass("tr-repeater-collapse")?(e.toggleClass("tr-repeater-collapse"),e.find("> .tr-repeater-group").removeClass("tr-repeater-group-collapsed")):(e.toggleClass("tr-repeater-collapse"),e.find("> .tr-repeater-group").removeClass("tr-repeater-group-expanded")),t.preventDefault()})),i(document).on("click",".tr-repeater-action-clear",(function(t){if(confirm(n("Remove all items?","typerocket-domain"))){i(this).parent().parent().next().next().html("");var e=i(this).parent().prev().children();e.removeClass("disabled").attr("value",e.data("add"))}t.preventDefault()})),i(document).on("click",".tr-repeater-action-flip",(function(t){if(confirm(n("Flip order of all items?","typerocket-domain"))){var e=i(this).parent().parent().next().next();e.children().each((function(t,r){e.prepend(r)}))}t.preventDefault()}))}function s(t,e,r){var n=e.length,i=e.first().parents(".tr-repeater").first(),o=i.children(".tr-repeater-action-add-button"),s=i.children(".controls").find(".tr-repeater-action-add-button");if(s.length>0){var l=n+r>=t;Object(a.a)(s,l),Object(a.a)(o,l)}return n>=t}function l(t){for(var e,r=t.find("[data-tr-context]").first().attr("data-tr-context"),a=[],n=/\.(\d{9,})\./g;null!==(e=n.exec(r));)a.push(e.pop()),e.index===n.lastIndex&&n.lastIndex++;return a.pop()}function c(t,e){var r=t.children(".tr-repeater-group-template").children().first().clone(),n=t.children(".tr-repeater-fields"),i=r.data("limit"),o="{{ "+r.data("id")+" }}";Object(a.g)(r,o),s(i,n.children(),1)||e(r,n)}function d(t){t.addClass("tr-cloned-item"),setTimeout((function(){return t.removeClass("tr-cloned-item")}),2400)}function u(t,e){var r=t.find("select");e.find("select").each((function(t,e){i(e).val(r.eq(t).val())}))}},op53:function(t,e,r){"use strict";r.r(e);var a=r("82zG"),n=r("jEt8"),i=window.jQuery;function o(t){i.isFunction(i.fn.wpColorPicker)&&i(t).find(".tr-color-picker[name]").each((function(){var t,e,r,a;(r=i(this)).hasClass("wp-color-picker")&&(a=r.parent().parent().parent().parent(),r=r.clone().off().removeClass("wp-color-picker"),i(this).parent().parent().parent().off().remove(),a.append(r)),t=i(this).data("palette"),e={palettes:window[t]},r.wpColorPicker(e)}))}var s=window.jQuery,l=wp.i18n.__;function c(t){s.isFunction(s.fn.chosen)&&s(t).find(".tr-chosen-select-js[name]").each((function(){var t=s(this).data("max")?s(this).data("max"):999999,e=s(this).data("threshold")?s(this).data("threshold"):5,r=!!s(this).data("empty");s(this).chosen("destroy"),s(this).chosen({no_results_text:l("Oops, nothing found!","typerocket-domain"),max_selected_options:t,disable_search_threshold:e,allow_single_deselect:r})}))}var d=window.jQuery;function u(t){t.find(".wp-editor-area").each((function(){tinyMCE.execCommand("mceAddEditor",!1,d(this).attr("id"))}))}var p=window.jQuery;function f(t){t.find(".tr-tabbed-top:not(.tr-repeater-group-template .tr-tabbed-top)").each((function(){p(this).find("> .tr-tabbed-sections > .tr-tabs > li").each((function(t){var e,r,n,i;e=p(this).attr("data-uid"),r=Object(a.e)(),p(this).attr("data-uid",r),n=p(this).find(".tr-tab-link"),i=p(p(this).parent().parent().next().children()[t]),p(this).attr("id",p(this).attr("id").replace(e,r)),n.attr("href",n.attr("href").replace(e,r)),i.attr("id",i.attr("id").replace(e,r))}))}))}var h=window.jQuery;function m(t){h.isFunction(h.fn.datepicker)&&h(t).find(".tr-date-picker[name]").each((function(){var t=h(this).data("format"),e="dd/mm/yy";t&&(e=t),h(this).off().removeClass("hasDatepicker").removeData("datepicker").datepicker({beforeShow:function(t,e){h("#ui-datepicker-div").addClass("tr-datepicker-container")},dateFormat:e})}))}var v=window.jQuery;function g(t){var e,r,a,n,i;v.isFunction(v.fn.sortable)&&(a=v(t).find(".tr-gallery-list"),n=v(t).find(".tr-search-selected-multiple"),e=v(t).find(".tr-items-list"),r=v(t).find(".tr-repeater-fields"),i=v(t).find(".tr-components"),a.length>0&&a.ksortable({placeholder:"tr-sortable-placeholder tr-gallery-item",forcePlaceholderSize:!0,update:function(t,e){e.item.focus()}}),n.length>0&&n.ksortable({placeholder:"tr-sortable-placeholder",forcePlaceholderSize:!0,update:function(t,e){e.item.focus()}}),r.length>0&&r.ksortable({connectWith:".tr-repeater-group",handle:".tr-repeater-controls",placeholder:"tr-sortable-placeholder",forcePlaceholderSize:!0,update:function(t,e){e.item.focus()}}),e.length>0&&e.ksortable({connectWith:".item",handle:".move",placeholder:"tr-sortable-placeholder",forcePlaceholderSize:!0,update:function(t,e){e.item.focus()}}),i.length>0&&i.sortable({placeholder:"tr-sortable-placeholder",forcePlaceholderSize:!0,start:function(t,e){return e.item.startPos=e.item.index()},update:function(t,e){var r,a,n,i,o;a=(n=e.item.parent().parent().siblings(".tr-frame-fields").first()).children().detach(),i=e.item.index(),o=e.item.startPos,r=a.splice(o,1),a.splice(i,0,r[0]),n.append(a)}}))}v.fn.extend({ksortable:function(t,e){this.sortable(t),e=e||"li",v(this).on("keydown","> "+e,(function(t){if(v(this).is(":focus")){if(37!==t.keyCode&&38!==t.keyCode||(v(this).insertBefore(v(this).prev()),t.preventDefault()),39!==t.keyCode&&40!==t.keyCode||(v(this).insertAfter(v(this).next()),t.preventDefault()),84!==t.keyCode&&33!==t.keyCode||v(this).parent().prepend(v(this)),66!==t.keyCode&&34!==t.keyCode||v(this).parent().append(v(this)),70===t.keyCode){var e=v(this).parent();e.children().each((function(){e.prepend(v(this))}))}v(this).focus()}}))}});window.jQuery;var y=wp.i18n.__;jQuery((function(t){Object(a.c)(),[g,m,o,c].forEach((function(e){e(t(document)),TypeRocket.repeaterCallbacks.push(e)})),TypeRocket.repeaterCallbacks.push(f),TypeRocket.repeaterCallbacks.push(u),t(document).on("input blur change",".tr-input-maxlength",(function(){var e=t(this),r=e.parent();(r.hasClass("redactor-box")||r.hasClass("tr-text-input"))&&(e=r),e.siblings(".tr-maxlength").find("span").text(Object(a.f)(this))})),t(document).on("submit",".tr-form-confirm",(function(t){if(confirm(y("Confirm Submit.","typerocket-domain")))return!0;t.preventDefault()})),t(document).on("submit",".tr-ajax-form",(function(e){e.preventDefault(),window.TypeRocket.lastSubmittedForm=t(this),t.typerocketHttp.send("POST",t(this).attr("action"),t(this).serialize())})),t(document).on("click",".tr-delete-row-rest-button",(function(e){var r,a;if(e.preventDefault(),confirm(y("Confirm Delete.","typerocket-domain")))return a=t(this).attr("data-target"),r={_tr_ajax_request:"1",_method:"DELETE",_tr_nonce_form:window.trHelpers.nonce},t.typerocketHttp.send("POST",t(this).attr("href"),r,!1,(function(){t(a).remove()}))})),t(document).on("keyup",".tr-radio-options-label",(function(e){e.target===this&&(e.preventDefault(),e.keyCode&&13===e.keyCode&&(t(this).trigger("click").focus(),e.preventDefault()))})),t(document).on("click",".tr-focus-on-click",(function(e){e.target===this&&(e.preventDefault(),t(this).focus())})),t(document).on("click",".tr-tabs > li",(function(e){t(this).addClass("active").siblings().removeClass("active");var r=t(this).find(".tr-tab-link").first().attr("href");t(r).addClass("active").siblings().removeClass("active"),Object(a.c)(),e.preventDefault()})),Object(n.a)()}))},v25N:function(t,e,r){"use strict";r.r(e);var a=r("82zG"),n=wp.i18n.__;jQuery((function(t){var e;function r(e,r){var a=e.attr("data-type"),i=e.attr("data-tr-name"),o=n("Remove Item","typerocket-domain"),s=t('
  • ');r?e.append(s):e.prepend(s),s.focus().scrollTop("100%")}e=function(e,r){if(confirm(n("Remove all items?","typerocket-domain"))){t(r).val(""),t(e).parent().next().html("");var a=e.prev();a.removeClass("disabled").attr("value",a.attr("data-add"))}return!1},t(document).on("click",".tr-items-list-item",(function(e){e.target===this&&(e.preventDefault(),t(this).focus())})),t(document).on("click",".tr-items-list-button",(function(){var e,n,i,o,s;(n=t(this).parent()).hasClass("button-group")&&(n=n.parent()),i=(e=n.children(".tr-items-list")).attr("name"),o=e.attr("data-limit"),i&&e.attr("data-tr-name",i);var l=e.children().length;l=o;Object(a.a)(t(this),c),Object(a.a)(s,c)})),t(document).on("click",".tr-items-list-clear",(function(){var r;r=t(this).parent().prev(),e(t(this),r[0])})),t(document).on("click",".tr-items-list-item-remove",(function(){var e=t(this).parent().parent();t(this).parent().remove();var r=e.children().length>=e.attr("data-limit"),n=e.prev().find(".tr-items-list-button"),i=e.next();Object(a.a)(n,r),Object(a.a)(i,r)}))}))},vvnB:function(t,e){}}); -------------------------------------------------------------------------------- /wordpress/assets/typerocket/js/global.js: -------------------------------------------------------------------------------- 1 | window.TypeRocket={httpCallbacks:[],repeaterCallbacks:[],lastSubmittedForm:!1,redactor:{extend:{},lang:"en",plugins:[],override:{}},builderCallbacks:[]}; 2 | -------------------------------------------------------------------------------- /wordpress/assets/typerocket/js/lib/chosen.min.js: -------------------------------------------------------------------------------- 1 | /* Chosen v1.8.7 | (c) 2011-2018 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ 2 | 3 | (function(){var t,e,s,i,n=function(t,e){return function(){return t.apply(e,arguments)}},r=function(t,e){function s(){this.constructor=t}for(var i in e)o.call(e,i)&&(t[i]=e[i]);return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},o={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,s,i,n,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(r=t.childNodes).length;s"+this.escape_html(t.group_label)+""+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout(function(t){return function(){return t.container_mousedown()}}(this),50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(t){return function(){return t.blur_test()}}(this),100)},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,s,i,n,r,o,h;for(e="",h=0,n=0,r=(o=this.results_data).length;n=this.max_shown_results));n++);return e},t.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),t.style&&(s.style.cssText=t.style),s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.result_add_group=function(t){var e,s;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,s,i,n;for(n=[],t=0,e=(s=this.results_data).length;t"+this.escape_html(s)+""+this.escape_html(p)),null!=a&&(a.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return this.result_clear_highlight(),_<1&&h.length?(this.update_results_content(""),this.no_results(h)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,s;return s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new RegExp(s,e)},t.prototype.search_string_match=function(t,e){var s;return s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s},t.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){if(!this.is_disabled)return setTimeout(function(t){return function(){return t.results_search()}}(this),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'\n '+this.default_text+'\n
    \n
    \n
    \n \n
      \n
      '},t.prototype.get_multi_html=function(){return'
        \n
      • \n \n
      • \n
      \n
      \n
        \n
        '},t.prototype.get_no_results_html=function(t){return'
      • \n '+this.results_none_found+" "+this.escape_html(t)+"\n
      • "},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(i){return e.browser_is_supported()?this.each(function(e){var n,r;r=(n=t(this)).data("chosen"),"destroy"!==i?r instanceof s||n.data("chosen",new s(this,i)):r instanceof s&&r.destroy()}):this}}),s=function(s){function n(){return n.__super__.constructor.apply(this,arguments)}return r(n,e),n.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},n.prototype.set_up_html=function(){var e,s;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),s={"class":e.join(" "),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("
        ",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},n.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},n.prototype.register_observers=function(){return this.container.on("touchstart.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",function(t){t.preventDefault()})},n.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},n.prototype.container_mousedown=function(e){var s;if(!this.is_disabled)return!e||"mousedown"!==(s=e.type)&&"touchstart"!==s||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},n.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},n.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},n.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(e){var s;return(s=t(e.target).closest(".chosen-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},n.prototype.result_do_highlight=function(t){var e,s,i,n,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),n=i+r,s=this.result_highlight.position().top+this.search_results.scrollTop(),(e=s+this.result_highlight.outerHeight())>=n)return this.search_results.scrollTop(e-i>0?e-i:0);if(s0)return this.form_field_label.on("click.chosen",this.label_click_handler)},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(e){var s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(e),this.search_field.focus()},n.prototype.search_results_mouseover=function(e){var s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(s)},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},n.prototype.choice_build=function(e){var s,i;return s=t("
      • ",{"class":"search-choice"}).html(""+this.choice_label(e)+""),e.disabled?s.addClass("search-choice-disabled"):((i=t("",{"class":"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",function(t){return function(e){return t.choice_destroy_link_click(e)}}(this)),s.append(i)),this.search_container.before(s)},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},n.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(t){var e,s;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),s=this.results_data[e[0].getAttribute("data-option-array-index")],s.selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},n.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},n.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after(''),this.selected_item.addClass("chosen-single-with-deselect")},n.prototype.get_search_field_value=function(){return this.search_field.val()},n.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},n.prototype.escape_html=function(e){return t("
        ").text(e).html()},n.prototype.winnow_results_set_highlight=function(){var t,e;if(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(t=e.length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},n.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.search_field_scale=function(){var e,s,i,n,r,o,h;if(this.is_multiple){for(r={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(o=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s").css(r)).text(this.get_search_field_value()),t("body").append(e),h=e.width()+25,e.remove(),this.container.is(":visible")&&(h=Math.min(this.container.outerWidth()-10,h)),this.search_field.width(h)}},n.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},n}()}).call(this); -------------------------------------------------------------------------------- /wordpress/assets/typerocket/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/builder.ext.js": "/js/builder.ext.js?id=fdb787b2c8d8f73d1038", 3 | "/js/core.js": "/js/core.js?id=732a199902494c8e6718", 4 | "/css/core.css": "/css/core.css?id=83591618cbcda8ff6bb6", 5 | "/js/global.js": "/js/global.js?id=299b31f67ab20381e7c4" 6 | } 7 | --------------------------------------------------------------------------------