Version Description
Download this release
Release Info
Developer | constantcontact |
Plugin | Creative Mail – Easier WordPress & WooCommerce Email Marketing |
Version | 1.6.4 |
Comparing to | |
See all releases |
Code changes from version 1.6.3 to 1.6.4
- CHANGELOG.md +3 -0
- README.md +10 -10
- assets/images/admin-dashboard-widget/logo.svg +15 -17
- assets/images/logo.svg +15 -17
- creative-mail-plugin.php +8 -8
- readme.txt +14 -14
- src/Managers/CheckoutManager.php +92 -69
- src/Models/CartData.php +127 -0
- src/Modules/Contacts/Services/ContactsSyncService.php +8 -9
- src/views/activated-integrations.php +1 -1
- src/views/onboarding-content.php +1 -1
- src/views/pending-setup.php +2 -2
- src/views/settings.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +5 -5
CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
Changelog
|
2 |
=========
|
3 |
|
|
|
|
|
|
|
4 |
#### 1.6.3 - November 11th, 2022
|
5 |
- Hotfix: Fixed a bug where the plugin was not working on some servers.
|
6 |
|
1 |
Changelog
|
2 |
=========
|
3 |
|
4 |
+
#### 1.6.4 - November 21st, 2022
|
5 |
+
- Branding refactor
|
6 |
+
|
7 |
#### 1.6.3 - November 11th, 2022
|
8 |
- Hotfix: Fixed a bug where the plugin was not working on some servers.
|
9 |
|
README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Creative Mail – Easier WordPress & WooCommerce Email Marketing ===
|
2 |
-
Contributors:
|
3 |
-
Tags: email, marketing, newsletter, subscribe, contact form,
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 6.1
|
6 |
-
Stable tag: 1.6.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 7.2
|
@@ -21,7 +21,7 @@ Our intelligent (and super fun) email editor simplifies email marketing campaign
|
|
21 |
|
22 |
It’s perfect for automatic blog post syndication, newsletters and announcements, event promotion, WooCommerce product specials, retargeting ecommerce shoppers, sending postcards, providing updates and more.
|
23 |
|
24 |
-
Create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of
|
25 |
|
26 |
### [VIEW OUR DETAILED FEATURES](https://www.creativemail.com/plans)
|
27 |
|
@@ -33,7 +33,7 @@ Turn your WooCommerce store and your WordPress site into efficient marketing eng
|
|
33 |
- **Jetpack Forms Integration:** Collect, sync, and manage opt-in subscribers directly from Jetpack forms into Creative Mail.
|
34 |
- **Build Better Branding:** Creative Mail includes our free LogoBuilder and image editing suite to enhance your brand.
|
35 |
- **Amazing Stock Images:** You get free access to the completely integrated photo library (in addition to your own WordPress media library) to make amazing email marketing campaigns with award-winning images.
|
36 |
-
- **Get Better Deliverability:** Other email marketing solutions require complex SMTP solutions, external gateways or have you sending from their less than stellar IPs. As a result, your emails can get bounced or never delivered. Creative Mail is an all-in-one solution that uses
|
37 |
- **Live Support:** With our paid plans (Awesome & Ultimate) you get access to phone and chat support to help you get answers from real live, helpful humans. Imagine that!
|
38 |
|
39 |
### [OPT-IN EMAIL FORMS](https://www.creativemail.com):
|
@@ -62,7 +62,7 @@ Turn your WooCommerce store and your WordPress site into efficient marketing eng
|
|
62 |
### [CAMPAIGNS](https://www.creativemail.com):
|
63 |
- **AI Emails:** Forget templates, let our A.I. build your email marketing campaigns for you. Pull in WordPress posts or WooCommerce products for sale and you’re good to go. Let our robots do your bidding!
|
64 |
- **Email Campaign Creation:** Build your email marketing campaigns in seconds from your WordPress admin dashboard.
|
65 |
-
- **Awesome Deliverability:** All email marketing campaigns are sent and delivered by the award-winning power of
|
66 |
- **Automated Email Marketing:** Send multistep email campaigns automatically, with triggers you define, whether that’s based on time or behavioral actions. (Coming Soon)
|
67 |
|
68 |
### [EMAIL LIST MANAGEMENT](https://www.creativemail.com):
|
@@ -75,14 +75,13 @@ Turn your WooCommerce store and your WordPress site into efficient marketing eng
|
|
75 |
2. Deeply connected to your website & WooCommerce store
|
76 |
3. Accessed from within your WP Admin Dashboard
|
77 |
4. Automatically syncing your contacts and building your marketing lists
|
78 |
-
5.
|
79 |
-
6. Fun, which makes life way better
|
80 |
|
81 |
## TERMS OF SERVICE & PRIVACY NOTICE
|
82 |
On behalf of our lawyers (seriously, they’re nice people), please feel free to review our:
|
83 |
|
84 |
-
Creative Mail
|
85 |
-
Creative Mail
|
86 |
|
87 |
== Screenshots ==
|
88 |
1. Your all-in-one dashboard
|
@@ -93,6 +92,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
|
|
93 |
6. Enhance your brand with LogoBuilder
|
94 |
|
95 |
== Changelog ==
|
|
|
96 |
* 1.6.3 - Hotfix: Fixed a bug where the plugin was not working on some servers.
|
97 |
* 1.6.2 - Security updates and removal of Unsupported Plugin (Caldera Forms)
|
98 |
* 1.6.1 - Security update
|
1 |
=== Creative Mail – Easier WordPress & WooCommerce Email Marketing ===
|
2 |
+
Contributors: Newfold Digital
|
3 |
+
Tags: email, marketing, newsletter, subscribe, contact form, crm, automations, campaigns, ecommerce, promotion, offers, retargeting, newfold, newfold digital, correo electronico
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 6.1
|
6 |
+
Stable tag: 1.6.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 7.2
|
21 |
|
22 |
It’s perfect for automatic blog post syndication, newsletters and announcements, event promotion, WooCommerce product specials, retargeting ecommerce shoppers, sending postcards, providing updates and more.
|
23 |
|
24 |
+
Create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of Newfold Digital.
|
25 |
|
26 |
### [VIEW OUR DETAILED FEATURES](https://www.creativemail.com/plans)
|
27 |
|
33 |
- **Jetpack Forms Integration:** Collect, sync, and manage opt-in subscribers directly from Jetpack forms into Creative Mail.
|
34 |
- **Build Better Branding:** Creative Mail includes our free LogoBuilder and image editing suite to enhance your brand.
|
35 |
- **Amazing Stock Images:** You get free access to the completely integrated photo library (in addition to your own WordPress media library) to make amazing email marketing campaigns with award-winning images.
|
36 |
+
- **Get Better Deliverability:** Other email marketing solutions require complex SMTP solutions, external gateways or have you sending from their less than stellar IPs. As a result, your emails can get bounced or never delivered. Creative Mail is an all-in-one solution that uses a rock solid infrastructure, for superior deliverability. Boom! ‘nuff said.
|
37 |
- **Live Support:** With our paid plans (Awesome & Ultimate) you get access to phone and chat support to help you get answers from real live, helpful humans. Imagine that!
|
38 |
|
39 |
### [OPT-IN EMAIL FORMS](https://www.creativemail.com):
|
62 |
### [CAMPAIGNS](https://www.creativemail.com):
|
63 |
- **AI Emails:** Forget templates, let our A.I. build your email marketing campaigns for you. Pull in WordPress posts or WooCommerce products for sale and you’re good to go. Let our robots do your bidding!
|
64 |
- **Email Campaign Creation:** Build your email marketing campaigns in seconds from your WordPress admin dashboard.
|
65 |
+
- **Awesome Deliverability:** All email marketing campaigns are sent and delivered by the award-winning power of Newfold Digital technology. We got you.
|
66 |
- **Automated Email Marketing:** Send multistep email campaigns automatically, with triggers you define, whether that’s based on time or behavioral actions. (Coming Soon)
|
67 |
|
68 |
### [EMAIL LIST MANAGEMENT](https://www.creativemail.com):
|
75 |
2. Deeply connected to your website & WooCommerce store
|
76 |
3. Accessed from within your WP Admin Dashboard
|
77 |
4. Automatically syncing your contacts and building your marketing lists
|
78 |
+
5. Fun, which makes life way better
|
|
|
79 |
|
80 |
## TERMS OF SERVICE & PRIVACY NOTICE
|
81 |
On behalf of our lawyers (seriously, they’re nice people), please feel free to review our:
|
82 |
|
83 |
+
Creative Mail [Terms of Service](https://www.bluehost.com/terms/user-agreement)
|
84 |
+
Creative Mail [Privacy Notice](https://newfold.com/privacy-center)
|
85 |
|
86 |
== Screenshots ==
|
87 |
1. Your all-in-one dashboard
|
92 |
6. Enhance your brand with LogoBuilder
|
93 |
|
94 |
== Changelog ==
|
95 |
+
* 1.6.4 - Branding refactor
|
96 |
* 1.6.3 - Hotfix: Fixed a bug where the plugin was not working on some servers.
|
97 |
* 1.6.2 - Security updates and removal of Unsupported Plugin (Caldera Forms)
|
98 |
* 1.6.1 - Security update
|
assets/images/admin-dashboard-widget/logo.svg
CHANGED
@@ -1,18 +1,16 @@
|
|
1 |
-
<svg width="
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
<path d="M957.793 6.68994V115.679H937.173V6.68994H957.793Z" fill="#7D64B4"/>
|
17 |
-
<path d="M897.25 20.7668C899.704 23.0252 902.748 24.1543 906.381 24.1543C910.014 24.1543 913.009 23.0252 915.365 20.7668C917.82 18.4103 919.047 15.5137 919.047 12.0772C919.047 8.64057 917.82 5.79311 915.365 3.53477C913.009 1.17826 910.014 0 906.381 0C902.748 0 899.704 1.17826 897.25 3.53477C894.893 5.79311 893.715 8.64057 893.715 12.0772C893.715 15.5137 894.893 18.4103 897.25 20.7668Z" fill="#313944"/>
|
18 |
</svg>
|
1 |
+
<svg width="302" height="40" viewBox="0 0 302 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<path d="M0.727234 20.7785C0.727234 17.5868 1.43587 14.7359 2.85315 12.2259C4.30125 9.68493 6.25771 7.71723 8.72255 6.32279C11.2182 4.89736 14.0065 4.18465 17.0876 4.18465C20.6924 4.18465 23.8505 5.11428 26.5618 6.97353C29.2731 8.83278 31.168 11.4047 32.2463 14.6894H24.8056C24.0662 13.14 23.0186 11.978 21.6629 11.2033C20.3381 10.4286 18.7976 10.0413 17.0414 10.0413C15.1619 10.0413 13.4828 10.4906 12.0039 11.3892C10.5558 12.2569 9.41578 13.4964 8.5839 15.1078C7.78283 16.7191 7.38229 18.6093 7.38229 20.7785C7.38229 22.9166 7.78283 24.8068 8.5839 26.4492C9.41578 28.0605 10.5558 29.3155 12.0039 30.2142C13.4828 31.0818 15.1619 31.5156 17.0414 31.5156C18.7976 31.5156 20.3381 31.1283 21.6629 30.3536C23.0186 29.5479 24.0662 28.3704 24.8056 26.821H32.2463C31.168 30.1367 29.2731 32.7242 26.5618 34.5834C23.8813 36.4117 20.7232 37.3258 17.0876 37.3258C14.0065 37.3258 11.2182 36.6286 8.72255 35.2341C6.25771 33.8087 4.30125 31.841 2.85315 29.331C1.43587 26.821 0.727234 23.9702 0.727234 20.7785Z" fill="#313944"/>
|
3 |
+
<path d="M44.2429 15.2937C45.0748 13.9302 46.1532 12.8612 47.478 12.0865C48.8337 11.3118 50.3742 10.9244 52.0996 10.9244V17.7572H50.3896C48.3561 17.7572 46.8156 18.2375 45.768 19.1981C44.7513 20.1587 44.2429 21.832 44.2429 24.2181V37.0469H37.7727V11.2963H44.2429V15.2937Z" fill="#313944"/>
|
4 |
+
<path d="M80.2586 23.6138C80.2586 24.5435 80.197 25.3801 80.0738 26.1238H61.3564C61.5105 27.9831 62.1575 29.4395 63.2975 30.4931C64.4375 31.5466 65.8394 32.0734 67.5031 32.0734C69.9063 32.0734 71.6163 31.0353 72.633 28.9592H79.6116C78.8722 31.4382 77.4549 33.4834 75.3598 35.0947C73.2647 36.6751 70.692 37.4653 67.6418 37.4653C65.1769 37.4653 62.9586 36.923 60.9867 35.8384C59.0456 34.7229 57.5205 33.158 56.4113 31.1438C55.333 29.1296 54.7938 26.8055 54.7938 24.1716C54.7938 21.5067 55.333 19.1671 56.4113 17.1529C57.4897 15.1387 58.9994 13.5894 60.9405 12.5048C62.8815 11.4202 65.1153 10.878 67.6418 10.878C70.0758 10.878 72.2479 11.4047 74.1582 12.4583C76.0992 13.5119 77.5935 15.0148 78.6411 16.967C79.7195 18.8882 80.2586 21.1038 80.2586 23.6138ZM73.5574 21.7546C73.5266 20.0812 72.9257 18.7488 71.7549 17.7572C70.5842 16.7346 69.1515 16.2233 67.4569 16.2233C65.8547 16.2233 64.4991 16.7191 63.3899 17.7107C62.3115 18.6713 61.6491 20.0193 61.4026 21.7546H73.5574Z" fill="#313944"/>
|
5 |
+
<path d="M83.3175 24.0786C83.3175 21.4757 83.8259 19.1671 84.8427 17.1529C85.8902 15.1387 87.2921 13.5894 89.0483 12.5048C90.8353 11.4202 92.8226 10.878 95.0101 10.878C96.9204 10.878 98.5841 11.2653 100.001 12.04C101.449 12.8147 102.605 13.7908 103.468 14.9683V11.2963H109.984V37.0469H103.468V33.2819C102.636 34.4904 101.48 35.4975 100.001 36.3032C98.5533 37.0779 96.8741 37.4653 94.9639 37.4653C92.8072 37.4653 90.8353 36.9075 89.0483 35.7919C87.2921 34.6764 85.8902 33.1115 84.8427 31.0973C83.8259 29.0521 83.3175 26.7126 83.3175 24.0786ZM103.468 24.1716C103.468 22.5912 103.159 21.2433 102.543 20.1277C101.927 18.9812 101.095 18.1135 100.048 17.5248C99.0001 16.905 97.8755 16.5952 96.6739 16.5952C95.4723 16.5952 94.3631 16.8895 93.3463 17.4783C92.3296 18.0671 91.4977 18.9347 90.8507 20.0812C90.2345 21.1968 89.9264 22.5293 89.9264 24.0786C89.9264 25.628 90.2345 26.9915 90.8507 28.169C91.4977 29.3155 92.3296 30.1987 93.3463 30.8184C94.3939 31.4382 95.5031 31.7481 96.6739 31.7481C97.8755 31.7481 99.0001 31.4537 100.048 30.8649C101.095 30.2452 101.927 29.3775 102.543 28.262C103.159 27.1154 103.468 25.752 103.468 24.1716Z" fill="#313944"/>
|
6 |
+
<path d="M123.836 16.6416V29.0986C123.836 29.9663 124.037 30.6015 124.437 31.0044C124.869 31.3762 125.577 31.5621 126.563 31.5621H129.567V37.0469H125.5C120.047 37.0469 117.32 34.382 117.32 29.0521V16.6416H114.27V11.2963H117.32V4.92835H123.836V11.2963H129.567V16.6416H123.836Z" fill="#313944"/>
|
7 |
+
<path d="M137.502 8.22852C136.362 8.22852 135.407 7.87217 134.637 7.15945C133.897 6.41575 133.528 5.50162 133.528 4.41706C133.528 3.33249 133.897 2.43385 134.637 1.72114C135.407 0.977441 136.362 0.605591 137.502 0.605591C138.642 0.605591 139.582 0.977441 140.321 1.72114C141.092 2.43385 141.477 3.33249 141.477 4.41706C141.477 5.50162 141.092 6.41575 140.321 7.15945C139.582 7.87217 138.642 8.22852 137.502 8.22852ZM140.691 11.2963V37.0469H134.221V11.2963H140.691Z" fill="#313944"/>
|
8 |
+
<path d="M157.759 31.0508L164.23 11.2963H171.116L161.642 37.0469H153.785L144.357 11.2963H151.289L157.759 31.0508Z" fill="#313944"/>
|
9 |
+
<path d="M204.328 23.6138C204.328 24.5435 204.266 25.3801 204.143 26.1238H185.426C185.58 27.9831 186.227 29.4395 187.367 30.4931C188.507 31.5466 189.909 32.0734 191.572 32.0734C193.976 32.0734 195.686 31.0353 196.702 28.9592H203.681C202.941 31.4382 201.524 33.4834 199.429 35.0947C197.334 36.6751 194.761 37.4653 191.711 37.4653C189.246 37.4653 187.028 36.923 185.056 35.8384C183.115 34.7229 181.59 33.158 180.481 31.1438C179.402 29.1296 178.863 26.8055 178.863 24.1716C178.863 21.5067 179.402 19.1671 180.481 17.1529C181.559 15.1387 183.069 13.5894 185.01 12.5048C186.951 11.4202 189.185 10.878 191.711 10.878C194.145 10.878 196.317 11.4047 198.227 12.4583C200.168 13.5119 201.663 15.0148 202.71 16.967C203.789 18.8882 204.328 21.1038 204.328 23.6138ZM197.627 21.7546C197.596 20.0812 196.995 18.7488 195.824 17.7572C194.653 16.7346 193.221 16.2233 191.526 16.2233C189.924 16.2233 188.568 16.7191 187.459 17.7107C186.381 18.6713 185.718 20.0193 185.472 21.7546H197.627Z" fill="#313944"/>
|
10 |
+
<path d="M170.569 36.1629C171.339 36.8756 172.294 37.2319 173.434 37.2319C174.574 37.2319 175.514 36.8756 176.253 36.1629C177.024 35.4192 177.409 34.505 177.409 33.4205C177.409 32.3359 177.024 31.4373 176.253 30.7246C175.514 29.9809 174.574 29.609 173.434 29.609C172.294 29.609 171.339 29.9809 170.569 30.7246C169.829 31.4373 169.46 32.3359 169.46 33.4205C169.46 34.505 169.829 35.4192 170.569 36.1629Z" fill="#663399"/>
|
11 |
+
<path d="M244.221 4.60321V37.0472H237.751V15.9446L229.108 37.0472H224.21L215.521 15.9446V37.0472H209.051V4.60321H216.399L226.659 28.727L236.919 4.60321H244.221Z" fill="#663399"/>
|
12 |
+
<path d="M248.954 24.0789C248.954 21.4759 249.462 19.1674 250.479 17.1532C251.527 15.139 252.929 13.5896 254.685 12.505C256.472 11.4205 258.459 10.8782 260.647 10.8782C262.557 10.8782 264.221 11.2655 265.638 12.0402C267.086 12.8149 268.241 13.791 269.104 14.9685V11.2965H275.62V37.0472H269.104V33.2822C268.272 34.4907 267.117 35.4978 265.638 36.3034C264.19 37.0781 262.511 37.4655 260.6 37.4655C258.444 37.4655 256.472 36.9077 254.685 35.7922C252.929 34.6766 251.527 33.1117 250.479 31.0975C249.462 29.0524 248.954 26.7128 248.954 24.0789ZM269.104 24.1718C269.104 22.5915 268.796 21.2435 268.18 20.128C267.564 18.9814 266.732 18.1138 265.684 17.525C264.637 16.9053 263.512 16.5954 262.31 16.5954C261.109 16.5954 260 16.8898 258.983 17.4785C257.966 18.0673 257.134 18.9349 256.487 20.0815C255.871 21.197 255.563 22.5295 255.563 24.0789C255.563 25.6282 255.871 26.9917 256.487 28.1692C257.134 29.3158 257.966 30.1989 258.983 30.8187C260.03 31.4384 261.14 31.7483 262.31 31.7483C263.512 31.7483 264.637 31.4539 265.684 30.8651C266.732 30.2454 267.564 29.3777 268.18 28.2622C268.796 27.1156 269.104 25.7522 269.104 24.1718Z" fill="#663399"/>
|
13 |
+
<path d="M288.41 11.2965V37.0472H281.94V11.2965H288.41Z" fill="#663399"/>
|
14 |
+
<path d="M301.273 2.651V37.0472H294.803V2.651H301.273Z" fill="#663399"/>
|
15 |
+
<path d="M282.275 7.09366C283.045 7.80637 284 8.16273 285.14 8.16273C286.28 8.16273 287.22 7.80637 287.959 7.09366C288.73 6.34995 289.115 5.43582 289.115 4.35126C289.115 3.2667 288.73 2.36806 287.959 1.65534C287.22 0.911645 286.28 0.539795 285.14 0.539795C284 0.539795 283.045 0.911645 282.275 1.65534C281.535 2.36806 281.166 3.2667 281.166 4.35126C281.166 5.43582 281.535 6.34995 282.275 7.09366Z" fill="#313944"/>
|
|
|
|
|
16 |
</svg>
|
assets/images/logo.svg
CHANGED
@@ -1,18 +1,16 @@
|
|
1 |
-
<svg width="
|
2 |
-
<path d="
|
3 |
-
<path d="M92.6457 49.7107C92.9514 49.2578 93.3703 48.8899 93.9024 48.6068C94.4459 48.3238 95.0629 48.1823 95.7535 48.1823C96.5573 48.1823 97.2819 48.3804 97.9272 48.7766C98.5839 49.1729 99.099 49.739 99.4726 50.4749C99.8576 51.1995 100.05 52.0429 100.05 53.0052C100.05 53.9676 99.8576 54.8223 99.4726 55.5696C99.099 56.3055 98.5839 56.8772 97.9272 57.2848C97.2819 57.6924 96.5573 57.8961 95.7535 57.8961C95.0516 57.8961 94.4345 57.7603 93.9024 57.4886C93.3816 57.2055 92.9627 56.8432 92.6457 56.4017V57.7433H90.2682V45.1764H92.6457V49.7107ZM97.6216 53.0052C97.6216 52.4392 97.5027 51.9523 97.2649 51.5448C97.0385 51.1259 96.7328 50.8089 96.3479 50.5938C95.9743 50.3786 95.5667 50.2711 95.1252 50.2711C94.6949 50.2711 94.2874 50.3843 93.9024 50.6107C93.5288 50.8258 93.2231 51.1428 92.9854 51.5617C92.759 51.9806 92.6457 52.4731 92.6457 53.0392C92.6457 53.6053 92.759 54.0978 92.9854 54.5167C93.2231 54.9356 93.5288 55.2582 93.9024 55.4847C94.2874 55.6998 94.6949 55.8073 95.1252 55.8073C95.5667 55.8073 95.9743 55.6941 96.3479 55.4677C96.7328 55.2412 97.0385 54.9186 97.2649 54.4997C97.5027 54.0808 97.6216 53.5826 97.6216 53.0052ZM110.778 48.3351L104.953 62.1927H102.423L104.461 57.5055L100.691 48.3351H103.357L105.786 54.9073L108.248 48.3351H110.778ZM115.529 51.7995C115.529 50.6334 115.79 49.5918 116.31 48.6747C116.842 47.7464 117.561 47.0275 118.467 46.518C119.384 45.9972 120.409 45.7368 121.541 45.7368C122.865 45.7368 124.026 46.0765 125.022 46.7557C126.019 47.435 126.715 48.3747 127.111 49.5748H124.377C124.105 49.0087 123.72 48.5842 123.222 48.3011C122.735 48.0181 122.169 47.8766 121.524 47.8766C120.833 47.8766 120.216 48.0407 119.673 48.3691C119.141 48.6861 118.722 49.1389 118.416 49.7277C118.122 50.3164 117.975 51.007 117.975 51.7995C117.975 52.5807 118.122 53.2713 118.416 53.8713C118.722 54.4601 119.141 54.9186 119.673 55.2469C120.216 55.5639 120.833 55.7224 121.524 55.7224C122.169 55.7224 122.735 55.5809 123.222 55.2978C123.72 55.0035 124.105 54.5733 124.377 54.0072H127.111C126.715 55.2186 126.019 56.1639 125.022 56.8432C124.037 57.5112 122.877 57.8452 121.541 57.8452C120.409 57.8452 119.384 57.5905 118.467 57.081C117.561 56.5602 116.842 55.8413 116.31 54.9242C115.79 54.0072 115.529 52.9656 115.529 51.7995ZM133.319 57.8961C132.414 57.8961 131.599 57.698 130.874 57.3018C130.149 56.8942 129.578 56.3224 129.159 55.5865C128.751 54.8506 128.547 54.0015 128.547 53.0392C128.547 52.0769 128.757 51.2278 129.176 50.4919C129.606 49.756 130.189 49.1899 130.925 48.7936C131.661 48.3861 132.482 48.1823 133.387 48.1823C134.293 48.1823 135.114 48.3861 135.85 48.7936C136.586 49.1899 137.163 49.756 137.582 50.4919C138.012 51.2278 138.227 52.0769 138.227 53.0392C138.227 54.0015 138.007 54.8506 137.565 55.5865C137.135 56.3224 136.546 56.8942 135.799 57.3018C135.063 57.698 134.236 57.8961 133.319 57.8961ZM133.319 55.8243C133.75 55.8243 134.152 55.7224 134.525 55.5186C134.91 55.3035 135.216 54.9865 135.442 54.5676C135.669 54.1487 135.782 53.6392 135.782 53.0392C135.782 52.1448 135.544 51.4598 135.069 50.9843C134.604 50.4975 134.033 50.2541 133.353 50.2541C132.674 50.2541 132.102 50.4975 131.638 50.9843C131.185 51.4598 130.959 52.1448 130.959 53.0392C130.959 53.9336 131.18 54.6242 131.621 55.111C132.074 55.5865 132.64 55.8243 133.319 55.8243ZM145.185 48.1992C146.306 48.1992 147.211 48.5559 147.902 49.2691C148.593 49.9711 148.938 50.956 148.938 52.2241V57.7433H146.56V52.5467C146.56 51.7995 146.374 51.2278 146 50.8315C145.626 50.4239 145.117 50.2201 144.472 50.2201C143.815 50.2201 143.294 50.4239 142.909 50.8315C142.536 51.2278 142.349 51.7995 142.349 52.5467V57.7433H139.971V48.3351H142.349V49.5069C142.666 49.0993 143.068 48.7823 143.555 48.5559C144.053 48.3181 144.596 48.1992 145.185 48.1992ZM154.799 57.8961C154.029 57.8961 153.339 57.7603 152.727 57.4886C152.116 57.2055 151.629 56.8263 151.267 56.3508C150.916 55.8752 150.723 55.3488 150.689 54.7714H153.084C153.129 55.1337 153.305 55.4337 153.61 55.6715C153.927 55.9092 154.318 56.0281 154.782 56.0281C155.235 56.0281 155.586 55.9375 155.835 55.7564C156.095 55.5752 156.226 55.3431 156.226 55.0601C156.226 54.7544 156.067 54.528 155.75 54.3808C155.444 54.2223 154.952 54.0525 154.273 53.8713C153.571 53.7015 152.993 53.526 152.54 53.3449C152.099 53.1637 151.714 52.8864 151.386 52.5128C151.069 52.1391 150.91 51.6353 150.91 51.0013C150.91 50.4805 151.057 50.005 151.352 49.5748C151.657 49.1446 152.088 48.8049 152.642 48.5559C153.208 48.3068 153.871 48.1823 154.629 48.1823C155.75 48.1823 156.645 48.4653 157.313 49.0314C157.98 49.5861 158.348 50.339 158.416 51.29H156.141C156.107 50.9164 155.948 50.6221 155.665 50.4069C155.394 50.1805 155.026 50.0673 154.561 50.0673C154.131 50.0673 153.797 50.1465 153.559 50.3051C153.333 50.4636 153.22 50.6843 153.22 50.9674C153.22 51.2844 153.378 51.5278 153.695 51.6976C154.012 51.8561 154.505 52.0203 155.173 52.1901C155.852 52.3599 156.412 52.5354 156.854 52.7165C157.296 52.8977 157.675 53.1807 157.992 53.5657C158.32 53.9393 158.49 54.4374 158.501 55.0601C158.501 55.6035 158.348 56.0904 158.043 56.5206C157.748 56.9508 157.318 57.2904 156.752 57.5395C156.197 57.7773 155.546 57.8961 154.799 57.8961ZM163.221 50.2881V54.8393C163.221 55.1563 163.295 55.3884 163.442 55.5356C163.6 55.6715 163.861 55.7394 164.223 55.7394H165.327V57.7433H163.832C161.828 57.7433 160.827 56.7696 160.827 54.8223V50.2881H159.706V48.3351H160.827V46.0085H163.221V48.3351H165.327V50.2881H163.221ZM166.426 53.0052C166.426 52.0542 166.612 51.2108 166.986 50.4749C167.371 49.739 167.886 49.1729 168.531 48.7766C169.188 48.3804 169.918 48.1823 170.722 48.1823C171.424 48.1823 172.035 48.3238 172.556 48.6068C173.088 48.8899 173.513 49.2465 173.83 49.6767V48.3351H176.224V57.7433H173.83V56.3677C173.524 56.8093 173.1 57.1772 172.556 57.4716C172.024 57.7546 171.407 57.8961 170.705 57.8961C169.913 57.8961 169.188 57.6924 168.531 57.2848C167.886 56.8772 167.371 56.3055 166.986 55.5696C166.612 54.8223 166.426 53.9676 166.426 53.0052ZM173.83 53.0392C173.83 52.4618 173.717 51.9693 173.49 51.5617C173.264 51.1428 172.958 50.8258 172.573 50.6107C172.188 50.3843 171.775 50.2711 171.333 50.2711C170.892 50.2711 170.484 50.3786 170.111 50.5938C169.737 50.8089 169.431 51.1259 169.194 51.5448C168.967 51.9523 168.854 52.4392 168.854 53.0052C168.854 53.5713 168.967 54.0695 169.194 54.4997C169.431 54.9186 169.737 55.2412 170.111 55.4677C170.496 55.6941 170.903 55.8073 171.333 55.8073C171.775 55.8073 172.188 55.6998 172.573 55.4847C172.958 55.2582 173.264 54.9412 173.49 54.5336C173.717 54.1147 173.83 53.6166 173.83 53.0392ZM183.76 48.1992C184.881 48.1992 185.786 48.5559 186.477 49.2691C187.168 49.9711 187.513 50.956 187.513 52.2241V57.7433H185.135V52.5467C185.135 51.7995 184.949 51.2278 184.575 50.8315C184.201 50.4239 183.692 50.2201 183.047 50.2201C182.39 50.2201 181.869 50.4239 181.484 50.8315C181.111 51.2278 180.924 51.7995 180.924 52.5467V57.7433H178.546V48.3351H180.924V49.5069C181.241 49.0993 181.643 48.7823 182.13 48.5559C182.628 48.3181 183.171 48.1992 183.76 48.1992ZM192.542 50.2881V54.8393C192.542 55.1563 192.616 55.3884 192.763 55.5356C192.921 55.6715 193.182 55.7394 193.544 55.7394H194.648V57.7433H193.153C191.149 57.7433 190.148 56.7696 190.148 54.8223V50.2881H189.027V48.3351H190.148V46.0085H192.542V48.3351H194.648V50.2881H192.542ZM199.827 51.7995C199.827 50.6334 200.087 49.5918 200.608 48.6747C201.14 47.7464 201.859 47.0275 202.765 46.518C203.682 45.9972 204.707 45.7368 205.839 45.7368C207.163 45.7368 208.324 46.0765 209.32 46.7557C210.316 47.435 211.013 48.3747 211.409 49.5748H208.675C208.403 49.0087 208.018 48.5842 207.52 48.3011C207.033 48.0181 206.467 47.8766 205.822 47.8766C205.131 47.8766 204.514 48.0407 203.971 48.3691C203.439 48.6861 203.02 49.1389 202.714 49.7277C202.42 50.3164 202.272 51.007 202.272 51.7995C202.272 52.5807 202.42 53.2713 202.714 53.8713C203.02 54.4601 203.439 54.9186 203.971 55.2469C204.514 55.5639 205.131 55.7224 205.822 55.7224C206.467 55.7224 207.033 55.5809 207.52 55.2978C208.018 55.0035 208.403 54.5733 208.675 54.0072H211.409C211.013 55.2186 210.316 56.1639 209.32 56.8432C208.335 57.5112 207.175 57.8452 205.839 57.8452C204.707 57.8452 203.682 57.5905 202.765 57.081C201.859 56.5602 201.14 55.8413 200.608 54.9242C200.087 54.0072 199.827 52.9656 199.827 51.7995ZM217.617 57.8961C216.712 57.8961 215.896 57.698 215.172 57.3018C214.447 56.8942 213.876 56.3224 213.457 55.5865C213.049 54.8506 212.845 54.0015 212.845 53.0392C212.845 52.0769 213.055 51.2278 213.474 50.4919C213.904 49.756 214.487 49.1899 215.223 48.7936C215.959 48.3861 216.78 48.1823 217.685 48.1823C218.591 48.1823 219.412 48.3861 220.148 48.7936C220.884 49.1899 221.461 49.756 221.88 50.4919C222.31 51.2278 222.525 52.0769 222.525 53.0392C222.525 54.0015 222.304 54.8506 221.863 55.5865C221.433 56.3224 220.844 56.8942 220.097 57.3018C219.361 57.698 218.534 57.8961 217.617 57.8961ZM217.617 55.8243C218.048 55.8243 218.449 55.7224 218.823 55.5186C219.208 55.3035 219.514 54.9865 219.74 54.5676C219.967 54.1487 220.08 53.6392 220.08 53.0392C220.08 52.1448 219.842 51.4598 219.367 50.9843C218.902 50.4975 218.331 50.2541 217.651 50.2541C216.972 50.2541 216.4 50.4975 215.936 50.9843C215.483 51.4598 215.257 52.1448 215.257 53.0392C215.257 53.9336 215.478 54.6242 215.919 55.111C216.372 55.5865 216.938 55.8243 217.617 55.8243ZM229.483 48.1992C230.604 48.1992 231.509 48.5559 232.2 49.2691C232.891 49.9711 233.236 50.956 233.236 52.2241V57.7433H230.858V52.5467C230.858 51.7995 230.672 51.2278 230.298 50.8315C229.924 50.4239 229.415 50.2201 228.77 50.2201C228.113 50.2201 227.592 50.4239 227.207 50.8315C226.834 51.2278 226.647 51.7995 226.647 52.5467V57.7433H224.269V48.3351H226.647V49.5069C226.964 49.0993 227.366 48.7823 227.852 48.5559C228.351 48.3181 228.894 48.1992 229.483 48.1992ZM238.265 50.2881V54.8393C238.265 55.1563 238.338 55.3884 238.486 55.5356C238.644 55.6715 238.905 55.7394 239.267 55.7394H240.371V57.7433H238.876C236.872 57.7433 235.87 56.7696 235.87 54.8223V50.2881H234.75V48.3351H235.87V46.0085H238.265V48.3351H240.371V50.2881H238.265ZM241.469 53.0052C241.469 52.0542 241.656 51.2108 242.03 50.4749C242.415 49.739 242.93 49.1729 243.575 48.7766C244.232 48.3804 244.962 48.1823 245.766 48.1823C246.468 48.1823 247.079 48.3238 247.6 48.6068C248.132 48.8899 248.557 49.2465 248.874 49.6767V48.3351H251.268V57.7433H248.874V56.3677C248.568 56.8093 248.143 57.1772 247.6 57.4716C247.068 57.7546 246.451 57.8961 245.749 57.8961C244.956 57.8961 244.232 57.6924 243.575 57.2848C242.93 56.8772 242.415 56.3055 242.03 55.5696C241.656 54.8223 241.469 53.9676 241.469 53.0052ZM248.874 53.0392C248.874 52.4618 248.76 51.9693 248.534 51.5617C248.308 51.1428 248.002 50.8258 247.617 50.6107C247.232 50.3843 246.819 50.2711 246.377 50.2711C245.936 50.2711 245.528 50.3786 245.155 50.5938C244.781 50.8089 244.475 51.1259 244.237 51.5448C244.011 51.9523 243.898 52.4392 243.898 53.0052C243.898 53.5713 244.011 54.0695 244.237 54.4997C244.475 54.9186 244.781 55.2412 245.155 55.4677C245.539 55.6941 245.947 55.8073 246.377 55.8073C246.819 55.8073 247.232 55.6998 247.617 55.4847C248.002 55.2582 248.308 54.9412 248.534 54.5336C248.76 54.1147 248.874 53.6166 248.874 53.0392ZM252.979 53.0392C252.979 52.0656 253.177 51.2164 253.573 50.4919C253.97 49.756 254.519 49.1899 255.221 48.7936C255.922 48.3861 256.726 48.1823 257.632 48.1823C258.798 48.1823 259.76 48.4766 260.519 49.0653C261.289 49.6427 261.804 50.4579 262.064 51.5108H259.5C259.364 51.1032 259.132 50.7862 258.804 50.5598C258.487 50.322 258.091 50.2032 257.615 50.2032C256.936 50.2032 256.398 50.4522 256.002 50.9504C255.605 51.4372 255.407 52.1335 255.407 53.0392C255.407 53.9336 255.605 54.6299 256.002 55.128C256.398 55.6149 256.936 55.8583 257.615 55.8583C258.577 55.8583 259.206 55.428 259.5 54.5676H262.064C261.804 55.5865 261.289 56.396 260.519 56.9961C259.749 57.5961 258.787 57.8961 257.632 57.8961C256.726 57.8961 255.922 57.698 255.221 57.3018C254.519 56.8942 253.97 56.3281 253.573 55.6035C253.177 54.8676 252.979 54.0129 252.979 53.0392ZM266.574 50.2881V54.8393C266.574 55.1563 266.648 55.3884 266.795 55.5356C266.954 55.6715 267.214 55.7394 267.576 55.7394H268.68V57.7433H267.186C265.182 57.7433 264.18 56.7696 264.18 54.8223V50.2881H263.059V48.3351H264.18V46.0085H266.574V48.3351H268.68V50.2881H266.574Z" fill="#F6F6F6"/>
|
4 |
-
<path d="
|
5 |
-
<path d="
|
6 |
-
<path d="
|
7 |
-
<path d="
|
8 |
-
<path d="
|
9 |
-
<path d="
|
10 |
-
<path d="
|
11 |
-
<path d="
|
12 |
-
<path d="
|
13 |
-
<path d="
|
14 |
-
<path d="
|
15 |
-
<path d="
|
16 |
-
<path d="M272.74 2.23422V33.2129H266.879V2.23422H272.74Z" fill="#E5CCFE"/>
|
17 |
-
<path d="M255.531 6.23539C256.229 6.87729 257.094 7.19824 258.127 7.19824C259.159 7.19824 260.01 6.87729 260.68 6.23539C261.378 5.56558 261.727 4.74228 261.727 3.76547C261.727 2.78867 261.378 1.97931 260.68 1.33741C260.01 0.667606 259.159 0.332703 258.127 0.332703C257.094 0.332703 256.229 0.667606 255.531 1.33741C254.861 1.97931 254.526 2.78867 254.526 3.76547C254.526 4.74228 254.861 5.56558 255.531 6.23539Z" fill="white"/>
|
18 |
</svg>
|
1 |
+
<svg width="300" height="40" viewBox="0 0 300 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<path d="M0.0425415 20.1613C0.0425415 17.0014 0.74649 14.1791 2.15439 11.6942C3.59289 9.17866 5.5364 7.23064 7.98492 5.85015C10.4641 4.43899 13.2339 3.7334 16.2946 3.7334C19.8755 3.7334 23.0127 4.65373 25.7061 6.49438C28.3994 8.33506 30.2817 10.8813 31.3529 14.1331H23.9615C23.2269 12.5992 22.1863 11.4488 20.8396 10.6818C19.5236 9.91493 17.9932 9.53147 16.2486 9.53147C14.3817 9.53147 12.7136 9.9763 11.2445 10.8659C9.80603 11.7249 8.67354 12.952 7.84719 14.5473C7.05142 16.1424 6.65353 18.0138 6.65353 20.1613C6.65353 22.278 7.05142 24.1493 7.84719 25.7752C8.67354 27.3705 9.80603 28.6129 11.2445 29.5025C12.7136 30.3615 14.3817 30.791 16.2486 30.791C17.9932 30.791 19.5236 30.4076 20.8396 29.6406C22.1863 28.843 23.2269 27.6773 23.9615 26.1434H31.3529C30.2817 29.4258 28.3994 31.9874 25.7061 33.8281C23.0433 35.6381 19.9061 36.5431 16.2946 36.5431C13.2339 36.5431 10.4641 35.8529 7.98492 34.4724C5.5364 33.0612 3.59289 31.1131 2.15439 28.6283C0.74649 26.1434 0.0425415 23.3211 0.0425415 20.1613Z" fill="white"/>
|
3 |
+
<path d="M43.2701 14.7315C44.0964 13.3817 45.1677 12.3234 46.4837 11.5564C47.8304 10.7895 49.3607 10.406 51.0747 10.406V17.1704H49.3761C47.356 17.1704 45.8257 17.6459 44.785 18.5969C43.7751 19.5479 43.2701 21.2045 43.2701 23.5667V36.2672H36.8427V10.7741H43.2701V14.7315Z" fill="white"/>
|
4 |
+
<path d="M79.0473 22.9686C79.0473 23.8889 78.986 24.7173 78.8634 25.4535H60.2703C60.4233 27.2942 61.0661 28.736 62.1985 29.779C63.3309 30.822 64.7236 31.3436 66.3763 31.3436C68.7635 31.3436 70.4622 30.3159 71.4722 28.2605H78.4048C77.6699 30.7147 76.2621 32.7394 74.1809 34.3347C72.0997 35.8992 69.544 36.6815 66.514 36.6815C64.0655 36.6815 61.8618 36.1446 59.903 35.0709C57.9748 33.9665 56.4598 32.4173 55.3579 30.4233C54.2867 28.4292 53.7511 26.1284 53.7511 23.5208C53.7511 20.8826 54.2867 18.5663 55.3579 16.5723C56.4292 14.5783 57.9289 13.0444 59.8571 11.9707C61.7853 10.8969 64.0043 10.3601 66.514 10.3601C68.9319 10.3601 71.0897 10.8816 72.9873 11.9246C74.9155 12.9677 76.3999 14.4556 77.4405 16.3883C78.5119 18.2903 79.0473 20.4837 79.0473 22.9686ZM72.3905 21.1279C72.3598 19.4714 71.763 18.1522 70.5999 17.1705C69.4369 16.1582 68.0137 15.652 66.3303 15.652C64.7388 15.652 63.3921 16.1428 62.2903 17.1245C61.2191 18.0756 60.561 19.41 60.3162 21.1279H72.3905Z" fill="white"/>
|
5 |
+
<path d="M82.0861 23.4288C82.0861 20.8518 82.5913 18.5663 83.6009 16.5723C84.6415 14.5783 86.0344 13.0444 87.7788 11.9707C89.5543 10.8969 91.5284 10.3601 93.7012 10.3601C95.5985 10.3601 97.2514 10.7436 98.659 11.5105C100.098 12.2775 101.245 13.2438 102.103 14.4096V10.7743H108.575V36.2673H102.103V32.54C101.276 33.7365 100.129 34.7334 98.659 35.5311C97.2211 36.2981 95.5527 36.6815 93.6554 36.6815C91.5129 36.6815 89.5543 36.1293 87.7788 35.0249C86.0344 33.9205 84.6415 32.3713 83.6009 30.3772C82.5913 28.3525 82.0861 26.0364 82.0861 23.4288ZM102.103 23.5208C102.103 21.9562 101.796 20.6218 101.184 19.5174C100.573 18.3823 99.7462 17.5233 98.7056 16.9404C97.665 16.3269 96.5475 16.0201 95.3541 16.0201C94.1606 16.0201 93.0587 16.3116 92.0483 16.8945C91.038 17.4774 90.2123 18.3363 89.569 19.4714C88.9568 20.5758 88.651 21.8949 88.651 23.4288C88.651 24.9627 88.9568 26.3124 89.569 27.4782C90.2123 28.6132 91.038 29.4876 92.0483 30.1012C93.0889 30.7147 94.1909 31.0215 95.3541 31.0215C96.5475 31.0215 97.665 30.73 98.7056 30.1471C99.7462 29.5336 100.573 28.6746 101.184 27.5702C101.796 26.4352 102.103 25.0854 102.103 23.5208Z" fill="white"/>
|
6 |
+
<path d="M122.336 16.0663V28.3987C122.336 29.2577 122.536 29.8866 122.934 30.2854C123.362 30.6535 124.066 30.8376 125.045 30.8376H128.03V36.2675H123.989C118.572 36.2675 115.864 33.6292 115.864 28.3527V16.0663H112.833V10.7745H115.864V4.47021H122.336V10.7745H128.03V16.0663H122.336Z" fill="white"/>
|
7 |
+
<path d="M135.911 7.73712C134.779 7.73712 133.83 7.38433 133.065 6.67874C132.331 5.94248 131.964 5.03749 131.964 3.96377C131.964 2.89006 132.331 2.00041 133.065 1.29482C133.83 0.558561 134.779 0.19043 135.911 0.19043C137.044 0.19043 137.978 0.558561 138.712 1.29482C139.477 2.00041 139.86 2.89006 139.86 3.96377C139.86 5.03749 139.477 5.94248 138.712 6.67874C137.978 7.38433 137.044 7.73712 135.911 7.73712ZM139.08 10.7742V36.2673H132.652V10.7742H139.08Z" fill="white"/>
|
8 |
+
<path d="M156.035 30.3309L162.462 10.7739H169.302L159.891 36.267H152.087L142.721 10.7739H149.608L156.035 30.3309Z" fill="white"/>
|
9 |
+
<path d="M202.295 22.9686C202.295 23.8889 202.234 24.7173 202.112 25.4535H183.518C183.671 27.2942 184.314 28.736 185.446 29.779C186.578 30.822 187.971 31.3436 189.624 31.3436C192.011 31.3436 193.71 30.3159 194.72 28.2605H201.652C200.918 30.7147 199.51 32.7394 197.428 34.3347C195.347 35.8992 192.792 36.6815 189.762 36.6815C187.313 36.6815 185.11 36.1446 183.151 35.0709C181.223 33.9665 179.708 32.4173 178.606 30.4233C177.534 28.4292 176.999 26.1284 176.999 23.5208C176.999 20.8826 177.534 18.5663 178.606 16.5723C179.677 14.5783 181.177 13.0444 183.105 11.9707C185.033 10.8969 187.252 10.3601 189.762 10.3601C192.18 10.3601 194.338 10.8816 196.235 11.9246C198.163 12.9677 199.648 14.4556 200.688 16.3883C201.759 18.2903 202.295 20.4837 202.295 22.9686ZM195.638 21.1279C195.608 19.4714 195.01 18.1522 193.848 17.1705C192.685 16.1582 191.262 15.652 189.578 15.652C187.987 15.652 186.64 16.1428 185.538 17.1245C184.467 18.0756 183.809 19.41 183.564 21.1279H195.638Z" fill="white"/>
|
10 |
+
<path d="M168.759 35.3916C169.524 36.0972 170.473 36.45 171.606 36.45C172.738 36.45 173.671 36.0972 174.406 35.3916C175.171 34.6554 175.554 33.7504 175.554 32.6767C175.554 31.603 175.171 30.7133 174.406 30.0077C173.671 29.2715 172.738 28.9033 171.606 28.9033C170.473 28.9033 169.524 29.2715 168.759 30.0077C168.024 30.7133 167.657 31.603 167.657 32.6767C167.657 33.7504 168.024 34.6554 168.759 35.3916Z" fill="#D1B3EE"/>
|
11 |
+
<path d="M241.924 4.14795V36.2674H235.496V15.376L226.912 36.2674H222.045L213.414 15.376V36.2674H206.987V4.14795H214.286L224.478 28.0304L234.67 4.14795H241.924Z" fill="#D1B3EE"/>
|
12 |
+
<path d="M246.626 23.4288C246.626 20.8518 247.131 18.5663 248.141 16.5723C249.182 14.5783 250.574 13.0444 252.318 11.9707C254.094 10.8969 256.068 10.3601 258.241 10.3601C260.139 10.3601 261.791 10.7436 263.199 11.5105C264.638 12.2775 265.786 13.2438 266.642 14.4096V10.7743H273.116V36.2673H266.642V32.54C265.816 33.7365 264.668 34.7334 263.199 35.5311C261.761 36.298 260.093 36.6815 258.195 36.6815C256.053 36.6815 254.094 36.1293 252.318 35.0249C250.574 33.9205 249.182 32.3713 248.141 30.3772C247.131 28.3525 246.626 26.0363 246.626 23.4288ZM266.642 23.5208C266.642 21.9562 266.337 20.6218 265.725 19.5174C265.112 18.3823 264.286 17.5233 263.245 16.9404C262.205 16.3269 261.087 16.0201 259.894 16.0201C258.7 16.0201 257.598 16.3116 256.588 16.8944C255.578 17.4773 254.752 18.3363 254.109 19.4713C253.497 20.5757 253.191 21.8949 253.191 23.4288C253.191 24.9627 253.497 26.3124 254.109 27.4782C254.752 28.6132 255.578 29.4876 256.588 30.1011C257.629 30.7147 258.73 31.0215 259.894 31.0215C261.087 31.0215 262.205 30.73 263.245 30.1471C264.286 29.5336 265.112 28.6746 265.725 27.5702C266.337 26.4352 266.642 25.0853 266.642 23.5208Z" fill="#D1B3EE"/>
|
13 |
+
<path d="M285.82 10.7739V36.267H279.393V10.7739H285.82Z" fill="#D1B3EE"/>
|
14 |
+
<path d="M298.598 2.21484V36.267H292.17V2.21484H298.598Z" fill="#D1B3EE"/>
|
15 |
+
<path d="M279.727 6.61331C280.492 7.3189 281.441 7.67169 282.573 7.67169C283.705 7.67169 284.639 7.3189 285.373 6.61331C286.139 5.87705 286.521 4.97206 286.521 3.89834C286.521 2.82463 286.139 1.93498 285.373 1.2294C284.639 0.49313 283.705 0.125 282.573 0.125C281.441 0.125 280.492 0.49313 279.727 1.2294C278.992 1.93498 278.625 2.82463 278.625 3.89834C278.625 4.97206 278.992 5.87705 279.727 6.61331Z" fill="white"/>
|
|
|
|
|
16 |
</svg>
|
creative-mail-plugin.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Creative Mail by
|
4 |
*
|
5 |
* @package CreativeMail
|
6 |
*/
|
7 |
/**
|
8 |
-
* Plugin Name: Creative Mail by
|
9 |
* Plugin URI: https://wordpress.org/plugins/creative-mail-by-constant-contact/
|
10 |
-
* Description: Free email marketing designed specifically for WordPress, Jetpack and WooCommerce. Send newsletters, promotions, updates and transactional e-commerce emails. Simple and easy, powered by
|
11 |
-
* Author:
|
12 |
-
* Version: 1.6.
|
13 |
-
* Author URI: https://
|
14 |
* WC requires at least: 3.6.0
|
15 |
* WC tested up to: 6.8.2
|
16 |
*/
|
@@ -20,7 +20,7 @@ use CreativeMail\Blocks\LoadBlock;
|
|
20 |
define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
|
21 |
define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
|
22 |
define('CE4WP_PLUGIN_FILE', __FILE__);
|
23 |
-
define('CE4WP_PLUGIN_VERSION', '1.6.
|
24 |
define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
|
25 |
define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
|
26 |
define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
|
@@ -37,7 +37,7 @@ define('CE4WP_CHECKOUT_CHECKBOX_ENABLED', 'ce4wp_checkout_checkbox_enabled');
|
|
37 |
define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
|
38 |
define('CE4WP_APP_URL', 'https://app.creativemail.com/');
|
39 |
define('CE4WP_ENVIRONMENT', 'PRODUCTION');
|
40 |
-
define('CE4WP_BUILD_NUMBER', '
|
41 |
define('CE4WP_RAYGUN_PHP_KEY', 'Z85xL3mkgnW13Ri9DajGUg');
|
42 |
define('CE4WP_BATCH_SIZE', 500);
|
43 |
define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Creative Mail by Newfold Digital
|
4 |
*
|
5 |
* @package CreativeMail
|
6 |
*/
|
7 |
/**
|
8 |
+
* Plugin Name: Creative Mail by Newfold Digital
|
9 |
* Plugin URI: https://wordpress.org/plugins/creative-mail-by-constant-contact/
|
10 |
+
* Description: Free email marketing designed specifically for WordPress, Jetpack and WooCommerce. Send newsletters, promotions, updates and transactional e-commerce emails. Simple and easy, powered by Newfold Digital’s rock solid reliability.
|
11 |
+
* Author: Newfold Digital
|
12 |
+
* Version: 1.6.4
|
13 |
+
* Author URI: https://newfold.com/
|
14 |
* WC requires at least: 3.6.0
|
15 |
* WC tested up to: 6.8.2
|
16 |
*/
|
20 |
define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
|
21 |
define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
|
22 |
define('CE4WP_PLUGIN_FILE', __FILE__);
|
23 |
+
define('CE4WP_PLUGIN_VERSION', '1.6.4');
|
24 |
define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
|
25 |
define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
|
26 |
define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
|
37 |
define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
|
38 |
define('CE4WP_APP_URL', 'https://app.creativemail.com/');
|
39 |
define('CE4WP_ENVIRONMENT', 'PRODUCTION');
|
40 |
+
define('CE4WP_BUILD_NUMBER', '1972');
|
41 |
define('CE4WP_RAYGUN_PHP_KEY', 'Z85xL3mkgnW13Ri9DajGUg');
|
42 |
define('CE4WP_BATCH_SIZE', 500);
|
43 |
define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Creative Mail – Easier WordPress & WooCommerce Email Marketing ===
|
2 |
-
Contributors:
|
3 |
-
Tags: email, marketing, newsletter, subscribe, contact form,
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 6.1
|
6 |
-
Stable tag: 1.6.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 7.2
|
@@ -21,15 +21,14 @@ Our intelligent (and super fun) email editor simplifies email marketing campaign
|
|
21 |
|
22 |
It’s perfect for automatic blog post syndication, newsletters and announcements, event promotion, WooCommerce product specials, retargeting ecommerce shoppers, sending postcards, providing updates and more.
|
23 |
|
24 |
-
Create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of
|
25 |
|
26 |
## CREATIVE MAIL IS:
|
27 |
1. Incredibly easy WordPress email marketing
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
1. Fun, which makes life way better
|
33 |
|
34 |
### [VIEW OUR DETAILED FEATURES](https://www.creativemail.com/plans)
|
35 |
|
@@ -41,7 +40,7 @@ Turn your WooCommerce store and your WordPress site into efficient marketing eng
|
|
41 |
- **Jetpack Forms Integration:** Collect, sync, and manage opt-in subscribers directly from Jetpack forms into Creative Mail.
|
42 |
- **Build Better Branding:** Creative Mail includes our free LogoBuilder and image editing suite to enhance your brand.
|
43 |
- **Amazing Stock Images:** You get free access to the completely integrated photo library (in addition to your own WordPress media library) to make amazing email marketing campaigns with award-winning images.
|
44 |
-
- **Get Better Deliverability:** Other email marketing solutions require complex SMTP solutions, external gateways or have you sending from their less than stellar IPs. As a result, your emails can get bounced or never delivered. Creative Mail is an all-in-one solution that uses
|
45 |
- **Live Support:** With our paid plans (Awesome & Ultimate) you get access to phone and chat support to help you get answers from real live, helpful humans. Imagine that!
|
46 |
|
47 |
### [OPT-IN EMAIL FORMS](https://www.creativemail.com):
|
@@ -73,7 +72,7 @@ Turn your WooCommerce store and your WordPress site into efficient marketing eng
|
|
73 |
### [CAMPAIGNS](https://www.creativemail.com):
|
74 |
- **AI Emails:** Forget templates, let our A.I. build your email marketing campaigns for you. Pull in WordPress posts or WooCommerce products for sale, and you’re good to go. Let our robots do your bidding!
|
75 |
- **Email Campaign Creation:** Build your email marketing campaigns in seconds from your WordPress admin dashboard.
|
76 |
-
- **Awesome Deliverability:** All email marketing campaigns are sent and delivered by the award-winning power of
|
77 |
- **Automated Email Marketing:** Send multistep email campaigns automatically, with triggers you define, whether that’s based on time, a customer birthday or behavioral actions. Create a flow to welcome your customers and send a special discount and reminder on their birthday.
|
78 |
|
79 |
### [EMAIL LIST MANAGEMENT](https://www.creativemail.com):
|
@@ -90,8 +89,8 @@ Turn your WooCommerce store and your WordPress site into efficient marketing eng
|
|
90 |
## TERMS OF SERVICE & PRIVACY NOTICE
|
91 |
On behalf of our lawyers (seriously, they’re nice people), please feel free to review our:
|
92 |
|
93 |
-
Creative Mail
|
94 |
-
Creative Mail
|
95 |
|
96 |
== Screenshots ==
|
97 |
1. Your all-in-one dashboard
|
@@ -102,6 +101,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
|
|
102 |
6. Enhance your brand with LogoBuilder
|
103 |
|
104 |
== Changelog ==
|
|
|
105 |
* 1.6.3 - Hotfix: Fixed a bug where the plugin was not working on some servers.
|
106 |
* 1.6.2 - Security updates and removal of Unsupported Plugin (Caldera Forms)
|
107 |
* 1.6.1 - Security update
|
@@ -154,7 +154,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
|
|
154 |
- The plugin can be installed on regular WordPress environments and also on WordPress.com sites.
|
155 |
|
156 |
= What does the Creative Mail plugin do? =
|
157 |
-
The Creative mail plugin allows you to create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of
|
158 |
Our intelligent (and super fun) email editor simplifies email marketing campaign creation and pulls your WordPress blog posts, website images and WooCommerce products right into your email content. Leads from your WordPress website, ecommerce store and contact forms are automatically captured and routed into our included Contacts CRM and synced with your email marketing lists.
|
159 |
It’s perfect for automatic blog post syndication, newsletters and announcements, event promotion, WooCommerce product specials, retargeting ecommerce shoppers, sending postcards, providing updates and more.
|
160 |
|
1 |
=== Creative Mail – Easier WordPress & WooCommerce Email Marketing ===
|
2 |
+
Contributors: Newfold Digital
|
3 |
+
Tags: email, marketing, newsletter, subscribe, contact form, crm, automations, campaigns, ecommerce, promotion, offers, retargeting, newfold, newfold digital, correo electronico
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 6.1
|
6 |
+
Stable tag: 1.6.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 7.2
|
21 |
|
22 |
It’s perfect for automatic blog post syndication, newsletters and announcements, event promotion, WooCommerce product specials, retargeting ecommerce shoppers, sending postcards, providing updates and more.
|
23 |
|
24 |
+
Create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of Newfold Digital.
|
25 |
|
26 |
## CREATIVE MAIL IS:
|
27 |
1. Incredibly easy WordPress email marketing
|
28 |
+
2. Deeply connected to your website & WooCommerce store
|
29 |
+
3. Accessed from within your WP Admin Dashboard
|
30 |
+
4. Automatically syncing your contacts and building your marketing lists
|
31 |
+
5. Fun, which makes life way better
|
|
|
32 |
|
33 |
### [VIEW OUR DETAILED FEATURES](https://www.creativemail.com/plans)
|
34 |
|
40 |
- **Jetpack Forms Integration:** Collect, sync, and manage opt-in subscribers directly from Jetpack forms into Creative Mail.
|
41 |
- **Build Better Branding:** Creative Mail includes our free LogoBuilder and image editing suite to enhance your brand.
|
42 |
- **Amazing Stock Images:** You get free access to the completely integrated photo library (in addition to your own WordPress media library) to make amazing email marketing campaigns with award-winning images.
|
43 |
+
- **Get Better Deliverability:** Other email marketing solutions require complex SMTP solutions, external gateways or have you sending from their less than stellar IPs. As a result, your emails can get bounced or never delivered. Creative Mail is an all-in-one solution that uses a rock solid infrastructure, for superior deliverability. Boom! ‘nuff said.
|
44 |
- **Live Support:** With our paid plans (Awesome & Ultimate) you get access to phone and chat support to help you get answers from real live, helpful humans. Imagine that!
|
45 |
|
46 |
### [OPT-IN EMAIL FORMS](https://www.creativemail.com):
|
72 |
### [CAMPAIGNS](https://www.creativemail.com):
|
73 |
- **AI Emails:** Forget templates, let our A.I. build your email marketing campaigns for you. Pull in WordPress posts or WooCommerce products for sale, and you’re good to go. Let our robots do your bidding!
|
74 |
- **Email Campaign Creation:** Build your email marketing campaigns in seconds from your WordPress admin dashboard.
|
75 |
+
- **Awesome Deliverability:** All email marketing campaigns are sent and delivered by the award-winning power of Newfold Digital technology. We got you.
|
76 |
- **Automated Email Marketing:** Send multistep email campaigns automatically, with triggers you define, whether that’s based on time, a customer birthday or behavioral actions. Create a flow to welcome your customers and send a special discount and reminder on their birthday.
|
77 |
|
78 |
### [EMAIL LIST MANAGEMENT](https://www.creativemail.com):
|
89 |
## TERMS OF SERVICE & PRIVACY NOTICE
|
90 |
On behalf of our lawyers (seriously, they’re nice people), please feel free to review our:
|
91 |
|
92 |
+
Creative Mail [Terms of Service](https://www.bluehost.com/terms/user-agreement)
|
93 |
+
Creative Mail [Privacy Notice](https://newfold.com/privacy-center)
|
94 |
|
95 |
== Screenshots ==
|
96 |
1. Your all-in-one dashboard
|
101 |
6. Enhance your brand with LogoBuilder
|
102 |
|
103 |
== Changelog ==
|
104 |
+
* 1.6.4 - Branding refactor
|
105 |
* 1.6.3 - Hotfix: Fixed a bug where the plugin was not working on some servers.
|
106 |
* 1.6.2 - Security updates and removal of Unsupported Plugin (Caldera Forms)
|
107 |
* 1.6.1 - Security update
|
154 |
- The plugin can be installed on regular WordPress environments and also on WordPress.com sites.
|
155 |
|
156 |
= What does the Creative Mail plugin do? =
|
157 |
+
The Creative mail plugin allows you to create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of Newfold Digital.
|
158 |
Our intelligent (and super fun) email editor simplifies email marketing campaign creation and pulls your WordPress blog posts, website images and WooCommerce products right into your email content. Leads from your WordPress website, ecommerce store and contact forms are automatically captured and routed into our included Contacts CRM and synced with your email marketing lists.
|
159 |
It’s perfect for automatic blog post syndication, newsletters and announcements, event promotion, WooCommerce product specials, retargeting ecommerce shoppers, sending postcards, providing updates and more.
|
160 |
|
src/Managers/CheckoutManager.php
CHANGED
@@ -482,6 +482,7 @@ final class CheckoutManager {
|
|
482 |
$cart_coupons = WC()->cart->get_applied_coupons();
|
483 |
$shipping_total = WC()->cart->get_shipping_total();
|
484 |
$shipping_taxes = WC()->cart->get_shipping_taxes();
|
|
|
485 |
|
486 |
$checkout_content = array(
|
487 |
self::PRODUCTS => array_values( $cart_products ),
|
@@ -494,7 +495,7 @@ final class CheckoutManager {
|
|
494 |
|
495 |
// Remote post to CE4WP create or update cart if email is provided.
|
496 |
$requestItem = new CheckoutSave();
|
497 |
-
$requestItem->data = wp_json_encode($this->get_cart_data_for_endpoint( $
|
498 |
$requestItem->uuid = ! is_array($uuid) ? $uuid : '';
|
499 |
$requestItem->user_id = $user_id;
|
500 |
$requestItem->billing_email = $billing_email;
|
@@ -510,92 +511,40 @@ final class CheckoutManager {
|
|
510 |
/**
|
511 |
* Get cart object with data for each product and coupon.
|
512 |
*
|
513 |
-
* @param
|
514 |
-
* @param array
|
515 |
-
* @param
|
516 |
-
* @param array $shipping_taxes Shipping taxes.
|
517 |
*
|
518 |
* @return CartData
|
519 |
*
|
520 |
* @since 1.3.0
|
521 |
*/
|
522 |
-
private function get_cart_data_for_endpoint(
|
523 |
-
|
524 |
-
|
525 |
-
float $shipping_total = 0.00,
|
526 |
-
array $shipping_taxes = array()
|
527 |
-
): CartData {
|
528 |
-
$decimal_point = 2;
|
529 |
-
$data = new CartData();
|
530 |
-
$data->products = array();
|
531 |
-
$data->coupons = array();
|
532 |
-
$data->currency_symbol = get_woocommerce_currency_symbol();
|
533 |
-
$data->currency = get_woocommerce_currency();
|
534 |
-
$data->shipping_total = $shipping_total;
|
535 |
-
$data->shipping_taxes = $shipping_taxes;
|
536 |
-
$data->user = new User();
|
537 |
|
538 |
try {
|
539 |
// Get user first and last name of available.
|
540 |
$current_user = wp_get_current_user();
|
541 |
if ( $current_user->exists() ) {
|
542 |
-
$data->
|
543 |
-
$data->
|
544 |
-
$data->
|
545 |
-
$data->
|
546 |
-
$data->
|
547 |
-
$data->
|
548 |
}
|
549 |
|
550 |
foreach ( $cart_products as $value ) {
|
551 |
-
$
|
552 |
-
$
|
553 |
-
$product_data = array(
|
554 |
-
'images' => array(),
|
555 |
-
);
|
556 |
-
$attachment_ids = $product->get_gallery_image_ids();
|
557 |
-
foreach ( $attachment_ids as $attachment_id ) {
|
558 |
-
$product_data['images'][] = wp_get_attachment_url( $attachment_id );
|
559 |
-
}
|
560 |
-
|
561 |
-
$product_data['on_sale'] = $product->is_on_sale();
|
562 |
-
$product_data['sale_price'] = $product->get_sale_price();
|
563 |
-
$product_data['regular_price'] = $product->get_regular_price();
|
564 |
-
$src = wc_placeholder_img_src();
|
565 |
-
$image_id = $product->get_image_id();
|
566 |
-
|
567 |
-
if ( $image_id ) {
|
568 |
-
$image_src = wp_get_attachment_image_src( $image_id, 'full' );
|
569 |
-
list( $src ) = ( ! is_bool($image_src) ? $image_src : array( '' ) );
|
570 |
-
}
|
571 |
-
|
572 |
-
$line_subtotal = empty( $value['line_subtotal'] ) ? 0 : $value['line_subtotal'];
|
573 |
-
$line_subtotal_tax = empty( $value['line_subtotal_tax'] ) ? 0 : $value['line_subtotal_tax'];
|
574 |
-
$line_total = empty( $value['line_total'] ) ? 0 : $value['line_total'];
|
575 |
-
$line_tax = empty( $value['line_tax'] ) ? 0 : $value['line_tax'];
|
576 |
-
|
577 |
-
$data->products[] = array(
|
578 |
-
'name' => $product->get_name(),
|
579 |
-
'product_id' => $product_id,
|
580 |
-
'product_image' => $src,
|
581 |
-
'product_data' => $product_data,
|
582 |
-
'sku' => ( ! is_bool($product) && ! empty($product) ? $product->get_sku() : null ),
|
583 |
-
'product_url' => get_the_permalink( $product_id ),
|
584 |
-
'variation_id' => $value[ self::VARIATION_ID ],
|
585 |
-
'subtotal' => wc_format_decimal( $line_subtotal, $decimal_point ),
|
586 |
-
'subtotal_tax' => wc_format_decimal( $line_subtotal_tax, $decimal_point ),
|
587 |
-
'total' => wc_format_decimal( $line_total, $decimal_point ),
|
588 |
-
'total_tax' => wc_format_decimal( $line_tax, $decimal_point ),
|
589 |
-
'price' => wc_format_decimal( $line_subtotal, $decimal_point ),
|
590 |
-
'quantity' => $value[ self::QUANTITY ],
|
591 |
-
);
|
592 |
}
|
593 |
|
594 |
foreach ( $cart_coupons as $coupon_code ) {
|
595 |
$coupon_id = wc_get_coupon_id_by_code( $coupon_code );
|
596 |
if ( $coupon_id ) {
|
597 |
$wooCommerceCoupon = new WC_Coupon( $coupon_id );
|
598 |
-
$
|
599 |
new Coupon(
|
600 |
$wooCommerceCoupon->get_code(),
|
601 |
$wooCommerceCoupon->get_amount(),
|
@@ -604,6 +553,7 @@ final class CheckoutManager {
|
|
604 |
$wooCommerceCoupon->get_free_shipping()
|
605 |
),
|
606 |
);
|
|
|
607 |
}
|
608 |
}
|
609 |
} catch ( Exception $e ) {
|
@@ -679,6 +629,11 @@ final class CheckoutManager {
|
|
679 |
exit();
|
680 |
}
|
681 |
|
|
|
|
|
|
|
|
|
|
|
682 |
public function return_to_shop(): void {
|
683 |
wp_safe_redirect( wc_get_page_permalink( 'shop' ) );
|
684 |
exit();
|
@@ -709,7 +664,7 @@ final class CheckoutManager {
|
|
709 |
*
|
710 |
* @param array $products Array of product data.
|
711 |
*
|
712 |
-
* @throws Exception
|
713 |
*
|
714 |
* @since 1.3.0
|
715 |
*/
|
@@ -851,6 +806,13 @@ final class CheckoutManager {
|
|
851 |
return null;
|
852 |
}
|
853 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
854 |
private function get_opt_out( $products_detail ) {
|
855 |
$checkbox_value = $this->get_opt_in_checkbox_value( $products_detail );
|
856 |
|
@@ -860,6 +822,11 @@ final class CheckoutManager {
|
|
860 |
return null;
|
861 |
}
|
862 |
|
|
|
|
|
|
|
|
|
|
|
863 |
public function add_order_completed_wc_hooks(): void {
|
864 |
add_action( 'woocommerce_order_status_completed', array( $this, 'order_completed_trigger_wc_hook' ), 10, 1 );
|
865 |
}
|
@@ -1045,4 +1012,60 @@ final class CheckoutManager {
|
|
1045 |
RaygunManager::get_instance()->exception_handler( $e );
|
1046 |
}
|
1047 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1048 |
}
|
482 |
$cart_coupons = WC()->cart->get_applied_coupons();
|
483 |
$shipping_total = WC()->cart->get_shipping_total();
|
484 |
$shipping_taxes = WC()->cart->get_shipping_taxes();
|
485 |
+
$data = new CartData( $shipping_total, $shipping_taxes );
|
486 |
|
487 |
$checkout_content = array(
|
488 |
self::PRODUCTS => array_values( $cart_products ),
|
495 |
|
496 |
// Remote post to CE4WP create or update cart if email is provided.
|
497 |
$requestItem = new CheckoutSave();
|
498 |
+
$requestItem->data = wp_json_encode( $this->get_cart_data_for_endpoint( $data, $cart_products, $cart_coupons ) );
|
499 |
$requestItem->uuid = ! is_array($uuid) ? $uuid : '';
|
500 |
$requestItem->user_id = $user_id;
|
501 |
$requestItem->billing_email = $billing_email;
|
511 |
/**
|
512 |
* Get cart object with data for each product and coupon.
|
513 |
*
|
514 |
+
* @param CartData $data Cart data object to receive products information.
|
515 |
+
* @param array $cart_products List of products in cart.
|
516 |
+
* @param array $cart_coupons List of coupons in cart.
|
|
|
517 |
*
|
518 |
* @return CartData
|
519 |
*
|
520 |
* @since 1.3.0
|
521 |
*/
|
522 |
+
private function get_cart_data_for_endpoint( CartData $data, $cart_products, $cart_coupons ): CartData {
|
523 |
+
$data->set_currency_symbol( get_woocommerce_currency_symbol() );
|
524 |
+
$data->set_currency( get_woocommerce_currency() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
525 |
|
526 |
try {
|
527 |
// Get user first and last name of available.
|
528 |
$current_user = wp_get_current_user();
|
529 |
if ( $current_user->exists() ) {
|
530 |
+
$data->set_user_id($current_user->ID);
|
531 |
+
$data->set_user_username( $current_user->user_login );
|
532 |
+
$data->set_user_display_name( $current_user->display_name );
|
533 |
+
$data->set_user_first_name( $current_user->user_firstname );
|
534 |
+
$data->set_user_last_name( $current_user->user_lastname );
|
535 |
+
$data->set_user_email($current_user->user_email);
|
536 |
}
|
537 |
|
538 |
foreach ( $cart_products as $value ) {
|
539 |
+
$products_data = $this->format_product_data( $value );
|
540 |
+
$data->set_products_data( $products_data );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
}
|
542 |
|
543 |
foreach ( $cart_coupons as $coupon_code ) {
|
544 |
$coupon_id = wc_get_coupon_id_by_code( $coupon_code );
|
545 |
if ( $coupon_id ) {
|
546 |
$wooCommerceCoupon = new WC_Coupon( $coupon_id );
|
547 |
+
$coupon_data = array(
|
548 |
new Coupon(
|
549 |
$wooCommerceCoupon->get_code(),
|
550 |
$wooCommerceCoupon->get_amount(),
|
553 |
$wooCommerceCoupon->get_free_shipping()
|
554 |
),
|
555 |
);
|
556 |
+
$data->set_coupons_data( $coupon_data );
|
557 |
}
|
558 |
}
|
559 |
} catch ( Exception $e ) {
|
629 |
exit();
|
630 |
}
|
631 |
|
632 |
+
/**
|
633 |
+
* Safely returns to shop Page.
|
634 |
+
*
|
635 |
+
* @return void
|
636 |
+
*/
|
637 |
public function return_to_shop(): void {
|
638 |
wp_safe_redirect( wc_get_page_permalink( 'shop' ) );
|
639 |
exit();
|
664 |
*
|
665 |
* @param array $products Array of product data.
|
666 |
*
|
667 |
+
* @throws Exception If product is not found.
|
668 |
*
|
669 |
* @since 1.3.0
|
670 |
*/
|
806 |
return null;
|
807 |
}
|
808 |
|
809 |
+
/**
|
810 |
+
* Returns if it's an OptOut value.
|
811 |
+
*
|
812 |
+
* @param mixed $products_detail The products detail.
|
813 |
+
*
|
814 |
+
* @return bool|null
|
815 |
+
*/
|
816 |
private function get_opt_out( $products_detail ) {
|
817 |
$checkbox_value = $this->get_opt_in_checkbox_value( $products_detail );
|
818 |
|
822 |
return null;
|
823 |
}
|
824 |
|
825 |
+
/**
|
826 |
+
* Adds the Order Completed WC Hooks.
|
827 |
+
*
|
828 |
+
* @return void
|
829 |
+
*/
|
830 |
public function add_order_completed_wc_hooks(): void {
|
831 |
add_action( 'woocommerce_order_status_completed', array( $this, 'order_completed_trigger_wc_hook' ), 10, 1 );
|
832 |
}
|
1012 |
RaygunManager::get_instance()->exception_handler( $e );
|
1013 |
}
|
1014 |
}
|
1015 |
+
|
1016 |
+
/**
|
1017 |
+
* Formats de products raw data into a more readable format.
|
1018 |
+
*
|
1019 |
+
* @param mixed[] $product_raw_data The raw data of the product.
|
1020 |
+
*
|
1021 |
+
* @return array
|
1022 |
+
*/
|
1023 |
+
private function format_product_data( $product_raw_data ) {
|
1024 |
+
$decimal_point = 2;
|
1025 |
+
$product = array_key_exists( 'data', $product_raw_data )
|
1026 |
+
? $product_raw_data['data']
|
1027 |
+
: wc_get_product( $product_raw_data[ self::PRODUCT_ID ] );
|
1028 |
+
|
1029 |
+
$product_id = $product->get_id();
|
1030 |
+
$attachment_ids = $product->get_gallery_image_ids();
|
1031 |
+
$product_data = array(
|
1032 |
+
'images' => array(),
|
1033 |
+
);
|
1034 |
+
|
1035 |
+
foreach ( $attachment_ids as $attachment_id ) {
|
1036 |
+
$product_data['images'][] = wp_get_attachment_url( $attachment_id );
|
1037 |
+
}
|
1038 |
+
|
1039 |
+
$product_data['on_sale'] = $product->is_on_sale();
|
1040 |
+
$product_data['sale_price'] = $product->get_sale_price();
|
1041 |
+
$product_data['regular_price'] = $product->get_regular_price();
|
1042 |
+
$src = wc_placeholder_img_src();
|
1043 |
+
$image_id = $product->get_image_id();
|
1044 |
+
|
1045 |
+
if ( $image_id ) {
|
1046 |
+
$image_src = wp_get_attachment_image_src( $image_id, 'full' );
|
1047 |
+
list( $src ) = ( ! is_bool($image_src) ? $image_src : array( '' ) );
|
1048 |
+
}
|
1049 |
+
|
1050 |
+
$line_subtotal = empty( $value['line_subtotal'] ) ? 0 : $value['line_subtotal'];
|
1051 |
+
$line_subtotal_tax = empty( $value['line_subtotal_tax'] ) ? 0 : $value['line_subtotal_tax'];
|
1052 |
+
$line_total = empty( $value['line_total'] ) ? 0 : $value['line_total'];
|
1053 |
+
$line_tax = empty( $value['line_tax'] ) ? 0 : $value['line_tax'];
|
1054 |
+
|
1055 |
+
return array(
|
1056 |
+
'name' => $product->get_name(),
|
1057 |
+
'product_id' => $product_id,
|
1058 |
+
'product_image' => $src,
|
1059 |
+
'product_data' => $product_data,
|
1060 |
+
'sku' => ( ! is_bool($product) && ! empty($product) ? $product->get_sku() : null ),
|
1061 |
+
'product_url' => get_the_permalink( $product_id ),
|
1062 |
+
'variation_id' => $value[ self::VARIATION_ID ],
|
1063 |
+
'subtotal' => wc_format_decimal( $line_subtotal, $decimal_point ),
|
1064 |
+
'subtotal_tax' => wc_format_decimal( $line_subtotal_tax, $decimal_point ),
|
1065 |
+
'total' => wc_format_decimal( $line_total, $decimal_point ),
|
1066 |
+
'total_tax' => wc_format_decimal( $line_tax, $decimal_point ),
|
1067 |
+
'price' => wc_format_decimal( $line_subtotal, $decimal_point ),
|
1068 |
+
'quantity' => $value[ self::QUANTITY ],
|
1069 |
+
);
|
1070 |
+
}
|
1071 |
}
|
src/Models/CartData.php
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
|
3 |
namespace CreativeMail\Models;
|
4 |
|
|
|
|
|
|
|
5 |
final class CartData {
|
6 |
|
7 |
/**
|
@@ -52,4 +55,128 @@ final class CartData {
|
|
52 |
* @var mixed
|
53 |
*/
|
54 |
public $shipping_taxes;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
}
|
2 |
|
3 |
namespace CreativeMail\Models;
|
4 |
|
5 |
+
/**
|
6 |
+
* Class CartData
|
7 |
+
*/
|
8 |
final class CartData {
|
9 |
|
10 |
/**
|
55 |
* @var mixed
|
56 |
*/
|
57 |
public $shipping_taxes;
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Cart Data constructor.
|
61 |
+
*
|
62 |
+
* @param float $shipping_total Cart Shipping Total.
|
63 |
+
* @param mixed $shipping_taxes Cart Shipping Taxes.
|
64 |
+
*/
|
65 |
+
public function __construct( float $shipping_total, $shipping_taxes ) {
|
66 |
+
$this->coupons = array();
|
67 |
+
$this->products = array();
|
68 |
+
$this->user = new User();
|
69 |
+
$this->shipping_total = $shipping_total;
|
70 |
+
$this->shipping_taxes = $shipping_taxes;
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Sets the user ID
|
75 |
+
*
|
76 |
+
* @param int $user_id User ID.
|
77 |
+
*
|
78 |
+
* @return void
|
79 |
+
*/
|
80 |
+
public function set_user_id( int $user_id ) {
|
81 |
+
$this->user->id = $user_id;
|
82 |
+
}
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Set the user's email address
|
86 |
+
*
|
87 |
+
* @param string $user_email User email address.
|
88 |
+
*
|
89 |
+
* @return void
|
90 |
+
*/
|
91 |
+
public function set_user_email( string $user_email ) {
|
92 |
+
$this->user->email = $user_email;
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Sets the user's first name.
|
97 |
+
*
|
98 |
+
* @param string $user_first_name User first name.
|
99 |
+
*
|
100 |
+
* @return void
|
101 |
+
*/
|
102 |
+
public function set_user_first_name( string $user_first_name ) {
|
103 |
+
$this->user->first_name = $user_first_name;
|
104 |
+
}
|
105 |
+
|
106 |
+
/**
|
107 |
+
* Sets the User's last name
|
108 |
+
*
|
109 |
+
* @param string $user_last_name The User's last name.
|
110 |
+
*
|
111 |
+
* @return void
|
112 |
+
*/
|
113 |
+
public function set_user_last_name( string $user_last_name ) {
|
114 |
+
$this->user->last_name = $user_last_name;
|
115 |
+
}
|
116 |
+
|
117 |
+
/**
|
118 |
+
* Sets the username of the user.
|
119 |
+
*
|
120 |
+
* @param string $user_username The username of the user.
|
121 |
+
*
|
122 |
+
* @return void
|
123 |
+
*/
|
124 |
+
public function set_user_username( string $user_username ) {
|
125 |
+
$this->user->username = $user_username;
|
126 |
+
}
|
127 |
+
|
128 |
+
/**
|
129 |
+
* Sets the user Display Name from WordPress.
|
130 |
+
*
|
131 |
+
* @param string $user_display_name The user's display name.
|
132 |
+
*
|
133 |
+
* @return void
|
134 |
+
*/
|
135 |
+
public function set_user_display_name( string $user_display_name ) {
|
136 |
+
$this->user->display_name = $user_display_name;
|
137 |
+
}
|
138 |
+
|
139 |
+
/**
|
140 |
+
* Sets the Array of Coupons
|
141 |
+
*
|
142 |
+
* @param array $products_data Array products data.
|
143 |
+
*
|
144 |
+
* @return void
|
145 |
+
*/
|
146 |
+
public function set_products_data( array $products_data ) {
|
147 |
+
$this->products[] = $products_data;
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Sets the coupons' data.
|
152 |
+
*
|
153 |
+
* @param array $coupons_data Array of coupons.
|
154 |
+
*
|
155 |
+
* @return void
|
156 |
+
*/
|
157 |
+
public function set_coupons_data( array $coupons_data ) {
|
158 |
+
$this->coupons[] = $coupons_data;
|
159 |
+
}
|
160 |
+
|
161 |
+
/**
|
162 |
+
* Sets the currency.
|
163 |
+
*
|
164 |
+
* @param string $currency The currency.
|
165 |
+
*
|
166 |
+
* @return void
|
167 |
+
*/
|
168 |
+
public function set_currency( string $currency ) {
|
169 |
+
$this->currency = $currency;
|
170 |
+
}
|
171 |
+
|
172 |
+
/**
|
173 |
+
* Sets the currency symbol.
|
174 |
+
*
|
175 |
+
* @param string $currency_symbol The currency symbol.
|
176 |
+
*
|
177 |
+
* @return void
|
178 |
+
*/
|
179 |
+
public function set_currency_symbol( string $currency_symbol ) {
|
180 |
+
$this->currency_symbol = $currency_symbol;
|
181 |
+
}
|
182 |
}
|
src/Modules/Contacts/Services/ContactsSyncService.php
CHANGED
@@ -57,18 +57,17 @@ class ContactsSyncService {
|
|
57 |
|
58 |
$creativ_email = CreativeMail::get_instance();
|
59 |
|
60 |
-
$
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
|
69 |
// Start the queue.
|
70 |
$creativ_email->get_api_manager()->get_api_background_process()->save()->dispatch();
|
71 |
-
|
72 |
return true;
|
73 |
}
|
74 |
|
57 |
|
58 |
$creativ_email = CreativeMail::get_instance();
|
59 |
|
60 |
+
$creativ_email->get_api_manager()->get_api_background_process()->push_to_queue(
|
61 |
+
new ApiRequestItem(
|
62 |
+
'POST',
|
63 |
+
'application/json',
|
64 |
+
'/v1.0/contacts',
|
65 |
+
$jsonData
|
66 |
+
)
|
67 |
+
);
|
68 |
|
69 |
// Start the queue.
|
70 |
$creativ_email->get_api_manager()->get_api_background_process()->save()->dispatch();
|
|
|
71 |
return true;
|
72 |
}
|
73 |
|
src/views/activated-integrations.php
CHANGED
@@ -162,7 +162,7 @@ $activated_templates = CreativeMail::get_instance()->get_email_manager()->get
|
|
162 |
<?php esc_html_e('I have the consent of each contact on my list', 'creative-mail-by-constant-contact'); ?>
|
163 |
</h4>
|
164 |
<span>
|
165 |
-
<?php esc_html_e( 'You must have the prior consent of each contact added to your
|
166 |
</span>
|
167 |
</div>
|
168 |
<h4 class="ce4wp-typography-root ce4wp-typography-h4">
|
162 |
<?php esc_html_e('I have the consent of each contact on my list', 'creative-mail-by-constant-contact'); ?>
|
163 |
</h4>
|
164 |
<span>
|
165 |
+
<?php esc_html_e( 'You must have the prior consent of each contact added to your Newfold Digital account. Your account cannot contain purchased, rented, third party or appended lists. In addition, you may not add auto-response addresses, transactional addresses, or user group addresses.', 'creative-mail-by-constant-contact'); ?>
|
166 |
</span>
|
167 |
</div>
|
168 |
<h4 class="ce4wp-typography-root ce4wp-typography-h4">
|
src/views/onboarding-content.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
</div>
|
14 |
<div class="ce4wp-list-item-text-root ce4wp-d-flex ce4wp-flex-column ce4wp-m-0">
|
15 |
<p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
|
16 |
-
<?php esc_html_e('By using Creative Mail you’ll share basic information about your site (including your site name and URL) with
|
17 |
</p>
|
18 |
</div>
|
19 |
</li>
|
13 |
</div>
|
14 |
<div class="ce4wp-list-item-text-root ce4wp-d-flex ce4wp-flex-column ce4wp-m-0">
|
15 |
<p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
|
16 |
+
<?php esc_html_e('By using Creative Mail you’ll share basic information about your site (including your site name and URL) with Newfold Digital so that we can retrieve your blog posts, media files and store products for use in your emails;', 'creative-mail-by-constant-contact'); ?>
|
17 |
</p>
|
18 |
</div>
|
19 |
</li>
|
src/views/pending-setup.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
|
2 |
-
<?php esc_html_e( 'Power your WooCommerce Store or WordPress Blog with simple & free email marketing
|
3 |
With the official Creative Mail for WooCommerce plugin, your products, blog posts, images and store links
|
4 |
are automatically included as rich shoppable email marketing content for your customers.', 'creative-mail-by-constant-contact' ); ?>
|
5 |
</p>
|
@@ -10,7 +10,7 @@
|
|
10 |
?>
|
11 |
</p>
|
12 |
<p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
|
13 |
-
<?php esc_html_e( 'Get free email marketing, 98% deliverability, and
|
14 |
</p>
|
15 |
<p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
|
16 |
<?php esc_html_e( 'Having problems setting up your account, click the \'reset\' button below to start over.', 'creative-mail-by-constant-contact' ); ?>
|
1 |
<p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
|
2 |
+
<?php esc_html_e( 'Power your WooCommerce Store or WordPress Blog with our simple & free email marketing tool.
|
3 |
With the official Creative Mail for WooCommerce plugin, your products, blog posts, images and store links
|
4 |
are automatically included as rich shoppable email marketing content for your customers.', 'creative-mail-by-constant-contact' ); ?>
|
5 |
</p>
|
10 |
?>
|
11 |
</p>
|
12 |
<p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
|
13 |
+
<?php esc_html_e( 'Get free email marketing, 98% deliverability, and the rock solid reliability all without ever needing to leave your WP Admin.', 'creative-mail-by-constant-contact' ); ?>
|
14 |
</p>
|
15 |
<p class="ce4wp-typography-root ce4wp-body2 ce4wp-mt-3" style="color: rgba(0, 0, 0, 0.6);">
|
16 |
<?php esc_html_e( 'Having problems setting up your account, click the \'reset\' button below to start over.', 'creative-mail-by-constant-contact' ); ?>
|
src/views/settings.php
CHANGED
@@ -66,7 +66,7 @@ if ( isset ( $_SERVER['REQUEST_METHOD'] ) && 'POST' === $_SERVER['REQUEST_METHOD
|
|
66 |
<div class="ce4wp-card">
|
67 |
<div class="ce4wp-px-4 ce4wp-py-4">
|
68 |
<h2 class="ce4wp-typography-root ce4wp-typography-h2 ce4wp-mb-2">
|
69 |
-
<?php esc_html_e( 'Creative Mail
|
70 |
</h2>
|
71 |
|
72 |
<?php
|
66 |
<div class="ce4wp-card">
|
67 |
<div class="ce4wp-px-4 ce4wp-py-4">
|
68 |
<h2 class="ce4wp-typography-root ce4wp-typography-h2 ce4wp-mb-2">
|
69 |
+
<?php esc_html_e( 'Creative Mail does it all!', 'creative-mail-by-constant-contact' ); ?>
|
70 |
</h2>
|
71 |
|
72 |
<?php
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit291c8f239b8d6fc41e800cf0e24b998e::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInite639b008930e18226c19e278c292e028
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit291c8f239b8d6fc41e800cf0e24b998e
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit291c8f239b8d6fc41e800cf0e24b998e', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit291c8f239b8d6fc41e800cf0e24b998e', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit291c8f239b8d6fc41e800cf0e24b998e::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'F' =>
|
@@ -194,10 +194,10 @@ class ComposerStaticInite639b008930e18226c19e278c292e028
|
|
194 |
public static function getInitializer(ClassLoader $loader)
|
195 |
{
|
196 |
return \Closure::bind(function () use ($loader) {
|
197 |
-
$loader->prefixLengthsPsr4 =
|
198 |
-
$loader->prefixDirsPsr4 =
|
199 |
-
$loader->prefixesPsr0 =
|
200 |
-
$loader->classMap =
|
201 |
|
202 |
}, null, ClassLoader::class);
|
203 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit291c8f239b8d6fc41e800cf0e24b998e
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'F' =>
|
194 |
public static function getInitializer(ClassLoader $loader)
|
195 |
{
|
196 |
return \Closure::bind(function () use ($loader) {
|
197 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit291c8f239b8d6fc41e800cf0e24b998e::$prefixLengthsPsr4;
|
198 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit291c8f239b8d6fc41e800cf0e24b998e::$prefixDirsPsr4;
|
199 |
+
$loader->prefixesPsr0 = ComposerStaticInit291c8f239b8d6fc41e800cf0e24b998e::$prefixesPsr0;
|
200 |
+
$loader->classMap = ComposerStaticInit291c8f239b8d6fc41e800cf0e24b998e::$classMap;
|
201 |
|
202 |
}, null, ClassLoader::class);
|
203 |
}
|