Menu Icons by ThemeIsle - Version 0.13.2

Version Description

Download this release

Release Info

Developer themeisle
Plugin Icon 128x128 Menu Icons by ThemeIsle
Version 0.13.2
Comparing to
See all releases

Code changes from version 0.13.1 to 0.13.2

CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  ##### [Version 0.13.1](https://github.com/codeinwp/wp-menu-icons/compare/v0.13.0...v0.13.1) (2022-11-04)
2
 
3
  Tested with the WordPress 6.1 version
1
+ ##### [Version 0.13.2](https://github.com/codeinwp/wp-menu-icons/compare/v0.13.1...v0.13.2) (2022-11-24)
2
+
3
+ * Fix - update dependencies
4
+
5
  ##### [Version 0.13.1](https://github.com/codeinwp/wp-menu-icons/compare/v0.13.0...v0.13.1) (2022-11-04)
6
 
7
  Tested with the WordPress 6.1 version
menu-icons.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin name: Menu Icons
12
  * Plugin URI: https://github.com/Codeinwp/wp-menu-icons
13
  * Description: Spice up your navigation menus with pretty icons, easily.
14
- * Version: 0.13.1
15
  * Author: ThemeIsle
16
  * Author URI: https://themeisle.com
17
  * License: GPLv2
@@ -29,7 +29,7 @@ final class Menu_Icons {
29
 
30
  const DISMISS_NOTICE = 'menu-icons-dismiss-notice';
31
 
32
- const VERSION = '0.13.1';
33
 
34
  /**
35
  * Holds plugin data
11
  * Plugin name: Menu Icons
12
  * Plugin URI: https://github.com/Codeinwp/wp-menu-icons
13
  * Description: Spice up your navigation menus with pretty icons, easily.
14
+ * Version: 0.13.2
15
  * Author: ThemeIsle
16
  * Author URI: https://themeisle.com
17
  * License: GPLv2
29
 
30
  const DISMISS_NOTICE = 'menu-icons-dismiss-notice';
31
 
32
+ const VERSION = '0.13.2';
33
 
34
  /**
35
  * Holds plugin data
readme.txt CHANGED
@@ -225,6 +225,13 @@ Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
225
 
226
  == Changelog ==
227
 
 
 
 
 
 
 
 
228
  ##### [Version 0.13.1](https://github.com/codeinwp/wp-menu-icons/compare/v0.13.0...v0.13.1) (2022-11-04)
229
 
230
  Tested with the WordPress 6.1 version
225
 
226
  == Changelog ==
227
 
228
+ ##### [Version 0.13.2](https://github.com/codeinwp/wp-menu-icons/compare/v0.13.1...v0.13.2) (2022-11-24)
229
+
230
+ * Fix - update dependencies
231
+
232
+
233
+
234
+
235
  ##### [Version 0.13.1](https://github.com/codeinwp/wp-menu-icons/compare/v0.13.0...v0.13.1) (2022-11-04)
236
 
237
  Tested with the WordPress 6.1 version
vendor/autoload.php CHANGED
@@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
22
 
23
  require_once __DIR__ . '/composer/autoload_real.php';
24
 
25
- return ComposerAutoloaderInit8fd7405c066de11f7dd40f4dfc5512e6::getLoader();
22
 
23
  require_once __DIR__ . '/composer/autoload_real.php';
24
 
25
+ return ComposerAutoloaderIniteaa5284efc067d9aba27d7d8f1a0b978::getLoader();
vendor/codeinwp/themeisle-sdk/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ##### [Version 3.2.27](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.26...v3.2.27) (2022-08-23)
2
 
3
  - Add Promotion Module
1
+ ##### [Version 3.2.31](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.30...v3.2.31) (2022-11-23)
2
+
3
+ - improve the promotions module
4
+
5
+ ##### [Version 3.2.30](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.29...v3.2.30) (2022-09-15)
6
+
7
+ - fix filesystem wrong use - ref [#138](https://github.com/Codeinwp/themeisle-sdk/issues/138), props [@ethanclevenger91](https://github.com/ethanclevenger91) for reporting
8
+
9
+ ##### [Version 3.2.29](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.28...v3.2.29) (2022-09-08)
10
+
11
+ * Adds compatibility mechanism
12
+ * Adds content utms
13
+ * Adds usage time on uninstall feedback
14
+
15
+ ##### [Version 3.2.28](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.27...v3.2.28) (2022-08-30)
16
+
17
+ * Adds utm handler
18
+ * Improve promotions
19
+
20
  ##### [Version 3.2.27](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.26...v3.2.27) (2022-08-23)
21
 
22
  - Add Promotion Module
vendor/codeinwp/themeisle-sdk/assets/images/optimole-logo.svg ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="251" height="250" viewBox="0 0 251 250" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M217.696 99.0926C240.492 152.857 211.284 215.314 153.249 239.999C95.2141 264.683 30.4436 242.239 7.64869 188.474C-15.1462 134.71 14.8767 75.1972 72.9116 50.4991C130.947 25.8007 194.902 45.3142 217.696 99.0926Z" fill="#EDF0FF"/>
3
+ <path d="M217.696 99.0926C240.492 152.857 211.284 215.314 153.249 239.999C95.2141 264.683 30.4436 242.239 7.64869 188.474C-15.1462 134.71 14.8767 75.1972 72.9116 50.4991C130.947 25.8007 194.902 45.3142 217.696 99.0926Z" fill="#D7EEFC"/>
4
+ <path d="M181.711 75.8034C176.438 78.931 171.418 82.6928 167.832 87.6665C164.246 92.6402 162.221 98.9662 163.346 104.996C163.458 105.602 163.627 106.236 164.091 106.645C164.71 107.18 165.624 107.11 166.425 107.011C178.786 105.334 190.57 99.628 199.556 90.9633C204.956 85.7784 210.103 79.1566 217.542 78.2969C220.987 77.8883 224.475 78.8464 227.582 80.3685C229.186 81.1431 230.732 82.1012 231.899 83.4397C234.571 86.4971 234.796 90.9771 234.402 95.0352C233.967 99.487 232.968 103.926 231.393 108.11C230.001 111.815 226.851 114.661 224.193 117.578C218.203 124.171 211.678 130.301 204.52 135.612C194.437 143.079 184.833 150.772 173.654 156.703C167.93 159.732 162.671 162.029 157.974 166.651C153.488 171.06 149.832 176.33 147.231 182.064C145.093 186.784 143.842 191.546 141.409 196.182C138.836 201.07 135.938 205.804 132.634 210.228C128.584 215.667 124.689 218.809 118.319 221.373C108.63 225.276 98.0689 226.332 87.6486 226.98C79.9569 227.459 72.2365 227.727 64.5448 227.262C62.5477 227.149 58.1321 226.713 57.6544 224.134C57.1197 221.232 61.0852 219.893 63.11 219.471C75.6818 216.85 88.4785 213.145 98.477 205.072C100.502 203.437 102.569 201.056 101.852 198.562C96.5926 198.323 91.5721 200.507 86.5096 201.944C80.9129 203.536 75.0631 204.24 69.2552 204.029C67.3714 203.958 64.9242 203.226 64.9242 201.338C64.9385 199.774 66.6681 198.914 68.0885 198.266C72.9537 196.083 77.0602 192.56 81.096 189.08C84.5268 186.122 88.1269 182.909 89.3643 178.541C89.533 177.95 89.6457 177.288 89.3643 176.752C88.7456 175.541 86.9597 175.865 85.7084 176.386C79.3382 179.021 73.1085 182.007 67.0617 185.332C59.4121 189.545 51.3682 194.448 42.678 193.73C40.9623 193.589 38.7826 192.575 39.12 190.884C39.303 189.94 40.2308 189.348 41.0607 188.869C63.2649 175.935 82.277 156.238 87.3534 131.019C91.5019 110.406 85.9334 89.0332 87.8178 68.0968C88.0987 64.9266 88.5631 61.7426 89.6458 58.7416C90.3911 56.6705 91.4173 54.6978 92.5287 52.7957C99.8831 40.0872 110.711 29.4076 123.493 22.208C135.291 15.5862 148.328 15.0649 160.829 9.92232C168.788 6.6536 176.874 2.80726 185.48 2.97633C186.071 2.99042 186.689 3.03269 187.153 3.38492C187.561 3.70897 187.772 4.21618 187.941 4.72339C189.263 8.6261 189.249 12.8529 190.261 16.8542C190.36 17.2628 190.514 17.7136 190.88 17.9109C191.245 18.1081 191.71 17.9954 192.103 17.8686C195.478 16.7978 198.853 15.727 202.228 14.6563C203.283 14.3181 204.422 13.9941 205.448 14.3745C207.431 15.1071 207.656 17.7981 207.459 19.9116C205.533 41.0312 199.936 64.9968 181.711 75.8034Z" fill="#577BF9"/>
5
+ <path d="M118.165 39.6223C108.461 45.8356 99.8553 53.7539 92.8244 62.8836C97.6475 64.3067 102.4 66.0112 107.027 67.9977C103.132 71.8867 98.4348 74.9718 93.3303 77.0008C87.6496 79.2549 83.7963 82.0873 80.3649 87.1594C87.6772 89.1315 95.2572 85.9895 102.387 83.4258C109.572 80.8472 116.941 78.8043 124.436 77.3248C129.006 76.423 133.858 75.6341 137.429 72.6331C137.711 72.3937 138.006 72.0835 137.992 71.7175C137.978 71.4073 137.739 71.1541 137.514 70.9424C134.195 67.885 129.47 66.6172 126.391 63.306C126.053 62.94 125.716 62.4607 125.843 61.9819C125.941 61.6015 126.306 61.3477 126.644 61.1365C130.005 59.009 133.352 56.8816 136.712 54.7541C132.41 50.1187 128.036 45.5397 123.593 41.0453C122.242 39.6786 119.781 38.5796 118.165 39.6223Z" fill="#EE686B"/>
6
+ <path d="M165.793 91.1041C163.67 96.2326 163.205 101.953 163.74 107.49C168.296 107.011 172.782 105.897 177.015 104.165C177.703 103.883 178.435 103.545 178.815 102.897C179.067 102.46 179.124 101.924 179.152 101.417C179.461 95.4293 177.085 89.3432 178.617 83.5524C178.969 82.2277 180.08 78.7904 177.788 78.4095C176.551 78.1983 174.553 80.4385 173.639 81.1291C170.152 83.7779 167.466 87.0465 165.793 91.1041Z" fill="#F6E5C1"/>
7
+ <path d="M171.558 156.534C169.041 157.929 166.524 159.338 164.274 161.128C161.222 163.565 158.762 166.665 156.498 169.863C150.17 178.824 145.276 188.7 140.411 198.534C139.44 200.479 138.484 202.423 137.514 204.368C136.318 206.776 135.109 209.242 134.8 211.919C134.687 212.905 134.771 214.061 135.573 214.652C136.108 215.047 136.839 215.075 137.499 215.033C140.298 214.892 143.012 214.061 145.656 213.131C164.893 206.34 181.81 193.138 193.073 176.104C194.283 174.273 195.45 172.385 196.223 170.328C196.913 168.482 197.292 166.552 197.63 164.607C198.572 159.226 199.275 153.801 199.697 148.349C199.838 146.587 199.964 142.488 197.574 142.192C195.563 141.938 190.782 145.827 188.967 146.827C183.174 150.068 177.366 153.308 171.558 156.534Z" fill="#F6E5C1"/>
8
+ <path d="M58.9198 140.29C55.4043 141.952 51.6495 143.798 49.7369 147.194C47.7403 150.744 48.2744 155.365 50.4259 158.831C52.5778 162.297 56.1071 164.72 59.862 166.298C60.9728 166.763 62.1538 167.172 63.3492 167.031C64.6287 166.89 65.7539 166.143 66.7807 165.354C71.59 161.607 74.9644 156.351 78.241 151.223C82.2209 145.01 86.2987 138.486 87.1005 131.146C87.8878 123.862 79.7317 130.498 77.102 131.738C71.0415 134.583 64.9804 137.43 58.9198 140.29Z" fill="#336093"/>
9
+ <path d="M136.515 18.9961C142.604 15.6429 149.129 13.149 155.626 10.6694C164.471 7.30208 173.358 3.92065 182.667 2.24404C183.427 2.10315 184.228 1.99043 184.931 2.2863C185.663 2.58218 186.155 3.27255 186.577 3.93474C188.995 7.82333 190.163 12.4869 189.853 17.0659C189.825 17.5167 189.769 17.9957 189.474 18.3339C189.277 18.5734 188.981 18.7002 188.7 18.827C185.747 20.1655 182.653 21.2645 179.827 22.8565C176.986 24.4486 174.357 26.6183 172.923 29.5348C170.265 34.9309 172.135 41.7078 169.618 47.1744C168.183 50.3022 165.469 52.627 162.727 54.6982C158.621 57.812 153.756 60.714 148.651 60.0097C145.698 59.6011 143.04 58.0232 140.495 56.4591C139.103 55.6137 137.724 54.7827 136.332 53.9374C130.088 50.1473 123.353 45.7373 121.286 38.7209C119.725 33.3952 121.286 30.7183 125.068 27.1396C128.5 23.9273 132.409 21.2504 136.515 18.9961Z" fill="#D6EDFB"/>
10
+ <path d="M199.416 58.9386C199.894 59.8829 200.78 60.7847 201.835 60.6575C202.285 60.6011 202.693 60.3761 203.086 60.1362C204.605 59.235 206.18 58.2907 207.08 56.7691C207.924 55.3604 208.064 53.6553 208.177 52.0351C208.416 48.6115 208.5 44.8355 206.391 42.1304C206.152 41.8346 205.857 41.5246 205.477 41.4823C202.468 41.102 200.682 45.7232 200.161 47.8648C199.275 51.4434 197.574 55.3322 199.416 58.9386Z" fill="#F6E5C1"/>
11
+ <path d="M220.565 71.295C217.767 72.5633 214.673 74.9163 215.193 77.9594C218.892 77.7764 222.647 77.8046 226.19 78.9031C229.72 80.0023 233.024 82.3127 234.571 85.6803C236.99 90.9354 234.656 97.163 235.696 102.841C240.646 100.178 244.626 95.7538 246.763 90.555C247.663 88.343 248.254 85.8915 247.733 83.5667C247.298 81.6366 246.13 79.8895 245.891 77.9312C245.638 75.8319 246.468 73.789 247.199 71.8025C247.523 70.9428 247.79 69.8581 247.171 69.1675C246.552 68.4775 245.47 68.6185 244.569 68.7733C240.28 69.5341 236.146 69.2665 231.885 68.6041C228.089 68.0264 224.067 69.7171 220.565 71.295Z" fill="#F6E5C1"/>
12
+ <path d="M40.5681 149.138C40.4415 149.8 40.3994 150.49 40.1606 151.124C39.1338 153.773 35.2808 154.125 33.7621 156.52C33.4246 157.056 33.2137 157.704 33.3121 158.338C33.495 159.578 34.7324 160.381 35.9277 160.79C37.123 161.198 38.4167 161.409 39.387 162.212C40.9341 163.494 41.1166 165.876 42.5088 167.341C43.451 168.341 44.8289 168.778 46.1509 169.102C49.0477 169.82 52.029 170.201 55.0103 170.229C55.8397 170.243 56.7681 170.173 57.3166 169.553C58.0055 168.778 57.682 167.482 56.9649 166.735C56.2478 165.988 55.2492 165.594 54.3352 165.087C52.0428 163.818 50.2292 161.705 49.3147 159.239C48.3587 156.619 48.4571 153.745 49.1604 151.068C49.6382 149.264 52.5631 145.235 51.2416 143.53C50.0601 142.008 46.4605 143.009 45.0821 143.643C42.8743 144.672 41.0464 146.686 40.5681 149.138Z" fill="#F6E5C1"/>
13
+ <path d="M25.8872 210.694C26.0419 211.68 27.1809 212.116 28.1371 212.37C30.6543 213.018 33.1855 213.554 35.7448 214.019C36.9823 214.23 38.2338 214.427 39.4715 214.23C40.7089 214.033 41.932 213.37 42.5087 212.272C42.8321 211.651 42.9449 210.933 42.9726 210.214C43.0151 209.242 42.9023 208.242 42.4384 207.383C41.5665 205.79 39.6257 205.086 37.812 205.044C36.012 205.016 34.2401 205.509 32.4402 205.748C30.134 206.058 25.3247 207.242 25.8872 210.694Z" fill="#6B8FCA"/>
14
+ <path d="M151.745 39.27C154.262 38.2133 157.186 38.2133 159.816 39.4954C161.026 38.2274 162.165 36.8748 163.219 35.48C163.304 35.3673 164.57 33.5639 164.471 33.578C163.29 33.6766 162.109 33.9584 160.998 34.381C160.351 34.6206 159.577 33.9725 158.959 33.7471C158.129 33.4371 157.271 33.2257 156.399 33.113C154.599 32.8876 152.392 33.099 150.746 33.8738C148.721 34.8319 146.935 36.3394 145.599 38.1147C143.631 40.7212 142.548 43.9617 143.11 47.2022C143.153 47.4276 143.251 47.6953 143.476 47.7094C143.617 47.7094 143.729 47.6249 143.827 47.5263C145.332 46.1596 146.373 44.328 147.512 42.6655C148.623 41.1157 150.099 39.9604 151.745 39.27Z" fill="#1D445C"/>
15
+ <path opacity="0.5" d="M132.213 48.3997C132.606 48.8223 133.07 49.2732 133.605 49.8226C135.475 51.7106 137.022 53.8942 138.991 55.6695C140.284 56.825 142.028 58.121 143.814 58.3045C144.404 58.3609 148.567 58.4875 148.68 58.1635C151.45 49.4423 153.812 40.6788 156.287 31.8449C156.962 29.4356 164.232 9.25987 162.446 8.69632C161.997 8.55544 161.504 8.75266 161.068 8.93582C156.147 11.0915 151.239 13.2471 146.317 15.4028C142.942 16.8821 142.155 18.8828 140.72 22.0811C138.681 26.6459 136.727 31.239 134.842 35.8603C133.717 38.6217 132.649 41.4114 131.537 44.187C130.694 46.2158 131.116 47.188 132.213 48.3997Z" fill="white"/>
16
+ <path opacity="0.5" d="M157.693 55.6844C161.448 54.2187 165.498 52.5142 167.453 48.9778C168.507 47.0616 168.817 44.8496 169.098 42.6799C170.799 29.8165 172.501 16.939 174.203 4.07556C174.258 3.61062 170.687 4.97727 170.335 5.35768C169.407 6.3439 169.393 7.59788 169.028 8.87995C167.973 12.5995 166.693 16.2627 165.625 19.9822C163.473 27.4918 161.616 35.0859 160.042 42.7363C159.184 47.0335 158.396 51.3588 157.693 55.6844Z" fill="white"/>
17
+ <path d="M199.289 106.546C190.261 110.969 181.725 112.703 171.839 112.914C164.077 113.083 155.879 112.351 149.481 107.941C147.948 106.884 146.556 105.644 145.346 104.249C148.44 104.63 151.52 106.475 154.529 107.349C157.623 108.25 160.829 108.73 164.049 108.405C170.785 107.729 177.267 105.292 183.188 102.094C189.361 98.7685 195.042 94.6402 200.737 90.5544C202.551 89.2584 204.225 87.8635 205.589 86.1446C207.122 84.2145 208.823 82.4674 211.073 81.3965C213.956 80.0298 217.275 79.9452 220.467 80.0718C223.617 80.199 226.865 80.5512 229.579 82.1573C233.995 84.7636 235.978 90.7236 234.121 95.4291C232.883 92.8229 229.973 91.2167 227.09 91.2449C222.59 91.287 217.809 95.4573 214.209 97.7965C209.385 100.938 204.478 103.953 199.317 106.489C199.331 106.531 199.303 106.531 199.289 106.546Z" fill="#6C99CE"/>
18
+ <path d="M179.096 24.4344C173.091 28.0553 171.249 34.4096 171.46 41.0033C171.685 47.8084 176.649 52.4015 183.23 54.1485C203.058 59.4036 207.361 34.4519 208.05 20.1513C208.106 18.8551 208.078 17.3898 207.15 16.474C206.503 15.8401 205.575 15.6287 204.675 15.516C198.994 14.8115 192.792 16.474 188.081 19.6864C185.241 21.6166 181.964 22.7015 179.096 24.4344Z" fill="#6C99CE"/>
19
+ <path d="M86.9743 69.4919C86.5242 72.7041 86.3556 76.1137 87.7473 79.044C93.9488 75.7897 99.9397 72.1263 105.663 68.0826C102.119 67.0963 98.5756 66.1105 95.032 65.1098C94.4973 64.9688 93.9206 64.7858 93.6397 64.307C93.3445 63.8277 93.4567 63.194 93.6254 62.6583C94.4409 60.052 96.3115 57.9246 98.224 55.9663C103.764 50.2881 110.036 45.3146 116.828 41.2288C118.192 40.4115 119.655 39.524 120.26 38.0728C121.202 35.8326 119.796 33.0288 121.005 30.9295C121.806 29.5347 123.452 28.9571 124.872 28.1822C127.656 26.6746 128.331 23.3918 124.829 22.2224C122.074 21.3066 119.936 23.6595 117.77 25.0403C112.427 28.4499 107.449 31.8594 103.075 36.5088C94.5537 45.54 88.7038 57.1638 86.9743 69.4919Z" fill="#336093"/>
20
+ <path d="M94.9195 86.8914C88.4791 87.3143 86.6794 88.0751 87.1576 94.5139C87.7056 102.023 88.4227 109.589 88.4791 117.127C88.5494 126.341 87.3821 135.795 83.1213 143.967C79.9437 150.053 75.2605 155.238 71.1407 160.677C67.1608 165.932 63.3639 170.99 58.6674 175.696C61.6625 172.695 68.328 171.469 72.111 169.313C76.7655 166.665 81.1386 163.522 85.1467 159.958C100.123 146.658 112.005 129.314 115.422 109.265C117.053 99.6988 116.857 89.9206 116.66 80.2275C109.826 82.5237 102.133 86.4264 94.9195 86.8914Z" fill="#336093"/>
21
+ <path d="M43.1137 204.283C42.9169 204.156 42.7062 204.015 42.5094 203.93C41.0746 203.184 39.6685 203.282 38.0093 203.297C35.9984 203.325 34.0297 203.423 32.0609 203.776C28.1798 204.452 24.383 205.79 20.8674 207.396C18.8143 208.341 12.0785 210.679 15.7488 213.666C17.1128 214.793 18.8705 215.286 20.6002 215.653C25.1142 216.653 29.7688 216.991 34.3812 216.681C36.8562 216.512 38.8391 216.132 41.131 215.061C41.9891 214.652 42.8605 214.244 43.5638 213.61C46.2919 211.186 46.1371 206.382 43.1137 204.283ZM40.5686 209.862C38.9514 212.328 33.889 211.595 31.5125 211.37C30.711 211.285 29.8672 211.158 29.3188 210.567C29.2063 210.44 29.1079 210.271 29.1079 210.116C29.1079 209.806 29.4032 209.608 29.6844 209.482C31.4 208.622 33.2844 208.059 35.1968 207.847C36.4624 207.72 38.6983 207.312 39.8233 208.059C40.8075 208.721 40.9203 209.327 40.5686 209.862Z" fill="#1D445C"/>
22
+ <path d="M185.1 49.0198C186.155 48.2309 187.336 47.2164 187.238 45.9061C187.111 44.3282 185.1 43.4687 183.722 43.8773C182.372 44.2718 180.966 45.8498 180.052 46.8501C175.453 51.894 170.869 56.9519 166.271 61.9958C165.933 62.3624 164.302 63.7993 165.708 63.7429C166.679 63.7009 167.986 62.5034 168.746 61.9538C170.743 60.4887 172.529 58.7554 174.455 57.2195C177.943 54.4302 181.5 51.6968 185.1 49.0198Z" fill="#1D445C"/>
23
+ <path d="M175.411 66.871C175.017 67.5334 173.302 70.1258 175.271 68.7171C176.775 67.618 177.802 66.0821 178.983 64.6733C180.234 63.18 181.514 61.7005 182.836 60.2636C184.074 58.9107 185.48 57.7414 186.703 56.3608C187.772 55.1489 190.233 52.4158 188.475 50.7533C187.913 50.2179 186.703 50.6828 186.141 51.0632C185.142 51.7395 184.748 52.8384 184.059 53.7822C183.3 54.8249 182.695 55.9522 181.936 56.9806C179.63 60.179 177.45 63.4758 175.411 66.871Z" fill="#1D445C"/>
24
+ <path d="M248.746 78.0012C248.605 77.7336 248.451 77.508 248.296 77.325C248.914 75.8035 249.407 74.1692 249.744 72.3801C249.871 71.7316 250.18 70.21 249.463 68.7449C248.83 67.491 247.55 66.5749 246.06 66.2791C245.005 66.0817 244.007 66.1945 243.093 66.3637C242.137 66.5328 241.222 66.7722 240.323 67.068C237.046 65.1241 233.615 65.5045 230.563 65.8423L229.917 65.9269C226.359 66.3355 222.843 67.5612 219.75 69.5057C215.77 71.9715 212.226 75.5923 209.189 80.2697C206.067 82.3407 203.241 84.9614 200.583 87.399C199.05 88.8221 197.601 90.1601 196.153 91.372C192.778 94.1336 189.727 96.6133 186.338 98.6844C184.903 99.5861 183.398 100.403 181.852 101.122C179.756 94.373 179.883 87.1596 182.274 81.397C183.469 78.579 185.269 76.4377 187.195 74.1548C188.081 73.1126 188.981 72.0135 189.895 70.8016C190.5 69.9845 191.105 69.1535 191.723 68.3081C193.327 66.0817 194.803 63.7856 196.223 61.4464C196.8 60.4888 197.826 59.5306 198.684 60.9394C199.092 61.5874 199.205 62.4189 199.753 62.9541C200.681 63.7994 202.144 63.3063 203.254 62.7147C205.715 61.3762 208.106 59.5163 209.076 56.8536C209.793 54.8671 209.611 52.6549 209.414 50.5416C209.104 47.1884 208.795 43.8492 208.5 40.5242C208.289 38.2981 207.909 36.072 208.148 33.8459C208.373 31.5071 209.245 29.1824 209.709 26.8718C209.821 26.3363 209.99 25.6742 210.159 24.9556C210.651 22.969 211.143 20.9684 211.607 18.9959C212.086 16.9389 212.901 14.9523 213.435 12.9939C214.139 10.4579 214.87 7.1328 213.323 4.77991C211.874 2.582 208.682 1.8071 206.573 3.44144C206.404 3.55415 206.278 3.68096 206.137 3.82185C205.589 4.3995 205.153 5.13215 204.422 5.44209C203.831 5.7098 203.17 5.65346 202.509 5.62526C200.892 5.59707 199.219 5.89297 197.925 6.86509C195.267 8.89393 195.998 11.2891 197.756 13.318C197.32 13.6279 196.912 13.9097 196.561 14.0647C195.605 14.5578 194.634 14.9523 193.65 15.2764C192.919 12.8389 192.173 10.4156 191.414 7.96405C190.669 5.56892 189.867 1.34215 187.322 0.271376C186.689 0.00368107 185.972 -0.0104081 185.283 0.00368111C176.255 0.0882161 167.733 3.61051 159.577 7.17509C157.721 7.97815 155.893 8.73896 154.107 9.49978C150.985 10.8101 147.877 12.1204 144.812 13.5575C143.546 14.1492 142.407 14.9382 141.071 15.2905C139.707 15.6567 138.287 15.7695 136.909 16.1076C135.531 16.4598 134.167 16.9389 132.774 17.277C130.426 17.8265 128.092 18.531 125.828 19.3622C121.342 21.0106 117.039 23.1663 113.059 25.7728C105.114 30.9435 98.3362 37.8754 93.3157 45.9344C90.2083 50.922 87.7893 56.3461 86.1438 61.9959C85.3426 64.7719 84.5409 67.5612 84.0488 70.4074C83.5423 73.3238 83.5705 76.1275 83.7535 79.0721C83.7535 79.1705 83.7673 79.2551 83.7392 79.3541C83.7115 79.4669 83.6407 79.5653 83.5705 79.6637C82.7268 80.8192 81.4755 81.5236 80.4349 82.5099C77.594 85.1726 74.5004 87.5118 72.1101 90.6251C72.124 90.5969 74.1349 90.6958 74.3318 90.7097C75.1191 90.724 75.9065 90.7379 76.6944 90.7522C77.4818 90.7522 78.2691 90.7522 79.0565 90.7522C79.8444 90.7379 80.6317 90.724 81.4191 90.7097C82.291 90.6815 83.1486 90.5692 84.0067 90.4985C84.1754 90.4846 84.3722 90.4846 84.4989 90.6112C84.5973 90.7097 84.6111 90.8506 84.6393 90.9778C84.9346 93.2319 85.6379 95.4721 85.6379 97.7964C85.6661 98.1492 85.7225 98.5014 85.7363 98.8535C85.9331 100.53 86.0736 102.235 86.1582 103.926C86.2002 104.362 86.2428 104.813 86.2566 105.25C86.3412 106.701 86.3832 108.152 86.397 109.631C86.4396 111.576 86.4252 113.506 86.3268 115.45C86.2146 118.367 85.947 121.298 85.5251 124.2C79.1411 128.201 71.7867 132.047 62.3931 136.359C60.9445 137.007 59.4118 137.725 57.8647 138.542C57.5413 138.641 57.1338 138.726 56.7539 138.782C55.7133 138.994 54.6727 139.163 53.6603 139.303C48.9494 140.05 44.0981 140.839 39.7809 144.531C37.2074 146.715 35.6043 149.504 35.2809 152.378C35.2668 152.547 35.2809 152.702 35.2809 152.871C34.2403 153.618 33.2278 154.491 32.2294 155.52C31.8216 155.943 30.8654 156.929 30.6966 158.394C30.556 159.691 31.0482 161.029 32.0607 161.987C32.7497 162.635 33.5232 163.016 34.2544 163.34C34.9434 163.635 35.6184 163.861 36.3215 164.058C37.7699 166.848 40.3151 168.13 42.5654 169.229L43.0432 169.468C47.4449 171.652 51.9866 171.708 56.3884 171.751C56.9226 171.751 57.429 171.765 57.9493 171.765C57.8365 171.878 57.7243 171.99 57.5977 172.103C52.4793 176.654 46.8821 180.74 40.9763 184.234C35.309 187.615 29.3045 190.067 23.2436 192.673C22.7515 192.885 22.2171 193.152 22.0343 193.659C21.7671 194.392 22.414 195.125 23.0468 195.547C24.2139 196.35 25.7045 196.984 27.0685 197.337C28.2779 197.647 29.5295 197.675 30.7529 197.816C32.9888 198.055 35.2809 198.027 37.5309 197.901C45.9399 197.407 54.462 194.646 62.0415 191.011C63.8976 190.123 65.7256 189.179 67.5535 188.249C69.6071 187.192 71.7303 186.094 73.8397 185.121C74.2754 184.91 74.8239 184.628 75.4426 184.319C77.0599 183.515 78.6346 182.67 80.2381 181.825C80.927 181.472 81.5739 181.064 82.249 180.697C82.938 180.317 83.894 179.584 84.6813 179.528C85.7501 179.443 84.5973 181.965 84.344 182.444C83.7955 183.515 82.98 184.417 82.1224 185.262C81.841 185.558 81.5457 185.84 81.2643 186.108C79.6614 187.615 77.8893 188.926 76.0613 190.151C74.444 191.222 72.7847 192.222 71.0972 193.152C69.5789 193.998 68.2148 194.913 66.7805 195.815C64.868 197.013 53.4635 201.282 55.9383 204.551C56.7683 205.65 58.7228 206.1 59.9603 206.382C65.6974 207.721 71.7303 206.706 77.3833 205.452C83.3316 204.128 89.1251 202.198 94.975 200.549C95.5656 200.38 96.3816 200.324 96.6205 200.873C98.1394 204.339 86.5518 208.975 84.527 209.904C77.046 213.342 69.2272 215.723 61.1557 217.386C57.9913 218.034 54.8132 218.696 51.6212 219.161C48.8367 219.569 45.659 219.344 43.1416 220.781C39.7389 222.725 43.7183 225.825 45.8133 226.952C48.2179 228.249 50.946 228.84 53.6039 229.432C63.1385 231.531 73.1928 231.08 82.8677 230.418C101.978 229.08 120.849 225.008 139.102 219.231C141.015 218.626 142.913 218.005 144.826 217.372C146.851 216.681 148.946 216.005 150.985 215.202C157.538 212.666 163.543 209.51 169.013 205.762C171.094 204.339 173.105 202.817 175.032 201.226C176.283 200.197 177.492 199.126 178.659 198.013C180.094 196.675 181.458 195.266 182.794 193.814C189.91 186.023 195.436 176.781 199.205 166.284C201.961 158.578 202.607 151.406 201.44 141.628C207.585 137.007 213.45 131.991 218.976 126.538C224.348 121.213 230.381 115.211 234.191 107.405L234.318 107.448C234.529 106.898 235.162 106.293 235.767 105.715C236.709 104.813 237.679 103.954 238.621 103.108C242.91 99.2339 247.34 95.2327 249.294 88.7093C250.462 84.863 250.25 81.073 248.746 78.0012ZM222.323 73.6478C224.812 72.0981 227.624 71.1118 230.465 70.7878L231.112 70.7032C231.449 70.675 231.801 70.633 232.125 70.5904C231.73 70.9006 231.379 71.2384 231.013 71.6049C230.296 72.3237 229.509 73.0563 228.651 73.8027C228.383 74 228.116 74.2112 227.849 74.4086C226.907 75.1273 225.937 75.8317 224.995 76.5361C223.265 76.1839 221.479 76.0429 219.665 76.2259C219.356 76.2403 219.075 76.2967 218.779 76.3387C219.918 75.3103 221.099 74.4086 222.323 73.6478ZM203.93 57.9245C203.662 58.6709 202.045 60.3334 201.188 59.4599C200.99 59.2487 200.892 58.9529 200.808 58.6709C200.414 57.3606 199.739 55.9801 200.006 54.6554C200.175 53.8664 201.243 50.3584 202.157 50.4429C203.691 50.5698 204.323 56.7829 203.93 57.9245ZM206.77 49.6821C206.798 50.3584 206.812 50.9361 206.404 51.5138C205.434 52.8804 204.914 49.8512 204.787 49.3017C204.436 47.8364 204.408 46.2866 205.055 44.9059C205.406 44.1169 206.081 44.4973 206.278 45.2018C206.658 46.6389 206.728 48.1887 206.77 49.6821ZM136.149 23.913C142.519 19.6299 149.073 16.8825 156.033 13.966C157.848 13.2052 159.704 12.4304 161.56 11.6132C168.422 8.62628 175.13 6.11837 182.498 4.52631C183.118 4.3995 183.75 4.25861 184.369 4.42768C185.325 4.70947 185.719 6.09023 186.113 6.92148C186.647 8.07678 186.802 9.373 187.153 10.5987C187.8 12.698 188.7 14.6846 189.066 16.8543C189.08 16.953 189.094 17.0516 189.038 17.1361C189.009 17.1784 188.939 17.2207 188.869 17.2489C187.392 17.8828 185.902 18.545 184.425 19.1791C183.82 19.4468 183.089 19.9258 182.414 19.9821C181.866 20.0103 181.261 19.8694 180.685 19.8835C176.691 19.9821 174.624 22.5887 172.472 25.5051C170.026 28.7738 169.632 32.7892 169.35 36.7342C169.041 40.9891 169.027 44.3564 165.962 47.7801C163.557 50.4852 160.337 52.3309 157.13 53.9936C154.234 55.5151 151.168 56.952 147.892 56.9802C142.449 57.0792 138.864 52.6549 135.137 49.3863C132.31 46.9066 130.004 43.7506 127.515 40.9046C125.87 39.0307 123.001 36.4524 122.945 33.7613C122.917 32.5356 123.873 31.7466 124.745 31.0281C126.798 29.3796 129.09 28.0411 131.383 26.7449C132.971 25.8714 134.63 24.9415 136.149 23.913ZM92.5284 57.9102C94.4127 53.1902 97.1828 48.5409 100.234 44.4409C103.441 40.1156 107.238 36.2129 111.484 32.8878C113.622 31.2253 115.858 29.7037 118.192 28.337C119.893 27.3508 121.468 26.3223 123.24 25.491C124.126 25.0824 125.026 24.6597 125.982 24.5752C123.409 26.3786 120.794 28.1398 118.291 30.0137C117.657 30.4927 116.997 30.9999 116.659 31.6903C116.322 32.4511 116.378 33.3528 116.659 34.1559C117.292 35.917 118.909 37.0583 116.856 38.5376C113.368 41.0173 109.895 43.4829 106.408 45.9626C103.638 47.9351 101.106 50.288 98.6315 52.6409C97.5207 53.6696 96.3955 54.6836 95.4251 55.8391C94.2861 57.1914 93.3721 58.8965 91.9235 59.9392C92.0362 59.1359 92.2469 58.6289 92.5284 57.9102ZM88.7878 74.8033C88.816 74.3948 88.8581 73.9718 88.9001 73.5632C88.9847 72.7605 89.0831 71.9571 89.1954 71.1682C89.3363 70.1818 89.4486 69.1955 89.6034 68.2235C89.6316 68.0262 89.9551 65.6311 90.1939 65.6875C91.0238 65.9131 91.8676 66.1525 92.7114 66.3216C94.1456 66.6174 95.5517 66.9978 96.9722 67.3356C98.35 67.674 99.7423 67.9134 101.12 68.2374C101.556 68.3363 101.992 68.4491 102.428 68.5475C102.456 68.5475 101.852 68.9423 101.81 68.9705C101.486 69.1391 101.163 69.2945 100.839 69.4493C100.192 69.7733 99.5311 70.0834 98.8847 70.4074C97.6047 71.0272 96.3252 71.6613 95.0734 72.3657C92.922 73.5351 90.8408 74.7469 88.7176 75.9865C88.8017 75.9163 88.7735 74.9438 88.7878 74.8033ZM85.8209 85.187C85.4831 85.2151 85.1458 85.2572 84.8079 85.2854C84.6255 85.2997 84.4568 85.3279 84.2738 85.3418C84.26 85.3418 83.9365 85.3561 83.9365 85.3279C84.2456 84.8768 84.7377 84.5954 85.174 84.257C85.5533 83.9612 85.8767 83.5947 86.2284 83.285C90.1801 79.7201 95.2001 77.7054 99.8125 75.2119C103.905 72.9855 107.87 70.5058 111.653 67.7724C111.836 67.632 112.033 67.5048 112.216 67.3638C111.695 67.1106 111.048 67.026 110.486 66.8286C109.783 66.5749 109.066 66.3498 108.348 66.1381C106.858 65.7013 105.367 65.3209 103.863 64.9549C102.4 64.6027 100.938 64.2506 99.4891 63.842C99.1092 63.743 95.2283 62.4045 95.2001 62.4471C95.8049 61.4607 96.5923 60.6436 97.394 59.8264C98.6171 58.6007 99.8827 57.4314 101.12 56.2195C102.597 54.7682 104.242 53.5142 105.803 52.1477C110.542 47.9914 115.661 44.5959 120.906 41.1582C122.354 43.1448 124.014 44.9764 125.673 46.7939C127.586 48.8932 129.484 50.9924 131.396 53.0776C131.875 53.6132 132.423 54.1909 132.999 54.7543C132.62 54.9799 132.24 55.2049 131.875 55.4023C127.586 58.2623 123.17 60.9537 118.656 63.4334C118.726 63.3908 119.19 63.6446 119.275 63.6866C119.485 63.7712 119.683 63.8558 119.893 63.9404C122.439 65.0252 124.913 66.2791 127.361 67.5756C128.584 68.2235 129.793 68.8859 131.017 69.5339C131.635 69.8579 132.24 70.1818 132.859 70.5058C133.421 70.8016 134.026 71.0416 134.532 71.464C134.462 71.5204 134.363 71.5624 134.293 71.6049C134.195 71.6752 134.096 71.7459 133.998 71.8023C133.815 71.9151 133.618 72.0274 133.407 72.1263C133.056 72.2955 132.69 72.4359 132.325 72.5631C131.453 72.8871 130.581 73.2111 129.709 73.5351C128.893 73.8308 128.12 74.1974 127.29 74.4794C126.896 74.606 126.559 74.7188 126.306 74.8172C121.806 76.4797 117.039 78.0294 111.695 79.5791C111.203 79.7201 110.725 79.8611 110.233 80.0021C102.316 82.3551 94.0892 84.3836 85.8209 85.187ZM42.9868 148.222C44.8711 146.587 46.9805 145.728 49.2585 145.122C48.9494 145.517 48.6398 145.869 48.3589 146.292C47.9652 146.898 47.67 147.588 47.4167 148.321C47.2337 148.334 47.0651 148.363 46.8821 148.391C45.5744 148.504 44.2247 148.616 42.8883 148.912C42.5931 148.982 42.3404 149.039 42.059 149.123C42.326 148.799 42.6356 148.518 42.9868 148.222ZM36.209 158.803C36.1668 158.774 36.0825 158.732 35.984 158.69C38.0793 156.591 40.2028 155.337 42.7899 154.689L46.6571 153.731C46.7416 155.83 47.1497 157.929 47.8104 159.691C47.5854 159.719 47.3742 159.761 47.1353 159.789C43.2262 160.057 39.5277 160.198 36.209 158.803ZM45.293 165.072C46.0383 164.904 46.8539 164.763 47.6976 164.65C47.9652 164.636 48.2179 164.622 48.4855 164.608C49.2867 164.537 50.0885 164.495 50.8902 164.439C51.7898 165.326 52.8448 166.115 54.012 166.791C50.9184 166.693 47.9791 166.411 45.293 165.072ZM57.9211 163.269C55.4883 162.24 53.646 160.691 52.7602 158.873C51.4243 156.21 51.0024 151.195 52.4511 148.969C54.1524 146.391 56.9369 144.531 59.9459 142.938C60.2694 142.812 60.579 142.643 60.9025 142.445C62.1117 141.839 63.3071 141.29 64.5025 140.726C72.2644 137.19 78.649 133.921 84.3158 130.61C83.5567 133.738 82.5581 136.866 81.2786 139.937C77.594 148.743 71.9691 157.281 64.8254 165.016C62.3931 164.608 60.0587 164.171 57.9211 163.269ZM194.62 164.622C193.987 166.439 193.27 168.229 192.483 169.99C192.188 170.68 191.878 171.342 191.569 172.004C187.842 179.81 182.752 186.925 176.648 193.011C175.791 193.871 174.905 194.73 173.991 195.547C172.416 196.984 170.785 198.351 169.083 199.648C168.887 199.816 168.69 199.957 168.492 200.098C167.143 201.113 165.765 202.057 164.386 202.944C158.551 206.635 152.349 209.129 145.487 210.877C144.052 211.257 139.314 212.891 138.371 210.975C138.16 210.524 138.188 209.96 138.287 209.453C138.962 206.016 141.493 202.789 142.998 199.661C147.947 189.362 150.521 178.274 158.705 169.82C163.838 164.509 170.236 160.437 176.691 157.14C183.694 153.562 190.444 149.49 196.884 144.967C197.531 152.547 196.842 158.408 194.62 164.622ZM232.645 95.5988C232.349 98.5014 231.604 101.347 230.423 104.024C227.048 111.675 220.945 117.719 215.545 123.045C203.367 135.076 189.558 145.066 174.469 152.772C167.986 156.07 161.419 159.676 156.118 164.763C148.552 171.99 144.967 180.162 141.352 189.743C138.681 196.773 134.617 203.282 129.54 208.834C121.412 217.71 109.811 222.303 98.2234 224.487C92.2469 225.614 86.1438 226.149 80.0694 226.318C74.9643 226.445 67.4695 227.46 62.8006 225.05C62.6038 224.952 62.3788 224.839 62.1963 224.712C62.1819 224.698 62.1681 224.698 62.1537 224.684C61.8585 224.472 61.5776 224.191 61.5212 223.853C61.3382 223.035 62.2521 222.444 63.0257 222.148C70.7179 219.189 78.9022 217.738 86.4252 214.314C91.741 211.919 96.6205 208.566 100.698 204.381C102.316 202.719 110.205 193.829 105.086 192.236C104.664 192.11 104.2 192.236 103.778 192.363C98.7299 193.97 93.8222 195.843 88.7033 197.238C85.5251 198.126 82.3474 198.985 79.1693 199.873C76.4832 200.605 73.6146 201.211 70.8445 201.324C70.5349 201.338 70.2114 201.352 69.9162 201.254C67.4131 200.408 72.3772 197.999 72.8975 197.717C75.1191 196.449 77.3833 195.224 79.4784 193.744C83.3598 191.039 86.6503 187.714 89.4768 183.938C91.3893 181.36 93.3019 178.556 93.9062 175.315C94.1313 174.146 94.708 170.173 93.3859 169.37C93.1471 169.243 92.8518 169.257 92.5704 169.285C90.9531 169.553 89.5896 170.596 88.2394 171.511C83.5285 174.738 78.3111 177.372 73.2491 179.951C72.7006 180.233 72.1942 180.486 71.8005 180.669C69.6071 181.698 67.4551 182.811 65.3463 183.882C59.1586 187.066 52.6899 189.7 45.659 190.236C45.2089 190.264 44.745 190.306 44.337 190.109C43.9151 189.926 43.5917 189.489 43.7044 189.052C43.7885 188.77 44.0135 188.559 44.2524 188.376C46.2213 186.812 48.3728 185.502 50.4401 184.065C54.096 181.514 57.5413 178.711 60.8461 175.752C72.0394 165.805 80.6456 154.083 85.7645 141.839C89.5188 132.865 91.0095 123.524 91.2766 114.549C91.3191 113.013 91.3473 111.477 91.3047 109.984C91.2909 108.11 91.2063 106.25 91.1079 104.419C90.9813 102.291 90.7988 100.206 90.5876 98.163C90.2923 95.4296 89.9551 92.7951 89.5752 90.2591C94.1313 89.2025 98.6735 87.7932 103.201 86.5537C108.039 85.2433 112.848 83.8905 117.644 82.4253C119.092 81.9747 120.54 81.5236 121.975 81.0448C123.479 80.5516 124.97 80.0303 126.447 79.4951C127.937 78.9593 129.414 78.396 130.876 77.8044C132.339 77.2122 133.787 76.5925 135.235 75.9301C136.67 75.2683 138.09 74.5778 139.482 73.8452C140.185 73.4787 140.875 73.0983 141.549 72.7179C141.887 72.5205 142.239 72.3237 142.576 72.1263C142.745 72.0274 142.913 71.9289 143.082 71.8305C143.11 71.8162 143.518 71.5768 143.504 71.5624C143.237 71.3512 142.956 71.1964 142.674 70.999C142.464 70.858 142.266 70.6894 142.056 70.5622C141.001 69.8999 139.932 69.2381 138.877 68.5757C136.529 67.1106 134.195 65.6875 131.692 64.5182C130.398 63.9122 129.104 63.3063 127.937 62.4891C127.923 62.4753 128.893 61.8693 128.978 61.8268C129.202 61.7001 129.442 61.5735 129.681 61.4464C130.019 61.2777 130.314 61.0378 130.637 60.8266C131.523 60.277 132.451 59.7982 133.351 59.263C134.392 58.6289 135.46 58.0368 136.543 57.4734C138.273 59.1923 140.635 60.277 142.857 61.1931C145.29 62.1933 148.426 62.0385 150.971 61.6299C154.881 60.9958 158.565 59.3471 161.94 57.2478C169.646 52.4577 173.541 46.0471 174.188 37.0864C174.427 33.7614 174.666 30.6336 176.339 28.4075C178.308 25.801 182.175 24.3779 185.916 22.9972C188.826 21.9405 191.794 20.6444 194.705 19.3763C196.237 18.7282 197.756 18.0519 199.289 17.432C199.922 17.1643 200.808 16.6148 201.511 16.6007C202.678 16.5726 204.576 17.5306 205.532 18.1505C206.756 18.9396 206.278 20.6866 205.954 21.856C204.253 27.9144 203.114 34.029 201.005 39.9888C197.784 49.034 193.327 57.6 187.758 65.4199C183.61 71.2528 177.324 75.1694 171.952 79.7063C164.738 85.8067 160.688 95.162 160.646 105.687C160.646 105.786 160.491 105.828 160.407 105.841C160.069 105.912 159.717 105.87 159.38 105.841C158.818 105.799 158.255 105.729 157.707 105.645C156.99 105.546 156.272 105.419 155.555 105.306C154.74 105.165 153.924 105.01 153.108 104.856C152.251 104.686 151.407 104.517 150.549 104.348C149.72 104.179 148.89 104.01 148.046 103.841C147.287 103.686 146.541 103.531 145.782 103.362C145.164 103.235 144.559 103.094 143.94 102.968C143.603 102.897 143.279 102.798 142.956 102.756C142.941 102.756 142.913 102.756 142.885 102.798C142.871 102.869 142.913 102.953 142.941 103.024C143.026 103.165 143.082 103.305 143.195 103.418C143.701 103.968 144.193 104.532 144.784 105.01C148.552 108.025 153.052 109.857 157.848 110.378C159.225 110.533 160.618 110.604 162.01 110.576C178.463 110.336 192.16 101.812 203.873 90.9634C208.809 86.3983 213.928 81.6789 220.115 81.073C224.094 80.6782 228.088 82.1998 230.268 84.9193C232.279 87.4272 233.109 91.2028 232.645 95.5988ZM177.338 102.968C173.527 104.306 169.547 105.151 165.54 105.517C165.638 96.5425 169.041 88.5822 175.102 83.4819C175.692 82.9887 176.297 82.5243 176.873 82.045C174.919 88.4694 175.074 95.9653 177.338 102.968ZM234.107 81.8901C233.094 80.6218 231.843 79.5653 230.437 78.6917C230.887 78.3396 231.323 77.973 231.745 77.6208C235.654 74.6624 239.423 71.9853 243.923 71.182C244.302 71.1118 244.668 71.0698 245.019 71.098C245.005 71.182 244.991 71.2948 244.949 71.4358C244.19 75.3103 242.769 78.1847 240.393 80.7346L236.146 85.2715C235.626 84.1022 234.965 82.9611 234.107 81.8901ZM244.625 87.3144C243.318 91.696 240.59 94.6832 237.299 97.7124C237.383 97.191 237.468 96.6553 237.524 96.1058C237.693 94.556 237.735 92.7387 237.538 90.8506C238.213 90.3011 238.888 89.7239 239.634 89.1461C240.871 88.1598 242.179 87.1596 243.332 85.9759C244.021 85.2854 244.597 84.5672 245.16 83.8341C245.16 84.9475 244.977 86.1169 244.625 87.3144Z" fill="#1D445C"/>
25
+ <path d="M57.1758 149.912C57.063 150.124 56.9369 150.335 56.9508 150.574C56.9646 150.814 57.1476 151.054 57.3865 151.039C57.5131 151.026 57.6115 150.955 57.7099 150.885C60.0161 149.222 62.3506 147.531 64.2493 145.418C66.1475 143.305 67.6381 140.698 67.9472 137.866C67.9898 137.415 67.9334 136.851 67.5115 136.711C67.3147 136.64 67.1035 136.697 66.9066 136.739C65.6272 137.091 63.7567 137.768 62.8709 138.81C62.1399 139.669 62.0973 140.811 61.6755 141.882C60.5364 144.742 58.6803 147.249 57.1758 149.912Z" fill="#1D445C"/>
26
+ <path d="M66.4287 147.926C66.2744 148.194 66.1196 148.49 66.1334 148.786C66.1478 149.095 66.3867 149.42 66.6963 149.392C66.8506 149.377 66.9916 149.279 67.1182 149.194C70.1272 147.024 73.1505 144.827 75.6398 142.079C78.1285 139.332 80.0554 135.936 80.4491 132.245C80.5055 131.668 80.4347 130.921 79.8867 130.738C79.6335 130.653 79.3521 130.709 79.0988 130.78C77.4395 131.245 74.9929 132.104 73.8395 133.471C72.8835 134.598 72.8414 136.077 72.2929 137.472C70.8023 141.191 68.3976 144.46 66.4287 147.926Z" fill="#1D445C"/>
27
+ <path d="M106.605 99.9099C106.521 100.036 106.366 100.107 106.212 100.177C102.71 101.713 99.1663 103.249 95.37 103.996C93.9916 104.278 92.5711 104.447 91.1512 104.475C89.4919 104.517 87.8044 104.362 86.2009 103.967C86.1169 102.263 85.9759 100.572 85.7791 98.8953C86.5106 98.4447 87.2841 98.0925 88.0294 97.9654C88.9152 97.8244 89.7728 97.9936 90.6309 98.233C91.2635 98.4022 91.8965 98.5713 92.5711 98.6698C96.8181 99.2901 101.093 98.8671 105.326 98.9379C105.649 98.9379 106.015 98.9517 106.282 99.1209C106.577 99.2757 106.774 99.6561 106.605 99.9099Z" fill="#1D445C"/>
28
+ <path d="M100.727 110.97C100.642 111.097 100.487 111.167 100.333 111.238C97.3938 112.506 94.4407 113.802 91.305 114.62C90.7002 114.803 90.0958 114.929 89.4771 115.056C88.4642 115.267 87.4236 115.408 86.3691 115.479C86.4676 113.534 86.4814 111.604 86.4394 109.66C86.524 109.674 86.6224 109.688 86.7064 109.702C88.2535 109.928 89.8005 110.012 91.3471 110.026C94.047 110.069 96.7613 109.913 99.4612 109.956C99.7846 109.956 100.136 109.97 100.417 110.139C100.712 110.308 100.895 110.702 100.727 110.97Z" fill="#1D445C"/>
29
+ <path d="M182.837 193.871C181.5 195.322 180.136 196.731 178.702 198.07C177.071 197.351 175.524 196.519 174.005 195.618C172.74 194.871 171.502 194.082 170.251 193.293C170.124 193.209 169.97 193.11 169.913 192.969C169.787 192.687 170.026 192.349 170.349 192.222C170.659 192.11 170.996 192.138 171.348 192.194C173.12 192.462 174.905 192.786 176.663 193.096C178.702 193.448 180.756 193.772 182.837 193.871Z" fill="#1D445C"/>
30
+ <path d="M175.074 201.282C173.147 202.888 171.151 204.396 169.055 205.818C167.902 205.283 166.777 204.649 165.737 203.945C165.287 203.649 164.837 203.325 164.415 203.015C161.743 201 159.409 198.619 157.117 196.252C157.004 196.139 156.892 196.026 156.85 195.858C156.807 195.561 157.13 195.266 157.454 195.224C157.792 195.195 158.129 195.308 158.439 195.435C161.996 196.816 165.413 198.619 169.112 199.718C169.534 199.845 169.955 199.957 170.406 200.07C171.966 200.465 173.598 200.352 174.92 201.169C174.948 201.197 175.018 201.226 175.074 201.282Z" fill="#1D445C"/>
31
+ </svg>
vendor/codeinwp/themeisle-sdk/assets/js/build/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-api', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'a1e161cc7b075bdd9250');
1
+ <?php return array('dependencies' => array('wp-api', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins'), 'version' => '4990ea029287f2766945');
vendor/codeinwp/themeisle-sdk/assets/js/build/index.js CHANGED
@@ -1 +1 @@
1
- (()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.element,o=window.wp.i18n,n=window.wp.blockEditor,s=window.wp.components,i=window.wp.compose,r=window.wp.data,a=window.wp.hooks,l=window.wp.api;var c=e.n(l);const d={button:{display:"flex",justifyContent:"center",width:"100%"},image:{padding:"20px 0"},skip:{container:{display:"flex",flexDirection:"column",alignItems:"center"},button:{fontSize:"9px"},poweredby:{fontSize:"9px",textTransform:"uppercase"}}},m={"blocks-css":{title:(0,o.__)("Custom CSS","otter-blocks"),description:(0,o.__)("Enable Otter and add your Custom CSS for this block."),image:"css.jpg"},"blocks-animation":{title:(0,o.__)("Animations","otter-blocks"),description:(0,o.__)("Enable Otter to add Animations to this block."),image:"animation.jpg"},"blocks-conditions":{title:(0,o.__)("Visibility Conditions","otter-blocks"),description:(0,o.__)("Enable Otter to add Visibility Conditions to this block."),image:"conditions.jpg"}},w=e=>{let{onClick:n}=e;return(0,t.createElement)("div",{style:d.skip.container},(0,t.createElement)(s.Button,{style:d.skip.button,variant:"tertiary",onClick:n},(0,o.__)("Skip for now")),(0,t.createElement)("span",{style:d.skip.poweredby},(0,o.__)("Recommended by ")+window.themeisleSDKPromotions.product))},p=(0,i.createHigherOrderComponent)((e=>i=>{if(i.isSelected&&Boolean(window.themeisleSDKPromotions.showPromotion)){const[a,l]=(0,t.useState)(!1),[p,u]=(0,t.useState)("default"),[b,_]=(0,t.useState)(!1),[k,y,h]=(()=>{const{createNotice:e}=(0,r.dispatch)("core/notices"),[n,s]=(0,t.useState)({}),[i,a]=(0,t.useState)("loading"),l=()=>{c().loadPromise.then((async()=>{try{const e=new(c().models.Settings),t=await e.fetch();s(t)}catch(e){a("error")}finally{a("loaded")}}))};return(0,t.useEffect)((()=>{l()}),[]),[e=>null==n?void 0:n[e],function(t,n){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,o.__)("Settings saved.","textdomain");a("saving");const i=new(c().models.Settings)({[t]:n}).save();i.success(((t,n)=>{"success"===n&&(a("loaded"),e("success",s,{isDismissible:!0,type:"snackbar"})),"error"===n&&(a("error"),e("error",(0,o.__)("An unknown error occurred.","textdomain"),{isDismissible:!0,type:"snackbar"})),l()})),i.error((t=>{a("error"),e("error",t.responseJSON.message?t.responseJSON.message:(0,o.__)("An unknown error occurred.","textdomain"),{isDismissible:!0,type:"snackbar"})}))},i]})(),g=async()=>{var e;l(!0),await("otter-blocks",new Promise((e=>{wp.updates.ajax("install-plugin",{slug:"otter-blocks",success:()=>{e({success:!0})},error:t=>{e({success:!1,code:t.errorCode})}})}))),await(e=window.themeisleSDKPromotions.activationUrl,new Promise((t=>{jQuery.get(e).done((()=>{t({success:!0})})).fail((()=>{t({success:!1})}))}))),l(!1),u("installed")},S=()=>"installed"===p?(0,t.createElement)("p",null,(0,o.__)("Awesome! Refresh the page to see Otter in action.")):(0,t.createElement)(s.Button,{variant:"secondary",onClick:g,isBusy:a,style:d.button},(0,o.__)("Install & Activate Otter")),f=()=>{const e=JSON.parse(window.themeisleSDKPromotions.promotions_otter);e[window.themeisleSDKPromotions.showPromotion]=(new Date).getTime()/1e3|0,y("themeisle_sdk_promotions_otter",JSON.stringify(e)),window.themeisleSDKPromotions.showPromotion=!1};return(0,t.useEffect)((()=>{b&&f()}),[b]),b?(0,t.createElement)(e,i):(0,t.createElement)(t.Fragment,null,(0,t.createElement)(e,i),(0,t.createElement)(n.InspectorControls,null,Object.keys(m).map((e=>{if(e===window.themeisleSDKPromotions.showPromotion){const o=m[e];return(0,t.createElement)(s.PanelBody,{title:o.title,initialOpen:!1},(0,t.createElement)("p",null,o.description),(0,t.createElement)(S,null),(0,t.createElement)("img",{style:d.image,src:window.themeisleSDKPromotions.assets+o.image}),(0,t.createElement)(w,{onClick:()=>_(!0)}))}}))))}return(0,t.createElement)(e,i)}),"withInspectorControl");(0,r.select)("core/edit-site")||(0,a.addFilter)("editor.BlockEdit","themeisle-sdk/with-inspector-controls",p)})();
1
+ !function(){"use strict";var e,t={655:function(e,t,o){var n=window.wp.element,i=window.wp.i18n,r=window.wp.blockEditor,s=window.wp.components,a=window.wp.compose,l=window.wp.data,m=window.wp.hooks,c=window.wp.api,d=o.n(c),u=()=>{const{createNotice:e}=(0,l.dispatch)("core/notices"),[t,o]=(0,n.useState)({}),[r,s]=(0,n.useState)("loading"),a=()=>{d().loadPromise.then((async()=>{try{const e=new(d().models.Settings),t=await e.fetch();o(t)}catch(e){s("error")}finally{s("loaded")}}))};return(0,n.useEffect)((()=>{a()}),[]),[e=>null==t?void 0:t[e],function(t,o){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,i.__)("Settings saved.","textdomain");s("saving");const r=new(d().models.Settings)({[t]:o}).save();r.success(((t,o)=>{"success"===o&&(s("loaded"),e("success",n,{isDismissible:!0,type:"snackbar"})),"error"===o&&(s("error"),e("error",(0,i.__)("An unknown error occurred.","textdomain"),{isDismissible:!0,type:"snackbar"})),a()})),r.error((t=>{s("error"),e("error",t.responseJSON.message?t.responseJSON.message:(0,i.__)("An unknown error occurred.","textdomain"),{isDismissible:!0,type:"snackbar"})}))},r]};const p=e=>new Promise((t=>{wp.updates.ajax("install-plugin",{slug:e,success:()=>{t({success:!0})},error:e=>{t({success:!1,code:e.errorCode})}})})),h=e=>new Promise((t=>{jQuery.get(e).done((()=>{t({success:!0})})).fail((()=>{t({success:!1})}))})),w=(e,t)=>{const o={};return Object.keys(t).forEach((function(e){"innerBlocks"!==e&&(o[e]=t[e])})),e.push(o),Array.isArray(t.innerBlocks)?(o.innerBlocks=t.innerBlocks.map((e=>e.id)),t.innerBlocks.reduce(w,e)):e},g={button:{display:"flex",justifyContent:"center",width:"100%"},image:{padding:"20px 0"},skip:{container:{display:"flex",flexDirection:"column",alignItems:"center"},button:{fontSize:"9px"},poweredby:{fontSize:"9px",textTransform:"uppercase"}}},_={"blocks-css":{title:(0,i.__)("Custom CSS","textdomain"),description:(0,i.__)("Enable Otter Blocks to add Custom CSS for this block."),image:"css.jpg"},"blocks-animation":{title:(0,i.__)("Animations","textdomain"),description:(0,i.__)("Enable Otter Blocks to add Animations for this block."),image:"animation.jpg"},"blocks-conditions":{title:(0,i.__)("Visibility Conditions","textdomain"),description:(0,i.__)("Enable Otter Blocks to add Visibility Conditions for this block."),image:"conditions.jpg"}},f=e=>{let{onClick:t}=e;return(0,n.createElement)("div",{style:g.skip.container},(0,n.createElement)(s.Button,{style:g.skip.button,variant:"tertiary",onClick:t},(0,i.__)("Skip for now")),(0,n.createElement)("span",{style:g.skip.poweredby},(0,i.__)("Recommended by ")+window.themeisleSDKPromotions.product))},y=(0,a.createHigherOrderComponent)((e=>t=>{if(t.isSelected&&Boolean(window.themeisleSDKPromotions.showPromotion)){const[o,a]=(0,n.useState)(!1),[l,m]=(0,n.useState)("default"),[c,d]=(0,n.useState)(!1),[w,y,E]=u(),k=async()=>{a(!0),await p("otter-blocks"),y("themeisle_sdk_promotions_otter_installed",!Boolean(w("themeisle_sdk_promotions_otter_installed"))),await h(window.themeisleSDKPromotions.otterActivationUrl),a(!1),m("installed")},v=()=>"installed"===l?(0,n.createElement)("p",null,(0,n.createElement)("strong",null,(0,i.__)("Awesome! Refresh the page to see Otter Blocks in action."))):(0,n.createElement)(s.Button,{variant:"secondary",onClick:k,isBusy:o,style:g.button},(0,i.__)("Install & Activate Otter Blocks")),b=()=>{const e={...window.themeisleSDKPromotions.option};e[window.themeisleSDKPromotions.showPromotion]=(new Date).getTime()/1e3|0,y("themeisle_sdk_promotions",JSON.stringify(e)),window.themeisleSDKPromotions.showPromotion=!1};return(0,n.useEffect)((()=>{c&&b()}),[c]),c?(0,n.createElement)(e,t):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(e,t),(0,n.createElement)(r.InspectorControls,null,Object.keys(_).map((e=>{if(e===window.themeisleSDKPromotions.showPromotion){const t=_[e];return(0,n.createElement)(s.PanelBody,{key:e,title:t.title,initialOpen:!1},(0,n.createElement)("p",null,t.description),(0,n.createElement)(v,null),(0,n.createElement)("img",{style:g.image,src:window.themeisleSDKPromotions.assets+t.image}),(0,n.createElement)(f,{onClick:()=>d(!0)}))}}))))}return(0,n.createElement)(e,t)}),"withInspectorControl");(0,l.select)("core/edit-site")||(0,m.addFilter)("editor.BlockEdit","themeisle-sdk/with-inspector-controls",y);var E=window.wp.plugins,k=window.wp.editPost;function v(e){let{stacked:t=!1,noImage:o=!1,type:r,onDismiss:a}=e;const{assets:l,title:m,email:c,option:d,optionKey:w,optimoleActivationUrl:g,optimoleApi:_,optimoleDash:f,nonce:y}=window.themeisleSDKPromotions,[E,k]=(0,n.useState)(!1),[v,b]=(0,n.useState)(c||""),[P,S]=(0,n.useState)(!1),[x,O]=(0,n.useState)(null),[A,D]=u(),B=async()=>{S(!0);const e={...d};e[r]=(new Date).getTime()/1e3|0,window.themeisleSDKPromotions.option=e,await D(w,JSON.stringify(e)),a&&a()},C=()=>{k(!E)},N=e=>{b(e.target.value)},K=async e=>{e.preventDefault(),O("installing"),await p("optimole-wp"),O("activating"),await h(g),D("themeisle_sdk_promotions_optimole_installed",!Boolean(A("themeisle_sdk_promotions_optimole_installed"))),O("connecting");try{await fetch(_,{method:"POST",headers:{"X-WP-Nonce":y,"Content-Type":"application/json"},body:JSON.stringify({email:v})}),O("done")}catch(e){O("done")}};if(P)return null;const j=()=>"done"===x?(0,n.createElement)("div",{className:"done"},(0,n.createElement)("p",null,(0,i.__)("Awesome! You are all set!","textdomain")),(0,n.createElement)(s.Button,{icon:"external",isPrimary:!0,href:f,target:"_blank"},(0,i.__)("Go to Optimole dashboard","textdomain"))):x?(0,n.createElement)("p",{className:"om-progress"},(0,n.createElement)("span",{className:"dashicons dashicons-update spin"}),(0,n.createElement)("span",null,"installing"===x&&(0,i.__)("Installing","textdomain"),"activating"===x&&(0,i.__)("Activating","textdomain"),"connecting"===x&&(0,i.__)("Connecting to API","textdomain"),"…")):(0,n.createElement)(n.Fragment,null,(0,n.createElement)("span",null,(0,i.__)("Enter your email address to create & connect your account","textdomain")),(0,n.createElement)("form",{onSubmit:K},(0,n.createElement)("input",{defaultValue:v,type:"email",onChange:N,placeholder:(0,i.__)("Email address","textdomain")}),(0,n.createElement)(s.Button,{isPrimary:!0,type:"submit"},(0,i.__)("Start using Optimole","textdomain")))),I=()=>(0,n.createElement)(s.Button,{disabled:x&&"done"!==x,onClick:B,isLink:!0,className:"om-notice-dismiss"},(0,n.createElement)("span",{className:"dashicons-no-alt dashicons"}),(0,n.createElement)("span",{className:"screen-reader-text"},"Dismiss this notice."));return t?(0,n.createElement)("div",{className:"ti-om-stack-wrap"},(0,n.createElement)("div",{className:"om-stack-notice"},I(),(0,n.createElement)("img",{src:l+"/optimole-logo.svg",alt:(0,i.__)("Optimole logo","textdomain")}),(0,n.createElement)("h2",null,(0,i.__)("Get more with Optimole","textdomain")),(0,n.createElement)("p",null,"om-editor"===r?(0,i.__)("Increase this page speed and SEO ranking by optimizing images with Optimole.","textdomain"):(0,i.__)("Leverage Optimole's full integration with Elementor to automatically lazyload, resize, compress to AVIF/WebP and deliver from 400 locations around the globe!","textdomain")),!E&&(0,n.createElement)(s.Button,{isPrimary:!0,onClick:C,className:"cta"},(0,i.__)("Get Started Free","textdomain")),E&&j(),(0,n.createElement)("i",null,m))):(0,n.createElement)(n.Fragment,null,I(),(0,n.createElement)("div",{className:"content"},!o&&(0,n.createElement)("img",{src:l+"/optimole-logo.svg",alt:(0,i.__)("Optimole logo","textdomain")}),(0,n.createElement)("div",null,(0,n.createElement)("p",null,m),(0,n.createElement)("p",{className:"description"},"om-media"===r?(0,i.__)("Save your server space by storing images to Optimole and deliver them optimized from 400 locations around the globe. Unlimited images, Unlimited traffic.","textdomain"):(0,i.__)("Optimize, store and deliver this image with 80% less size while looking just as great, using Optimole.","textdomain")),!E&&(0,n.createElement)("div",{className:"actions"},(0,n.createElement)(s.Button,{isPrimary:!0,onClick:C},(0,i.__)("Get Started Free","textdomain")),(0,n.createElement)(s.Button,{isLink:!0,target:"_blank",href:"https://wordpress.org/plugins/optimole-wp"},(0,i.__)("Learn more","textdomain"))),E&&(0,n.createElement)("div",{className:"form-wrap"},j()))))}const b=()=>{const[e,t]=(0,n.useState)(!0),{getBlocks:o}=(0,l.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor");return{getBlocks:t}}));var i;if((i=o(),"core/image",i.reduce(w,[]).filter((e=>"core/image"===e.name))).length<2)return null;const r="ti-sdk-optimole-post-publish "+(e?"":"hidden");return(0,n.createElement)(k.PluginPostPublishPanel,{className:r},(0,n.createElement)(v,{stacked:!0,type:"om-editor",onDismiss:()=>{t(!1)}}))};new class{constructor(){const{showPromotion:e,debug:t}=window.themeisleSDKPromotions;this.promo=e,this.debug="1"===t,this.domRef=null,this.run()}run(){if(this.debug)this.runAll();else switch(this.promo){case"om-attachment":this.runAttachmentPromo();break;case"om-media":this.runMediaPromo();break;case"om-editor":this.runEditorPromo();break;case"om-elementor":this.runElementorPromo()}}runAttachmentPromo(){wp.media.view.Attachment.Details.prototype.on("ready",(()=>{setTimeout((()=>{this.removeAttachmentPromo(),this.addAttachmentPromo()}),100)})),wp.media.view.Modal.prototype.on("close",(()=>{setTimeout(this.removeAttachmentPromo,100)}))}runMediaPromo(){if(window.themeisleSDKPromotions.option["om-media"])return;const e=document.querySelector("#ti-optml-notice");e&&(0,n.render)((0,n.createElement)(v,{type:"om-media",onDismiss:()=>{e.style.opacity=0}}),e)}runEditorPromo(){window.themeisleSDKPromotions.option["om-editor"]||(0,E.registerPlugin)("post-publish-panel-test",{render:b})}runElementorPromo(){if(!window.elementor)return;const e=this;elementor.on("preview:loaded",(()=>{elementor.panel.currentView.on("set:page:editor",(t=>{e.domRef&&(0,n.unmountComponentAtNode)(e.domRef),t.activeSection&&"section_image"===t.activeSection&&e.runElementorActions(e)}))}))}addAttachmentPromo(){if(this.domRef&&(0,n.unmountComponentAtNode)(this.domRef),window.themeisleSDKPromotions.option["om-attachment"])return;const e=document.querySelector("#ti-optml-notice-helper");e&&(this.domRef=e,(0,n.render)((0,n.createElement)("div",{className:"notice notice-info ti-sdk-om-notice",style:{margin:0}},(0,n.createElement)(v,{noImage:!0,type:"om-attachment",onDismiss:()=>{e.style.opacity=0}})),e))}removeAttachmentPromo(){const e=document.querySelector("#ti-optml-notice-helper");e&&(0,n.unmountComponentAtNode)(e)}runElementorActions(e){if(window.themeisleSDKPromotions.option["om-elementor"])return;const t=document.querySelector("#elementor-panel__editor__help"),o=document.createElement("div");o.id="ti-optml-notice",e.domRef=o,t&&(t.parentNode.insertBefore(o,t),(0,n.render)((0,n.createElement)(v,{stacked:!0,type:"om-elementor",onDismiss:()=>{o.style.opacity=0}}),o))}runAll(){this.runAttachmentPromo(),this.runMediaPromo(),this.runEditorPromo(),this.runElementorPromo()}}}},o={};function n(e){var i=o[e];if(void 0!==i)return i.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,n),r.exports}n.m=t,e=[],n.O=function(t,o,i,r){if(!o){var s=1/0;for(c=0;c<e.length;c++){o=e[c][0],i=e[c][1],r=e[c][2];for(var a=!0,l=0;l<o.length;l++)(!1&r||s>=r)&&Object.keys(n.O).every((function(e){return n.O[e](o[l])}))?o.splice(l--,1):(a=!1,r<s&&(s=r));if(a){e.splice(c--,1);var m=i();void 0!==m&&(t=m)}}return t}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[o,i,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.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,431:0};n.O.j=function(t){return 0===e[t]};var t=function(t,o){var i,r,s=o[0],a=o[1],l=o[2],m=0;if(s.some((function(t){return 0!==e[t]}))){for(i in a)n.o(a,i)&&(n.m[i]=a[i]);if(l)var c=l(n)}for(t&&t(o);m<s.length;m++)r=s[m],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(c)},o=self.webpackChunkthemeisle_sdk=self.webpackChunkthemeisle_sdk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var i=n.O(void 0,[431],(function(){return n(655)}));i=n.O(i)}();
vendor/codeinwp/themeisle-sdk/assets/js/build/style-index.css ADDED
@@ -0,0 +1 @@
 
1
+ .ti-sdk-om-notice{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2e47ba;border-left-color:#3858e9;padding:0;position:relative}.ti-sdk-om-notice .content{align-items:center;background:hsla(0,0%,100%,.75);display:flex;padding:15px 20px}.ti-sdk-om-notice img{display:none;margin-right:20px;max-width:100px}.ti-sdk-om-notice .description{color:#000;font-size:14px;margin-bottom:20px}.ti-sdk-om-notice .actions{display:flex;gap:20px;margin-bottom:0;margin-top:auto}.ti-sdk-om-notice form{display:flex;gap:10px}.ti-sdk-om-notice .form-wrap{display:grid}.ti-sdk-om-notice .form-wrap span{font-weight:500;margin-bottom:5px}.ti-sdk-om-notice input{border-radius:0;min-width:250px}.ti-sdk-om-notice a.components-button{align-items:center;display:flex;justify-content:center}.ti-sdk-om-notice .done{align-items:flex-start;display:flex;flex-direction:column}.ti-sdk-om-notice .done a{width:auto}@media screen and (min-width:768px){.ti-sdk-om-notice img{display:block}}.compat-field-optimole th{display:none!important}.compat-field-optimole td{width:100%!important}.compat-field-optimole .ti-sdk-om-notice{margin:0}.om-notice-dismiss{position:absolute;right:10px;text-decoration:none!important;top:10px}.om-notice-dismiss:before{content:none}.ti-om-stack-wrap .om-stack-notice{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2e47ba;align-items:center;display:flex;flex-direction:column;padding:20px 10px;position:relative;text-align:center}.ti-om-stack-wrap .om-stack-notice>span{display:none}.ti-om-stack-wrap .om-stack-notice img{max-width:90px!important}.ti-om-stack-wrap .om-stack-notice h2{font-size:18px;font-weight:600;margin:30px auto 10px}.ti-om-stack-wrap .om-stack-notice p{font-size:13px;line-height:17px;margin:0 auto;max-width:250px}.ti-om-stack-wrap .om-stack-notice i{color:#757575;font-size:12px;margin-top:10px}.ti-om-stack-wrap .om-stack-notice .cta{margin:20px auto 0;padding:10px 25px!important}.ti-om-stack-wrap .om-stack-notice .om-notice-dismiss{color:inherit}.ti-om-stack-wrap .om-stack-notice input{border-radius:0}.ti-om-stack-wrap .om-stack-notice form{display:grid;gap:10px;margin-top:10px;place-items:center;width:75%}.ti-om-stack-wrap .om-stack-notice .done{display:grid;gap:10px;margin-top:15px}.ti-om-stack-wrap .om-stack-notice .done p{font-size:15px;font-weight:500}.ti-om-stack-wrap .om-stack-notice .om-progress{margin:20px 0}.om-progress{align-items:center;display:flex;font-size:14px;gap:5px}.om-progress .spin{animation:om-rotation 2s linear infinite}@keyframes om-rotation{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.ti-sdk-om-promo.hidden{display:none}
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  return;
15
  }
16
  // Current SDK version and path.
17
- $themeisle_sdk_version = '3.2.27';
18
  $themeisle_sdk_path = dirname( __FILE__ );
19
 
20
  global $themeisle_sdk_max_version;
@@ -71,3 +71,105 @@ if ( ! function_exists( 'themeisle_sdk_load_latest' ) ) :
71
  }
72
  endif;
73
  add_action( 'init', 'themeisle_sdk_load_latest' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  return;
15
  }
16
  // Current SDK version and path.
17
+ $themeisle_sdk_version = '3.2.31';
18
  $themeisle_sdk_path = dirname( __FILE__ );
19
 
20
  global $themeisle_sdk_max_version;
71
  }
72
  endif;
73
  add_action( 'init', 'themeisle_sdk_load_latest' );
74
+
75
+ if ( ! function_exists( 'tsdk_utmify' ) ) {
76
+ /**
77
+ * Utmify a link.
78
+ *
79
+ * @param string $url URL to add utms.
80
+ * @param string $area Area in page where this is used ( CTA, image, section name).
81
+ * @param string $location Location, such as customizer, about page.
82
+ *
83
+ * @return string
84
+ */
85
+ function tsdk_utmify( $url, $area, $location = null ) {
86
+ static $current_page = null;
87
+ if ( $location === null && $current_page === null ) {
88
+ global $pagenow;
89
+ $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : $pagenow;
90
+ $current_page = isset( $screen->id ) ? $screen->id : ( ( $screen === null ) ? 'non-admin' : $screen );
91
+ $current_page = sanitize_key( str_replace( '.php', '', $current_page ) );
92
+ }
93
+ $location = $location === null ? $current_page : $location;
94
+ $content = sanitize_key(
95
+ trim(
96
+ str_replace(
97
+ [
98
+ 'https://',
99
+ 'themeisle.com',
100
+ '/themes/',
101
+ '/plugins/',
102
+ '/upgrade',
103
+ ],
104
+ '',
105
+ $url
106
+ ),
107
+ '/'
108
+ )
109
+ );
110
+ return esc_url_raw(
111
+ add_query_arg(
112
+ [
113
+ 'utm_source' => 'wpadmin',
114
+ 'utm_medium' => $location,
115
+ 'utm_campaign' => $area,
116
+ 'utm_content' => $content,
117
+ ],
118
+ $url
119
+ )
120
+ );
121
+ }
122
+
123
+ add_filter( 'tsdk_utmify', 'tsdk_utmify', 10, 3 );
124
+ }
125
+
126
+
127
+ if ( ! function_exists( 'tsdk_lstatus' ) ) {
128
+ /**
129
+ * Check license status.
130
+ *
131
+ * @param string $file Product basefile.
132
+ *
133
+ * @return string Status.
134
+ */
135
+ function tsdk_lstatus( $file ) {
136
+ return \ThemeisleSDK\Modules\Licenser::status( $file );
137
+ }
138
+ }
139
+ if ( ! function_exists( 'tsdk_lis_valid' ) ) {
140
+ /**
141
+ * Check if license is valid.
142
+ *
143
+ * @param string $file Product basefile.
144
+ *
145
+ * @return bool Validness.
146
+ */
147
+ function tsdk_lis_valid( $file ) {
148
+ return \ThemeisleSDK\Modules\Licenser::is_valid( $file );
149
+ }
150
+ }
151
+ if ( ! function_exists( 'tsdk_lplan' ) ) {
152
+ /**
153
+ * Get license plan.
154
+ *
155
+ * @param string $file Product basefile.
156
+ *
157
+ * @return string Plan.
158
+ */
159
+ function tsdk_lplan( $file ) {
160
+ return \ThemeisleSDK\Modules\Licenser::plan( $file );
161
+ }
162
+ }
163
+
164
+ if ( ! function_exists( 'tsdk_lkey' ) ) {
165
+ /**
166
+ * Get license key.
167
+ *
168
+ * @param string $file Product basefile.
169
+ *
170
+ * @return string Key.
171
+ */
172
+ function tsdk_lkey( $file ) {
173
+ return \ThemeisleSDK\Modules\Licenser::key( $file );
174
+ }
175
+ }
vendor/codeinwp/themeisle-sdk/src/Loader.php CHANGED
@@ -56,6 +56,7 @@ final class Loader {
56
  'recommendation',
57
  'notification',
58
  'promotions',
 
59
  ];
60
 
61
  /**
56
  'recommendation',
57
  'notification',
58
  'promotions',
59
+ 'compatibilities',
60
  ];
61
 
62
  /**
vendor/codeinwp/themeisle-sdk/src/Modules/Compatibilities.php ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The compatibilities model class for ThemeIsle SDK
4
+ *
5
+ * @package ThemeIsleSDK
6
+ * @subpackage Modules
7
+ * @copyright Copyright (c) 2017, Marius Cristea
8
+ * @license http://opensource.org/licenses/gpl-3.0.php GNU Public License
9
+ * @since 1.0.0
10
+ */
11
+
12
+ namespace ThemeisleSDK\Modules;
13
+
14
+ use ThemeisleSDK\Common\Abstract_Module;
15
+ use ThemeisleSDK\Product;
16
+
17
+ // Exit if accessed directly.
18
+ if ( ! defined( 'ABSPATH' ) ) {
19
+ exit;
20
+ }
21
+
22
+ /**
23
+ * Promotions module for ThemeIsle SDK.
24
+ */
25
+ class Compatibilities extends Abstract_Module {
26
+ const REQUIRED = 'required';
27
+ const TESTED_UP = 'tested_up';
28
+
29
+ /**
30
+ * Should we load this module.
31
+ *
32
+ * @param Product $product Product object.
33
+ *
34
+ * @return bool
35
+ */
36
+ public function can_load( $product ) {
37
+ if ( $this->is_from_partner( $product ) ) {
38
+ return false;
39
+ }
40
+ if ( $product->is_theme() && ! current_user_can( 'switch_themes' ) ) {
41
+ return false;
42
+ }
43
+
44
+ if ( $product->is_plugin() && ! current_user_can( 'install_plugins' ) ) {
45
+ return false;
46
+ }
47
+
48
+ return true;
49
+ }
50
+
51
+ /**
52
+ * Registers the hooks.
53
+ *
54
+ * @param Product $product Product to load.
55
+ *
56
+ * @throws \Exception If the configuration is invalid.
57
+ *
58
+ * @return Compatibilities Module instance.
59
+ */
60
+ public function load( $product ) {
61
+
62
+
63
+ $this->product = $product;
64
+
65
+ $compatibilities = apply_filters( 'themeisle_sdk_compatibilities/' . $this->product->get_slug(), [] );
66
+ if ( empty( $compatibilities ) ) {
67
+ return $this;
68
+ }
69
+ $requirement = null;
70
+ $check_type = null;
71
+ foreach ( $compatibilities as $compatibility ) {
72
+
73
+ if ( empty( $compatibility['basefile'] ) ) {
74
+ return $this;
75
+ }
76
+ $requirement = new Product( $compatibility['basefile'] );
77
+ $tested_up = isset( $compatibility[ self::TESTED_UP ] ) ? $compatibility[ self::TESTED_UP ] : '999';
78
+ $required = $compatibility[ self::REQUIRED ];
79
+ if ( ! version_compare( $required, $tested_up, '<' ) ) {
80
+ throw new \Exception( sprintf( 'Invalid required/tested_up configuration. Required version %s should be lower than tested_up %s.', $required, $tested_up ) );
81
+ }
82
+ $check_type = self::REQUIRED;
83
+ if ( ! version_compare( $requirement->get_version(), $required, '<' ) ) {
84
+ $check_type = self::TESTED_UP;
85
+ if ( version_compare( $requirement->get_version(), $tested_up . '.9999', '<' ) ) {
86
+ return $this;
87
+ }
88
+ }
89
+
90
+ break;
91
+ }
92
+ if ( empty( $requirement ) ) {
93
+ return $this;
94
+ }
95
+ if ( $check_type === self::REQUIRED ) {
96
+ $this->mark_required( $product, $requirement );
97
+ }
98
+ if ( $check_type === self::TESTED_UP ) {
99
+ $this->mark_testedup( $product, $requirement );
100
+ }
101
+
102
+ return $this;
103
+ }
104
+
105
+ /**
106
+ * Mark the product tested up.
107
+ *
108
+ * @param Product $product Product object.
109
+ * @param Product $requirement Requirement object.
110
+ *
111
+ * @return void
112
+ */
113
+ public function mark_testedup( $product, $requirement ) {
114
+ add_action(
115
+ 'admin_head',
116
+ function () use ( $product, $requirement ) {
117
+ $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : '';
118
+
119
+ if ( empty( $screen ) || ! isset( $screen->id ) ) {
120
+ return;
121
+ }
122
+ if ( $requirement->is_theme() && $screen->id === 'themes' ) {
123
+ ?>
124
+ <script type="text/javascript">
125
+ jQuery(document).ready(function ($) {
126
+ setInterval(checkTheme, 500);
127
+ function checkTheme() {
128
+ var theme = jQuery( '.theme.active[data-slug="<?php echo esc_attr( $requirement->get_slug() ); ?>"]' );
129
+ var notice_id = 'testedup<?php echo esc_attr( $requirement->get_slug() . $product->get_slug() ); ?>';
130
+ var product_name = '<?php echo esc_attr( $product->get_friendly_name() ); ?>';
131
+ if (theme.length > 0 && jQuery('#' + notice_id).length === 0) {
132
+ theme.find('.theme-id-container').prepend('<div style="bottom:100%;top:auto;" id="'+notice_id+'" class="notice notice-warning"><strong>Warning:</strong> This theme has not been tested with your current version of <strong>' + product_name +'</strong>. Please update '+product_name+' plugin.</div>');
133
+ }
134
+ if (theme.length > 0 && jQuery('#' + notice_id + 'overlay').length === 0) {
135
+ jQuery('.theme-overlay.active .theme-author').after('<div style="bottom:100%;top:auto;" id="'+notice_id+'overlay" class="notice notice-warning"><p><strong>Warning:</strong> This theme has not been tested with your current version of <strong>' + product_name +'</strong>. Please update '+product_name+' plugin.</p></div>');
136
+ }
137
+ }
138
+ })
139
+
140
+ </script>
141
+ <?php
142
+ }
143
+ if ( $requirement->is_plugin() && $screen->id === 'plugins' ) {
144
+ ?>
145
+ <script type="text/javascript">
146
+ jQuery(document).ready(function ($) {
147
+ setInterval(checkPlugin, 500);
148
+ function checkPlugin() {
149
+ var plugin = jQuery( '.plugins .active[data-slug="<?php echo esc_attr( $requirement->get_slug() ); ?>"]' );
150
+ var notice_id = 'testedup<?php echo esc_attr( $requirement->get_slug() . $product->get_slug() ); ?>';
151
+ var product_name = '<?php echo esc_attr( $product->get_friendly_name() ); ?>';
152
+ var product_type = '<?php echo ( $product->is_plugin() ? 'plugin' : 'theme' ); ?>';
153
+ if (plugin.length > 0 && jQuery('#' + notice_id).length === 0) {
154
+ plugin.find('.column-description').append('<div style="bottom:100%;top:auto;" id="'+notice_id+'" class="notice notice-warning notice-alt notice-inline"><strong>Warning:</strong> This plugin has not been tested with your current version of <strong>' + product_name +'</strong>. Please update '+product_name+' '+product_type+'.</div>');
155
+ }
156
+ }
157
+ })
158
+
159
+ </script>
160
+ <?php
161
+ }
162
+ }
163
+ );
164
+
165
+ }
166
+
167
+ /**
168
+ * Mark the product requirements.
169
+ *
170
+ * @param Product $product Product object.
171
+ * @param Product $requirement Requirement object.
172
+ *
173
+ * @return void
174
+ */
175
+ public function mark_required( $product, $requirement ) {
176
+ add_filter(
177
+ 'upgrader_pre_download',
178
+ function ( $return, $package, $upgrader ) use ( $product, $requirement ) {
179
+ /**
180
+ * Upgrader object.
181
+ *
182
+ * @var \WP_Upgrader $upgrader Upgrader object.
183
+ */
184
+ $should_block = false;
185
+ if ( $product->is_theme()
186
+ && property_exists( $upgrader, 'skin' )
187
+ && property_exists( $upgrader->skin, 'theme_info' )
188
+ && $upgrader->skin->theme_info->template === $product->get_slug() ) {
189
+ $should_block = true;
190
+
191
+ }
192
+ if ( ! $should_block && $product->is_plugin()
193
+ && property_exists( $upgrader, 'skin' )
194
+ && property_exists( $upgrader->skin, 'plugin_info' )
195
+ && $upgrader->skin->plugin_info['Name'] === $product->get_name() ) {
196
+ $should_block = true;
197
+ }
198
+ if ( $should_block ) {
199
+ echo( sprintf(
200
+ '%s update requires a newer version of %s. Please %supdate%s %s %s.',
201
+ esc_attr( $product->get_friendly_name() ),
202
+ esc_attr( $requirement->get_friendly_name() ),
203
+ '<a href="' . esc_url( admin_url( $requirement->is_theme() ? 'themes.php' : 'plugins.php' ) ) . '">',
204
+ '</a>',
205
+ esc_attr( $requirement->get_friendly_name() ),
206
+ esc_attr( $requirement->is_theme() ? 'theme' : 'plugin' )
207
+ ) );
208
+ $upgrader->maintenance_mode( false );
209
+ die();
210
+ }
211
+
212
+ return $return;
213
+ },
214
+ 10,
215
+ 3
216
+ );
217
+
218
+ add_action(
219
+ 'admin_notices',
220
+ function () use ( $product, $requirement ) {
221
+ echo '<div class="notice notice-error "><p>';
222
+ echo( sprintf(
223
+ '%s requires a newer version of %s. Please %supdate%s %s %s to the latest version.',
224
+ '<strong>' . esc_attr( $product->get_friendly_name() ) . '</strong>',
225
+ '<strong>' . esc_attr( $requirement->get_friendly_name() ) . '</strong>',
226
+ '<a href="' . esc_url( admin_url( $requirement->is_theme() ? 'themes.php' : 'plugins.php' ) ) . '">',
227
+ '</a>',
228
+ '<strong>' . esc_attr( $requirement->get_friendly_name() ) . '</strong>',
229
+ esc_attr( $requirement->is_theme() ? 'theme' : 'plugin' )
230
+ ) );
231
+ echo '</p></div>';
232
+ }
233
+ );
234
+
235
+ }
236
+ }
vendor/codeinwp/themeisle-sdk/src/Modules/Dashboard_widget.php CHANGED
@@ -131,8 +131,9 @@ class Dashboard_Widget extends Abstract_Module {
131
  #themeisle h2.hndle {
132
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABbCAMAAADncTNAAAAAtFBMVEVHcEyAgIB/f3+xsbGgoaGBgYGCgoKKioqAgIC1tbW5ubnFx8iAgIDU1taBgYGCgoKAgIC0tLXW19jW2NiAgIC3uLiBgYHLzMy4uLhycnLW19d/f3/T1NW0tLTX19mVlZWvr6+BgYHl5eWKiottbW5JSUnW2Nm5ubnh4eHT1NWVlZVjY2N4eHh9fX6pqqq+v79PT0/39/fu7u7Nzc7Z2ttYWFgBAQHDw8P////JysoZGRk0NTZqJc/sAAAAIXRSTlMA0FL7/oEnEPL6eibivm9gwJya76/enFq2CXI+2lFAyM8GATmPAAADj0lEQVR4Xu2YaW/iOhSGAwRCWDosnXa6znjJvm8svf//f12TuARyhiR2pfnUR6gSEnr0+uT4xK7yRb755pvhHePli5K7Bfpkuhoq8ozRJdMH+WWha6Z3sqYparCSLRJqspjImVbANJU03cNMMpofAwQZCGsmpQYyFvVM0Q00OQ9koMl5IPcCoro+RA1Dt2Ea9n9eZ0+YHJLkgIlkDywQx00wCTyaReiKH8LbNU9ybJOdkchV6QFxyCFLbVvdfaREqgUWg/tx2UbqIcK2Hex2TdGLwFTjIj3XP3YfCZFsb23KRZn/3263oymSFI0/a5S4PqUBjoBIJBDjeEhCN0wxQSRybIxtJ3K5SGzuE/vAwIQc8ZmMMJFAIM4oikZItfEFtorGgoE43FObwqHU68OtPCnOz8KZ2Jbl5LgkSW0Tc7YyIz/EFWmS4jMbiZU5mJOmKRaJpKGGyLZtDJh3iyaNUu/3+xyKnrtFL71EG+FTiMpENhQtxUQ8kSOXCIr2tnCNhg/gTX0SHYFp0t7TCwQZ7U841yoHrW6rtGroUwTWVnLMssxx+H4bgZcSOFf5MYx0Ae8FghomMDyC2EBNImBywPkNTDNqGLQpIg2TjUNU8tBy9DQMo0DAZF16rAi7vJAtFTIYFAHUc6hIRW6OuOhJgaCSwmDEAYK4oa7ro+qIEyJU/US7KTJKPNSFT9tFgVFBu0SF1y7yjX4masRA9Da7EFGj28R/BkQz6xGIOurkx38T/bKs9Uk8aIiMwm/Jw0VP1yLrJwt13xAxvABBgsK4KWLov35DkRF7ZaqgzuZ7MQ8MOntmVYyAqKTwaICKqvSUFnVccMN5sziEP/5+xGDTahbH5Q3ZB76zr8fI+nJtvUUU3t3ml5GKviK/npCg3CGodnuJ4JVkfRFJYGVDBZrqKnn9RLf+CzDTS5PaN5J38+auzX4ykU4Qoj0rdKfcYs5ijfo9OL/uRUgZyQr7NCWtWwiUSLc4arfJa7lpszTA1OJZAQ8w8dXFrR5YHzCWSnS3pZ18tOi4Ps4vl/c7i/6qomjRecN+UubrPyPGn/VEMU3T0UFHkaPzpgjxmJsnjmrtionlMDZiog0TsY/DPtn8SXtlBvbtxKtwopy7lqW3smQO+yoGE1Uu55GJ3pmI8ygoejZNnqj0vnIRCyTKfLstRdtStGQi09myUsvwvlkuzSUXbV+Xz5ryBebV33fln/A/moud69FZiEYAAAAASUVORK5CYII=');
133
  background-repeat: no-repeat;
134
- background-position: 92% 50%;
135
  background-size: 25px;
 
136
  }
137
 
138
  #themeisle .inside {
131
  #themeisle h2.hndle {
132
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABbCAMAAADncTNAAAAAtFBMVEVHcEyAgIB/f3+xsbGgoaGBgYGCgoKKioqAgIC1tbW5ubnFx8iAgIDU1taBgYGCgoKAgIC0tLXW19jW2NiAgIC3uLiBgYHLzMy4uLhycnLW19d/f3/T1NW0tLTX19mVlZWvr6+BgYHl5eWKiottbW5JSUnW2Nm5ubnh4eHT1NWVlZVjY2N4eHh9fX6pqqq+v79PT0/39/fu7u7Nzc7Z2ttYWFgBAQHDw8P////JysoZGRk0NTZqJc/sAAAAIXRSTlMA0FL7/oEnEPL6eibivm9gwJya76/enFq2CXI+2lFAyM8GATmPAAADj0lEQVR4Xu2YaW/iOhSGAwRCWDosnXa6znjJvm8svf//f12TuARyhiR2pfnUR6gSEnr0+uT4xK7yRb755pvhHePli5K7Bfpkuhoq8ozRJdMH+WWha6Z3sqYparCSLRJqspjImVbANJU03cNMMpofAwQZCGsmpQYyFvVM0Q00OQ9koMl5IPcCoro+RA1Dt2Ea9n9eZ0+YHJLkgIlkDywQx00wCTyaReiKH8LbNU9ybJOdkchV6QFxyCFLbVvdfaREqgUWg/tx2UbqIcK2Hex2TdGLwFTjIj3XP3YfCZFsb23KRZn/3263oymSFI0/a5S4PqUBjoBIJBDjeEhCN0wxQSRybIxtJ3K5SGzuE/vAwIQc8ZmMMJFAIM4oikZItfEFtorGgoE43FObwqHU68OtPCnOz8KZ2Jbl5LgkSW0Tc7YyIz/EFWmS4jMbiZU5mJOmKRaJpKGGyLZtDJh3iyaNUu/3+xyKnrtFL71EG+FTiMpENhQtxUQ8kSOXCIr2tnCNhg/gTX0SHYFp0t7TCwQZ7U841yoHrW6rtGroUwTWVnLMssxx+H4bgZcSOFf5MYx0Ae8FghomMDyC2EBNImBywPkNTDNqGLQpIg2TjUNU8tBy9DQMo0DAZF16rAi7vJAtFTIYFAHUc6hIRW6OuOhJgaCSwmDEAYK4oa7ro+qIEyJU/US7KTJKPNSFT9tFgVFBu0SF1y7yjX4masRA9Da7EFGj28R/BkQz6xGIOurkx38T/bKs9Uk8aIiMwm/Jw0VP1yLrJwt13xAxvABBgsK4KWLov35DkRF7ZaqgzuZ7MQ8MOntmVYyAqKTwaICKqvSUFnVccMN5sziEP/5+xGDTahbH5Q3ZB76zr8fI+nJtvUUU3t3ml5GKviK/npCg3CGodnuJ4JVkfRFJYGVDBZrqKnn9RLf+CzDTS5PaN5J38+auzX4ykU4Qoj0rdKfcYs5ijfo9OL/uRUgZyQr7NCWtWwiUSLc4arfJa7lpszTA1OJZAQ8w8dXFrR5YHzCWSnS3pZ18tOi4Ps4vl/c7i/6qomjRecN+UubrPyPGn/VEMU3T0UFHkaPzpgjxmJsnjmrtionlMDZiog0TsY/DPtn8SXtlBvbtxKtwopy7lqW3smQO+yoGE1Uu55GJ3pmI8ygoejZNnqj0vnIRCyTKfLstRdtStGQi09myUsvwvlkuzSUXbV+Xz5ryBebV33fln/A/moud69FZiEYAAAAASUVORK5CYII=');
133
  background-repeat: no-repeat;
134
+ background-position: 2% 50%;
135
  background-size: 25px;
136
+ padding-left: 39px;
137
  }
138
 
139
  #themeisle .inside {
vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php CHANGED
@@ -24,13 +24,30 @@ if ( ! defined( 'ABSPATH' ) ) {
24
  * Licenser module for ThemeIsle SDK.
25
  */
26
  class Licenser extends Abstract_Module {
27
-
 
 
 
 
 
 
 
 
 
 
 
28
  /**
29
  * Number of max failed checks before showing the license message.
30
  *
31
  * @var int $max_failed Maximum failed checks allowed before show the notice
32
  */
33
- private static $max_failed = 2;
 
 
 
 
 
 
34
  /**
35
  * License key string.
36
  *
@@ -215,6 +232,76 @@ class Licenser extends Abstract_Module {
215
  return ( 'valid' === $status && isset( $license_data->is_expired ) && 'yes' === $license_data->is_expired ) ? 'active_expired' : $status;
216
  }
217
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  /**
219
  * Return the last error message.
220
  *
@@ -256,12 +343,7 @@ class Licenser extends Abstract_Module {
256
  * @return int License plan.
257
  */
258
  public function get_plan() {
259
- $license_data = get_option( $this->product->get_key() . '_license_data', '' );
260
- if ( ! isset( $license_data->price_id ) ) {
261
- return - 1;
262
- }
263
-
264
- return (int) $license_data->price_id;
265
  }
266
 
267
  /**
@@ -379,7 +461,7 @@ class Licenser extends Abstract_Module {
379
  return $this->get_api_url();
380
  }
381
 
382
- return $this->get_api_url() . '/checkout/?edd_license_key=' . $license_data->key . '&download_id=' . $license_data->download_id;
383
  }
384
 
385
  /**
@@ -853,7 +935,13 @@ class Licenser extends Abstract_Module {
853
  $this->failed_checks = intval( get_option( $this->product->get_key() . '_failed_checks', 0 ) );
854
  $this->register_license_hooks();
855
  }
856
-
 
 
 
 
 
 
857
  $namespace = apply_filters( 'themesle_sdk_namespace_' . md5( $product->get_basefile() ), false );
858
 
859
  if ( false !== $namespace ) {
@@ -880,6 +968,20 @@ class Licenser extends Abstract_Module {
880
  );
881
  add_filter( 'plugins_api', array( $this, 'plugins_api_filter' ), 10, 3 );
882
  add_filter( 'http_request_args', array( $this, 'http_request_args' ), 10, 2 ); //phpcs:ignore WordPressVIPMinimum.Hooks.RestrictedHooks.http_request_args
 
 
 
 
 
 
 
 
 
 
 
 
 
 
883
 
884
  return $this;
885
  }
24
  * Licenser module for ThemeIsle SDK.
25
  */
26
  class Licenser extends Abstract_Module {
27
+ /**
28
+ * License VALID status string.
29
+ */
30
+ const STATUS_VALID = 'valid';
31
+ /**
32
+ * License NOT_ACTIVE status string.
33
+ */
34
+ const STATUS_NOT_ACTIVE = 'not_active';
35
+ /**
36
+ * License active expired status string.
37
+ */
38
+ const STATUS_ACTIVE_EXPIRED = 'active_expired';
39
  /**
40
  * Number of max failed checks before showing the license message.
41
  *
42
  * @var int $max_failed Maximum failed checks allowed before show the notice
43
  */
44
+ private static $max_failed = 1;
45
+ /**
46
+ * Flag to check if the global actions were loaded.
47
+ *
48
+ * @var bool If the globals actions were loaded.
49
+ */
50
+ private static $globals_loaded = false;
51
  /**
52
  * License key string.
53
  *
232
  return ( 'valid' === $status && isset( $license_data->is_expired ) && 'yes' === $license_data->is_expired ) ? 'active_expired' : $status;
233
  }
234
 
235
+ /**
236
+ * Check status.
237
+ *
238
+ * @param string $product_file Product basefile.
239
+ *
240
+ * @return string Status license.
241
+ */
242
+ public static function status( $product_file ) {
243
+ $product = Product::get( $product_file );
244
+ if ( ! $product->requires_license() ) {
245
+ return self::STATUS_VALID;
246
+ }
247
+ $license_data = self::get_license_data( $product->get_key() );
248
+
249
+ $status = isset( $license_data->license ) ? $license_data->license : self::STATUS_NOT_ACTIVE;
250
+
251
+ return ( 'valid' === $status && isset( $license_data->is_expired ) && 'yes' === $license_data->is_expired ) ? 'active_expired' : $status;
252
+ }
253
+
254
+ /**
255
+ * Product license data.
256
+ *
257
+ * @param string $key Product key.
258
+ *
259
+ * @return false|mixed|null
260
+ */
261
+ private static function get_license_data( $key ) {
262
+ $license_data = get_option( $key . '_license_data', '' );
263
+
264
+ return isset( $license_data->license ) ? $license_data : false;
265
+ }
266
+
267
+ /**
268
+ * Check if license is valid.
269
+ *
270
+ * @param string $product_file Product basefile.
271
+ *
272
+ * @return bool Is valid?
273
+ */
274
+ public static function is_valid( $product_file ) {
275
+ return self::status( $product_file ) === self::STATUS_VALID;
276
+ }
277
+
278
+ /**
279
+ * Get product plan.
280
+ *
281
+ * @param string $product_file Product file.
282
+ *
283
+ * @return int Plan id.
284
+ */
285
+ public static function plan( $product_file ) {
286
+ $product = Product::get( $product_file );
287
+ $data = self::get_license_data( $product->get_key() );
288
+
289
+ return isset( $data->price_id ) ? (int) $data->price_id : - 1;
290
+ }
291
+
292
+ /**
293
+ * Get product license key.
294
+ *
295
+ * @param string $product_file Product file.
296
+ *
297
+ * @return string
298
+ */
299
+ public static function key( $product_file ) {
300
+ $product = Product::get( $product_file );
301
+
302
+ return $product->get_license();
303
+ }
304
+
305
  /**
306
  * Return the last error message.
307
  *
343
  * @return int License plan.
344
  */
345
  public function get_plan() {
346
+ return self::plan( $this->product->get_basefile() );
 
 
 
 
 
347
  }
348
 
349
  /**
461
  return $this->get_api_url();
462
  }
463
 
464
+ return trim( $this->get_api_url(), '/' ) . '/checkout/?edd_license_key=' . $license_data->key . '&download_id=' . $license_data->download_id;
465
  }
466
 
467
  /**
935
  $this->failed_checks = intval( get_option( $this->product->get_key() . '_failed_checks', 0 ) );
936
  $this->register_license_hooks();
937
  }
938
+ if ( ! self::$globals_loaded ) {
939
+ add_filter( 'themeisle_sdk_license/status', [ __CLASS__, 'status' ], 999, 1 );
940
+ add_filter( 'themeisle_sdk_license/is-valid', [ __CLASS__, 'is_valid' ], 999, 1 );
941
+ add_filter( 'themeisle_sdk_license/plan', [ __CLASS__, 'plan' ], 999, 1 );
942
+ add_filter( 'themeisle_sdk_license/key', [ __CLASS__, 'key' ], 999, 1 );
943
+ $globals_loaded = true;
944
+ }
945
  $namespace = apply_filters( 'themesle_sdk_namespace_' . md5( $product->get_basefile() ), false );
946
 
947
  if ( false !== $namespace ) {
968
  );
969
  add_filter( 'plugins_api', array( $this, 'plugins_api_filter' ), 10, 3 );
970
  add_filter( 'http_request_args', array( $this, 'http_request_args' ), 10, 2 ); //phpcs:ignore WordPressVIPMinimum.Hooks.RestrictedHooks.http_request_args
971
+ if ( ! self::is_valid( $product->get_basefile() ) ) {
972
+ add_filter(
973
+ 'plugin_action_links_' . plugin_basename( $product->get_basefile() ),
974
+ function ( $actions ) {
975
+ if ( $this->get_license_status( true ) !== self::STATUS_ACTIVE_EXPIRED ) {
976
+ return $actions;
977
+ }
978
+ $new_actions['deactivate'] = $actions['deactivate'];
979
+ $new_actions['renew_link'] = '<a style="color:#d63638" href="' . esc_url( $this->renew_url() ) . '" target="_blank" rel="external noopener noreferrer">Renew license to update</a>';
980
+
981
+ return $new_actions;
982
+ }
983
+ );
984
+ }
985
 
986
  return $this;
987
  }
vendor/codeinwp/themeisle-sdk/src/Modules/Promotions.php CHANGED
@@ -25,12 +25,48 @@ if ( ! defined( 'ABSPATH' ) ) {
25
  * Promotions module for ThemeIsle SDK.
26
  */
27
  class Promotions extends Abstract_Module {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  /**
29
- * Fetched feeds items.
30
  *
31
- * @var array Feed items.
32
  */
33
- private $promotions_to_load = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  /**
36
  * Should we load this module.
@@ -40,153 +76,482 @@ class Promotions extends Abstract_Module {
40
  * @return bool
41
  */
42
  public function can_load( $product ) {
 
 
 
43
  if ( $this->is_from_partner( $product ) ) {
44
  return false;
45
  }
46
 
47
- $this->promotions_to_load = apply_filters( $product->get_key() . '_load_promotions', array() );
 
 
48
 
49
- if ( 0 === count( $this->promotions_to_load ) ) {
50
- return false;
 
 
 
 
51
  }
52
 
53
- return true;
 
 
 
54
  }
55
 
56
  /**
57
  * Registers the hooks.
58
  *
59
  * @param Product $product Product to load.
60
- *
61
- * @return Promotions Module instance.
62
  */
63
  public function load( $product ) {
64
- if ( 0 === count( $this->promotions_to_load ) ) {
65
  return;
66
  }
67
 
68
  $this->product = $product;
69
 
70
- if ( in_array( 'otter', $this->promotions_to_load ) && false === apply_filters( 'themeisle_sdk_load_promotions_otter', false ) && ! ( defined( 'OTTER_BLOCKS_VERSION' ) || $this->is_otter_installed() ) && version_compare( get_bloginfo( 'version' ), '5.8', '>=' ) ) {
71
- add_filter( 'themeisle_sdk_load_promotions_otter', '__return_true' );
72
- add_action( 'init', array( $this, 'register_settings' ), 99 );
73
 
74
- if ( false !== $this->show_otter_promotion() ) {
75
- add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_editor_assets' ) );
76
- }
77
  }
78
 
79
- return $this;
 
 
 
80
  }
81
 
82
  /**
83
- * Register Settings
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  *
85
- * @since 1.2.0
86
- * @access public
 
 
 
 
 
 
 
 
 
 
 
 
87
  */
88
  public function register_settings() {
 
 
89
  register_setting(
90
  'themeisle_sdk_settings',
91
- 'themeisle_sdk_promotions_otter',
92
  array(
93
  'type' => 'string',
94
  'sanitize_callback' => 'sanitize_text_field',
95
  'show_in_rest' => true,
96
- 'default' => '{}',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  )
98
  );
99
  }
100
 
101
  /**
102
- * Get the Otter Blocks plugin status.
103
  *
104
  * @return string
105
  */
106
- private function is_otter_installed() {
107
- $status = false;
 
 
 
 
108
 
109
- if ( file_exists( ABSPATH . 'wp-content/plugins/otter-blocks/otter-blocks.php' ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  return true;
111
  }
112
 
113
- return $status;
114
  }
115
 
116
  /**
117
- * Get status of Otter promotion message.
 
 
118
  *
119
- * @return mixed
120
  */
121
- public function show_otter_promotion() {
122
- $promotions = array(
123
- 'blocks_css',
124
- 'blocks_animation',
125
- 'blocks_conditions',
126
- );
127
 
128
- $option = json_decode( get_option( 'themeisle_sdk_promotions_otter', '{}' ), true );
 
 
129
 
130
- if ( 0 === count( $option ) ) {
131
- return 'blocks-css';
132
  }
133
 
134
- if ( isset( $option['blocks-css'] ) && ! isset( $option['blocks-animation'] ) && $option['blocks-css'] < strtotime( '-7 days' ) ) {
135
- return 'blocks-animation';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  }
137
 
138
- if ( isset( $option['blocks-animation'] ) && ! isset( $option['blocks-conditions'] ) && $option['blocks-animation'] < strtotime( '-7 days' ) ) {
139
- return 'blocks-conditions';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  }
141
 
142
- return false;
143
  }
144
 
145
  /**
146
- * Load Gutenberg editor assets.
147
  *
148
- * @since 1.0.0
149
- * @access public
150
  */
151
- public function enqueue_editor_assets() {
152
- global $themeisle_sdk_max_path;
153
 
154
- $themeisle_sdk_path = dirname( $themeisle_sdk_max_path );
155
- $themeisle_sdk_src = plugins_url( '/', $themeisle_sdk_max_path );
 
156
 
157
- $asset_file = include $themeisle_sdk_path . '/themeisle-sdk/assets/js/build/index.asset.php';
158
 
159
- wp_enqueue_script(
160
- 'themeisle-sdk-otter-promotions',
161
- $themeisle_sdk_src . 'themeisle-sdk/assets/js/build/index.js',
162
- array_merge( $asset_file['dependencies'], [ 'updates' ] ),
163
- $asset_file['version'],
164
- true
165
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
 
167
- $option = get_option( 'themeisle_sdk_promotions_otter', '{}' );
 
 
 
 
 
 
 
 
 
 
168
 
 
169
  wp_localize_script(
170
- 'themeisle-sdk-otter-promotions',
171
  'themeisleSDKPromotions',
172
- array(
173
- 'product' => $this->product->get_name(),
174
- 'assets' => $themeisle_sdk_src . 'themeisle-sdk/assets/images/',
175
- 'showPromotion' => $this->show_otter_promotion(),
176
- 'promotions_otter' => $option,
177
- 'activationUrl' => esc_url(
178
- add_query_arg(
179
- array(
180
- 'plugin_status' => 'all',
181
- 'paged' => '1',
182
- 'action' => 'activate',
183
- 'plugin' => rawurlencode( 'otter-blocks/otter-blocks.php' ),
184
- '_wpnonce' => wp_create_nonce( 'activate-plugin_otter-blocks/otter-blocks.php' ),
185
- ),
186
- admin_url( 'plugins.php' )
187
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
  ),
 
189
  )
190
  );
191
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  }
25
  * Promotions module for ThemeIsle SDK.
26
  */
27
  class Promotions extends Abstract_Module {
28
+
29
+ /**
30
+ * Holds the promotions.
31
+ *
32
+ * @var array
33
+ */
34
+ private $promotions = array();
35
+
36
+ /**
37
+ * Option key for promos.
38
+ *
39
+ * @var string
40
+ */
41
+ private $option_main = 'themeisle_sdk_promotions';
42
+
43
  /**
44
+ * Option key for otter promos.
45
  *
46
+ * @var string
47
  */
48
+ private $option_otter = 'themeisle_sdk_promotions_otter_installed';
49
+
50
+ /**
51
+ * Option key for optimole promos.
52
+ *
53
+ * @var string
54
+ */
55
+ private $option_optimole = 'themeisle_sdk_promotions_optimole_installed';
56
+
57
+ /**
58
+ * Loaded promotion.
59
+ *
60
+ * @var string
61
+ */
62
+ private $loaded_promo;
63
+
64
+ /**
65
+ * Debug mode.
66
+ *
67
+ * @var bool
68
+ */
69
+ private $debug = false;
70
 
71
  /**
72
  * Should we load this module.
76
  * @return bool
77
  */
78
  public function can_load( $product ) {
79
+ if ( apply_filters( 'themeisle_sdk_ran_promos', false ) === true ) {
80
+ return false;
81
+ }
82
  if ( $this->is_from_partner( $product ) ) {
83
  return false;
84
  }
85
 
86
+ $this->debug = apply_filters( 'themeisle_sdk_promo_debug', $this->debug );
87
+ $promotions_to_load = apply_filters( $product->get_key() . '_load_promotions', array() );
88
+ $promotions_to_load[] = 'optimole';
89
 
90
+ $this->promotions = $this->get_promotions();
91
+
92
+ foreach ( $this->promotions as $slug => $data ) {
93
+ if ( ! in_array( $slug, $promotions_to_load, true ) ) {
94
+ unset( $this->promotions[ $slug ] );
95
+ }
96
  }
97
 
98
+ add_action( 'init', array( $this, 'register_settings' ), 99 );
99
+ add_action( 'admin_init', array( $this, 'register_reference' ), 99 );
100
+
101
+ return ! empty( $this->promotions );
102
  }
103
 
104
  /**
105
  * Registers the hooks.
106
  *
107
  * @param Product $product Product to load.
 
 
108
  */
109
  public function load( $product ) {
110
+ if ( ! $this->is_writeable() || ! current_user_can( 'install_plugins' ) ) {
111
  return;
112
  }
113
 
114
  $this->product = $product;
115
 
116
+ $last_dismiss = $this->get_last_dismiss_time();
 
 
117
 
118
+ if ( ! $this->debug && $last_dismiss && ( time() - $last_dismiss ) < 7 * DAY_IN_SECONDS ) {
119
+ return;
 
120
  }
121
 
122
+ add_filter( 'attachment_fields_to_edit', array( $this, 'add_attachment_field' ), 10, 2 );
123
+ add_action( 'current_screen', [ $this, 'load_available' ] );
124
+ add_action( 'elementor/editor/after_enqueue_scripts', array( $this, 'enqueue' ) );
125
+ add_filter( 'themeisle_sdk_ran_promos', '__return_true' );
126
  }
127
 
128
  /**
129
+ * Load available promotions.
130
+ */
131
+ public function load_available() {
132
+ $this->promotions = $this->filter_by_screen_and_merge();
133
+
134
+ if ( empty( $this->promotions ) ) {
135
+ return;
136
+ }
137
+
138
+ $this->load_promotion( $this->promotions[ array_rand( $this->promotions ) ] );
139
+ }
140
+
141
+
142
+ /**
143
+ * Register plugin reference.
144
  *
145
+ * @return void
146
+ */
147
+ public function register_reference() {
148
+ if ( isset( $_GET['reference_key'] ) ) {
149
+ update_option( 'otter_reference_key', sanitize_key( $_GET['reference_key'] ) );
150
+ }
151
+
152
+ if ( isset( $_GET['optimole_reference_key'] ) ) {
153
+ update_option( 'optimole_reference_key', sanitize_key( $_GET['optimole_reference_key'] ) );
154
+ }
155
+ }
156
+
157
+ /**
158
+ * Register Settings
159
  */
160
  public function register_settings() {
161
+ $default = get_option( 'themeisle_sdk_promotions_otter', '{}' );
162
+
163
  register_setting(
164
  'themeisle_sdk_settings',
165
+ $this->option_main,
166
  array(
167
  'type' => 'string',
168
  'sanitize_callback' => 'sanitize_text_field',
169
  'show_in_rest' => true,
170
+ 'default' => $default,
171
+ )
172
+ );
173
+
174
+ register_setting(
175
+ 'themeisle_sdk_settings',
176
+ $this->option_otter,
177
+ array(
178
+ 'type' => 'boolean',
179
+ 'sanitize_callback' => 'rest_sanitize_boolean',
180
+ 'show_in_rest' => true,
181
+ 'default' => false,
182
+ )
183
+ );
184
+ register_setting(
185
+ 'themeisle_sdk_settings',
186
+ $this->option_optimole,
187
+ array(
188
+ 'type' => 'boolean',
189
+ 'sanitize_callback' => 'rest_sanitize_boolean',
190
+ 'show_in_rest' => true,
191
+ 'default' => false,
192
  )
193
  );
194
  }
195
 
196
  /**
197
+ * Get the SDK base url.
198
  *
199
  * @return string
200
  */
201
+ private function get_sdk_uri() {
202
+ global $themeisle_sdk_max_path;
203
+
204
+ if ( $this->product->is_plugin() ) {
205
+ return plugins_url( '/', $themeisle_sdk_max_path . '/themeisle-sdk/' );
206
+ };
207
 
208
+ return get_template_directory_uri() . '/vendor/codeinwp/themeisle-sdk/';
209
+ }
210
+
211
+ /**
212
+ * Check if the path is writable.
213
+ *
214
+ * @return boolean
215
+ * @access public
216
+ */
217
+ public function is_writeable() {
218
+
219
+ include_once ABSPATH . 'wp-admin/includes/file.php';
220
+ $filesystem_method = get_filesystem_method();
221
+
222
+ if ( 'direct' === $filesystem_method ) {
223
  return true;
224
  }
225
 
226
+ return false;
227
  }
228
 
229
  /**
230
+ * Get the Otter Blocks plugin status.
231
+ *
232
+ * @param string $plugin Plugin slug.
233
  *
234
+ * @return bool
235
  */
236
+ private function is_plugin_installed( $plugin ) {
237
+ static $allowed_keys = [
238
+ 'otter-blocks' => 'otter-blocks/otter-blocks.php',
239
+ 'optimole-wp' => 'optimole-wp/optimole-wp.php',
240
+ ];
 
241
 
242
+ if ( ! isset( $allowed_keys[ $plugin ] ) ) {
243
+ return false;
244
+ }
245
 
246
+ if ( file_exists( WP_CONTENT_DIR . '/plugins/' . $allowed_keys[ $plugin ] ) ) {
247
+ return true;
248
  }
249
 
250
+ return false;
251
+ }
252
+
253
+ /**
254
+ * Get promotions.
255
+ *
256
+ * @return array
257
+ */
258
+ private function get_promotions() {
259
+ $has_otter = defined( 'OTTER_BLOCKS_VERSION' ) || $this->is_plugin_installed( 'otter-blocks' );
260
+ $had_otter_from_promo = get_option( $this->option_otter, false );
261
+ $has_optimole = defined( 'OPTIMOLE_VERSION' ) || $this->is_plugin_installed( 'optimole-wp' );
262
+ $had_optimole_from_promo = get_option( $this->option_optimole, false );
263
+ $is_min_req_v = version_compare( get_bloginfo( 'version' ), '5.8', '>=' );
264
+ $has_enough_attachments = $this->has_min_media_attachments();
265
+
266
+ $all = [
267
+ 'optimole' => [
268
+ 'om-editor' => [
269
+ 'env' => ! $has_optimole && $is_min_req_v && ! $had_optimole_from_promo,
270
+ 'screen' => 'editor',
271
+ ],
272
+ 'om-attachment' => [
273
+ 'env' => ! $has_optimole && ! $had_optimole_from_promo,
274
+ 'screen' => 'media',
275
+ ],
276
+ 'om-media' => [
277
+ 'env' => ! $has_optimole && ! $had_optimole_from_promo && $has_enough_attachments,
278
+ 'screen' => 'media',
279
+ ],
280
+ 'om-elementor' => [
281
+ 'env' => ! $has_optimole && ! $had_optimole_from_promo && defined( 'ELEMENTOR_VERSION' ),
282
+ 'screen' => 'elementor',
283
+ ],
284
+ ],
285
+ 'otter' => [
286
+ 'blocks-css' => [
287
+ 'env' => ! $has_otter && $is_min_req_v && ! $had_otter_from_promo,
288
+ 'screen' => 'editor',
289
+ ],
290
+ 'blocks-animation' => [
291
+ 'env' => ! $has_otter && $is_min_req_v && ! $had_otter_from_promo,
292
+ 'screen' => 'editor',
293
+ ],
294
+ 'blocks-conditions' => [
295
+ 'env' => ! $has_otter && $is_min_req_v && ! $had_otter_from_promo,
296
+ 'screen' => 'editor',
297
+ ],
298
+ ],
299
+ ];
300
+
301
+ foreach ( $all as $slug => $data ) {
302
+ foreach ( $data as $key => $conditions ) {
303
+ if ( ! $conditions['env'] ) {
304
+ unset( $all[ $slug ][ $key ] );
305
+
306
+ continue;
307
+ }
308
+
309
+ if ( $this->get_upsells_dismiss_time( $key ) ) {
310
+ unset( $all[ $slug ][ $key ] );
311
+ }
312
+ }
313
+
314
+ if ( empty( $all[ $slug ] ) ) {
315
+ unset( $all[ $slug ] );
316
+ }
317
  }
318
 
319
+ return $all;
320
+ }
321
+
322
+ /**
323
+ * Get the upsell dismiss time.
324
+ *
325
+ * @param string $key The upsell key. If empty will return all dismiss times.
326
+ *
327
+ * @return false | string
328
+ */
329
+ private function get_upsells_dismiss_time( $key = '' ) {
330
+ $old = get_option( 'themeisle_sdk_promotions_otter', '{}' );
331
+ $data = get_option( $this->option_main, $old );
332
+
333
+ $data = json_decode( $data, true );
334
+
335
+ if ( empty( $key ) ) {
336
+ return $data;
337
  }
338
 
339
+ return isset( $data[ $key ] ) ? $data[ $key ] : false;
340
  }
341
 
342
  /**
343
+ * Get the last dismiss time of a promotion.
344
  *
345
+ * @return false
 
346
  */
347
+ private function get_last_dismiss_time() {
348
+ $dismissed = $this->get_upsells_dismiss_time();
349
 
350
+ if ( empty( $dismissed ) ) {
351
+ return false;
352
+ }
353
 
354
+ $last_dismiss = max( array_values( $dismissed ) );
355
 
356
+ return $last_dismiss;
357
+ }
358
+
359
+ /**
360
+ * Filter by screen & merge into single array of keys.
361
+ *
362
+ * @return array
363
+ */
364
+ private function filter_by_screen_and_merge() {
365
+ $current_screen = get_current_screen();
366
+
367
+ $is_elementor = isset( $_GET['action'] ) && $_GET['action'] === 'elementor';
368
+ $is_media = isset( $current_screen->id ) && $current_screen->id === 'upload';
369
+ $is_editor = method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor();
370
+
371
+ $return = [];
372
+
373
+ foreach ( $this->promotions as $slug => $promos ) {
374
+ foreach ( $promos as $key => $data ) {
375
+ switch ( $data['screen'] ) {
376
+ case 'media':
377
+ if ( ! $is_media ) {
378
+ unset( $this->promotions[ $slug ][ $key ] );
379
+ }
380
+ break;
381
+ case 'editor':
382
+ if ( ! $is_editor || $is_elementor ) {
383
+ unset( $this->promotions[ $slug ][ $key ] );
384
+ }
385
+ break;
386
+ case 'elementor':
387
+ if ( ! $is_elementor ) {
388
+ unset( $this->promotions[ $slug ][ $key ] );
389
+ }
390
+ break;
391
+ }
392
+ }
393
+
394
+ $return = array_merge( $return, $this->promotions[ $slug ] );
395
+ }
396
+
397
+ return array_keys( $return );
398
+ }
399
+
400
+ /**
401
+ * Load single promotion.
402
+ *
403
+ * @param string $slug slug of the promotion.
404
+ */
405
+ private function load_promotion( $slug ) {
406
+ $this->loaded_promo = $slug;
407
+
408
+ if ( $this->debug ) {
409
+ add_action( 'enqueue_block_editor_assets', [ $this, 'enqueue' ] );
410
+ add_action( 'admin_enqueue_scripts', [ $this, 'enqueue' ] );
411
+ if ( $this->get_upsells_dismiss_time( 'om-media' ) === false ) {
412
+ add_action( 'admin_notices', [ $this, 'render_optimole_dash_notice' ] );
413
+ }
414
+
415
+ return;
416
+ }
417
+
418
+ switch ( $slug ) {
419
+ case 'om-editor':
420
+ case 'blocks-css':
421
+ case 'blocks-animation':
422
+ case 'blocks-conditions':
423
+ add_action( 'enqueue_block_editor_assets', [ $this, 'enqueue' ] );
424
+ break;
425
+ case 'om-attachment':
426
+ add_action( 'admin_enqueue_scripts', [ $this, 'enqueue' ] );
427
+ break;
428
+ case 'om-media':
429
+ add_action( 'admin_enqueue_scripts', [ $this, 'enqueue' ] );
430
+ add_action( 'admin_notices', [ $this, 'render_optimole_dash_notice' ] );
431
+ break;
432
+ }
433
+ }
434
+
435
+ /**
436
+ * Render dashboard notice.
437
+ */
438
+ public function render_optimole_dash_notice() {
439
+ $screen = get_current_screen();
440
+
441
+ if ( ! isset( $screen->id ) || $screen->id !== 'upload' ) {
442
+ return;
443
+ }
444
+
445
+ echo '<div id="ti-optml-notice" class="notice notice-info ti-sdk-om-notice"></div>';
446
+ }
447
 
448
+ /**
449
+ * Enqueue the assets.
450
+ */
451
+ public function enqueue() {
452
+ global $themeisle_sdk_max_path;
453
+ $handle = 'ti-sdk-promo';
454
+ $saved = $this->get_upsells_dismiss_time();
455
+ $themeisle_sdk_src = $this->get_sdk_uri();
456
+ $user = wp_get_current_user();
457
+ $asset_file = require $themeisle_sdk_max_path . '/assets/js/build/index.asset.php';
458
+ $deps = array_merge( $asset_file['dependencies'], [ 'updates' ] );
459
 
460
+ wp_register_script( $handle, $themeisle_sdk_src . 'assets/js/build/index.js', $deps, $asset_file['version'], true );
461
  wp_localize_script(
462
+ $handle,
463
  'themeisleSDKPromotions',
464
+ [
465
+ 'debug' => $this->debug,
466
+ 'email' => $user->user_email,
467
+ 'showPromotion' => $this->loaded_promo,
468
+ 'optionKey' => $this->option_main,
469
+ 'product' => $this->product->get_name(),
470
+ 'option' => empty( $saved ) ? new \stdClass() : $saved,
471
+ 'nonce' => wp_create_nonce( 'wp_rest' ),
472
+ 'assets' => $themeisle_sdk_src . 'assets/images/',
473
+ 'optimoleApi' => esc_url( rest_url( 'optml/v1/register_service' ) ),
474
+ 'optimoleActivationUrl' => $this->get_plugin_activation_link( 'optimole-wp' ),
475
+ 'otterActivationUrl' => $this->get_plugin_activation_link( 'otter-blocks' ),
476
+ 'optimoleDash' => esc_url( add_query_arg( [ 'page' => 'optimole' ], admin_url( 'upload.php' ) ) ),
477
+ // translators: %s is the product name.
478
+ 'title' => esc_html( sprintf( __( 'Recommended by %s', 'textdomain' ), $this->product->get_name() ) ),
479
+ ]
480
+ );
481
+ wp_enqueue_script( $handle );
482
+ wp_enqueue_style( $handle, $themeisle_sdk_src . 'assets/js/build/style-index.css', [ 'wp-components' ], $asset_file['version'] );
483
+ }
484
+
485
+ /**
486
+ * Add promo to attachment modal.
487
+ *
488
+ * @param array $fields Fields array.
489
+ * @param \WP_Post $post Post object.
490
+ *
491
+ * @return array
492
+ */
493
+ public function add_attachment_field( $fields, $post ) {
494
+ if ( $post->post_type !== 'attachment' ) {
495
+ return $fields;
496
+ }
497
+
498
+ if ( ! isset( $post->post_mime_type ) || strpos( $post->post_mime_type, 'image' ) === false ) {
499
+ return $fields;
500
+ }
501
+
502
+ $meta = wp_get_attachment_metadata( $post->ID );
503
+
504
+ if ( isset( $meta['filesize'] ) && $meta['filesize'] < 200000 ) {
505
+ return $fields;
506
+ }
507
+
508
+ $fields['optimole'] = array(
509
+ 'input' => 'html',
510
+ 'html' => '<div id="ti-optml-notice-helper"></div>',
511
+ );
512
+
513
+ if ( count( $fields ) < 2 ) {
514
+ add_filter( 'wp_required_field_message', '__return_empty_string' );
515
+ }
516
+
517
+ return $fields;
518
+ }
519
+
520
+ /**
521
+ * Get plugin activation link.
522
+ *
523
+ * @param string $slug The plugin slug.
524
+ *
525
+ * @return string
526
+ */
527
+ private function get_plugin_activation_link( $slug ) {
528
+ $reference_key = $slug === 'otter-blocks' ? 'reference_key' : 'optimole_reference_key';
529
+
530
+ return esc_url(
531
+ add_query_arg(
532
+ array(
533
+ 'plugin_status' => 'all',
534
+ 'paged' => '1',
535
+ 'action' => 'activate',
536
+ $reference_key => $this->product->get_key(),
537
+ 'plugin' => rawurlencode( $slug . '/' . $slug . '.php' ),
538
+ '_wpnonce' => wp_create_nonce( 'activate-plugin_' . $slug . '/' . $slug . '.php' ),
539
  ),
540
+ admin_url( 'plugins.php' )
541
  )
542
  );
543
  }
544
+
545
+ /**
546
+ * Check if has 50 image media items.
547
+ *
548
+ * @return bool
549
+ */
550
+ private function has_min_media_attachments() {
551
+ if ( $this->debug ) {
552
+ return true;
553
+ }
554
+
555
+ return array_sum( (array) wp_count_attachments( 'image' ) ) > 50;
556
+ }
557
  }
vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php CHANGED
@@ -701,10 +701,11 @@ class Uninstall_Feedback extends Abstract_Module {
701
  $disclosure_new_labels = apply_filters( $this->product->get_slug() . '_themeisle_sdk_disclosure_content_labels', [], $this->product );
702
  $disclosure_labels = array_merge(
703
  [
704
- 'title' => 'Below is a detailed view of all data that ThemeIsle will receive if you fill in this survey. No domain name, email address or IP addresses are transmited after you submit the survey.',
705
  'items' => [
706
  sprintf( '%s %s version %s %s %s %s', '<strong>', ucwords( $this->product->get_type() ), '</strong>', '<code>', $this->product->get_version(), '</code>' ),
707
  sprintf( '%sCurrent website:%s %s %s %s', '<strong>', '</strong>', '<code>', get_site_url(), '</code>' ),
 
708
  sprintf( '%s Uninstall reason %s %s Selected reason from the above survey %s ', '<strong>', '</strong>', '<i>', '</i>' ),
709
  ],
710
  ],
@@ -785,11 +786,12 @@ class Uninstall_Feedback extends Abstract_Module {
785
  * @return bool Is the request succesfull?
786
  */
787
  protected function call_api( $attributes ) {
788
- $slug = $this->product->get_slug();
789
- $version = $this->product->get_version();
790
- $attributes['slug'] = $slug;
791
- $attributes['version'] = $version;
792
- $attributes['url'] = get_site_url();
 
793
 
794
  $response = wp_remote_post(
795
  self::FEEDBACK_ENDPOINT,
701
  $disclosure_new_labels = apply_filters( $this->product->get_slug() . '_themeisle_sdk_disclosure_content_labels', [], $this->product );
702
  $disclosure_labels = array_merge(
703
  [
704
+ 'title' => 'Below is a detailed view of all data that ThemeIsle will receive if you fill in this survey. No email address or IP addresses are transmitted after you submit the survey.',
705
  'items' => [
706
  sprintf( '%s %s version %s %s %s %s', '<strong>', ucwords( $this->product->get_type() ), '</strong>', '<code>', $this->product->get_version(), '</code>' ),
707
  sprintf( '%sCurrent website:%s %s %s %s', '<strong>', '</strong>', '<code>', get_site_url(), '</code>' ),
708
+ sprintf( '%sUsage time:%s %s %s%s', '<strong>', '</strong>', '<code>', ( time() - $this->product->get_install_time() ), 's</code>' ),
709
  sprintf( '%s Uninstall reason %s %s Selected reason from the above survey %s ', '<strong>', '</strong>', '<i>', '</i>' ),
710
  ],
711
  ],
786
  * @return bool Is the request succesfull?
787
  */
788
  protected function call_api( $attributes ) {
789
+ $slug = $this->product->get_slug();
790
+ $version = $this->product->get_version();
791
+ $attributes['slug'] = $slug;
792
+ $attributes['version'] = $version;
793
+ $attributes['url'] = get_site_url();
794
+ $attributes['active_time'] = ( time() - $this->product->get_install_time() );
795
 
796
  $response = wp_remote_post(
797
  self::FEEDBACK_ENDPOINT,
vendor/codeinwp/themeisle-sdk/src/Product.php CHANGED
@@ -106,10 +106,17 @@ class Product {
106
  * @var string $version The product version.
107
  */
108
  private $version;
 
 
 
 
 
 
109
  /**
110
  * Root api endpoint.
111
  */
112
  const API_URL = 'https://api.themeisle.com/';
 
113
  /**
114
  * ThemeIsle_SDK_Product constructor.
115
  *
@@ -128,8 +135,25 @@ class Product {
128
  $install = time();
129
  update_option( $this->get_key() . '_install', time() );
130
  }
131
- $this->install = $install;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
 
 
133
  }
134
 
135
  /**
106
  * @var string $version The product version.
107
  */
108
  private $version;
109
+ /**
110
+ * Holds a map of loaded products objects.
111
+ *
112
+ * @var array Array of loaded products.
113
+ */
114
+ private static $cached_products = [];
115
  /**
116
  * Root api endpoint.
117
  */
118
  const API_URL = 'https://api.themeisle.com/';
119
+
120
  /**
121
  * ThemeIsle_SDK_Product constructor.
122
  *
135
  $install = time();
136
  update_option( $this->get_key() . '_install', time() );
137
  }
138
+ $this->install = $install;
139
+ self::$cached_products[ crc32( $basefile ) ] = $this;
140
+ }
141
+
142
+ /**
143
+ * Return a product.
144
+ *
145
+ * @param string $basefile Product basefile.
146
+ *
147
+ * @return Product Product Object.
148
+ */
149
+ public static function get( $basefile ) {
150
+ $key = crc32( $basefile );
151
+ if ( isset( self::$cached_products[ $key ] ) ) {
152
+ return self::$cached_products[ $key ];
153
+ }
154
+ self::$cached_products[ $key ] = new Product( $basefile );
155
 
156
+ return self::$cached_products[ $key ];
157
  }
158
 
159
  /**
vendor/codeinwp/themeisle-sdk/start.php CHANGED
@@ -33,6 +33,7 @@ $files_to_load = [
33
  $themeisle_library_path . '/src/Modules/Review.php',
34
  $themeisle_library_path . '/src/Modules/Recommendation.php',
35
  $themeisle_library_path . '/src/Modules/Promotions.php',
 
36
  ];
37
 
38
  $files_to_load = array_merge( $files_to_load, apply_filters( 'themeisle_sdk_required_files', [] ) );
@@ -42,7 +43,6 @@ foreach ( $files_to_load as $file ) {
42
  require_once $file;
43
  }
44
  }
45
-
46
  Loader::init();
47
 
48
  foreach ( $products as $product ) {
33
  $themeisle_library_path . '/src/Modules/Review.php',
34
  $themeisle_library_path . '/src/Modules/Recommendation.php',
35
  $themeisle_library_path . '/src/Modules/Promotions.php',
36
+ $themeisle_library_path . '/src/Modules/Compatibilities.php',
37
  ];
38
 
39
  $files_to_load = array_merge( $files_to_load, apply_filters( 'themeisle_sdk_required_files', [] ) );
43
  require_once $file;
44
  }
45
  }
 
46
  Loader::init();
47
 
48
  foreach ( $products as $product ) {
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit8fd7405c066de11f7dd40f4dfc5512e6
6
  {
7
  private static $loader;
8
 
@@ -22,18 +22,18 @@ class ComposerAutoloaderInit8fd7405c066de11f7dd40f4dfc5512e6
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit8fd7405c066de11f7dd40f4dfc5512e6', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
- spl_autoload_unregister(array('ComposerAutoloaderInit8fd7405c066de11f7dd40f4dfc5512e6', 'loadClassLoader'));
28
 
29
  require __DIR__ . '/autoload_static.php';
30
- call_user_func(\Composer\Autoload\ComposerStaticInit8fd7405c066de11f7dd40f4dfc5512e6::getInitializer($loader));
31
 
32
  $loader->register(true);
33
 
34
- $includeFiles = \Composer\Autoload\ComposerStaticInit8fd7405c066de11f7dd40f4dfc5512e6::$files;
35
  foreach ($includeFiles as $fileIdentifier => $file) {
36
- composerRequire8fd7405c066de11f7dd40f4dfc5512e6($fileIdentifier, $file);
37
  }
38
 
39
  return $loader;
@@ -45,7 +45,7 @@ class ComposerAutoloaderInit8fd7405c066de11f7dd40f4dfc5512e6
45
  * @param string $file
46
  * @return void
47
  */
48
- function composerRequire8fd7405c066de11f7dd40f4dfc5512e6($fileIdentifier, $file)
49
  {
50
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
51
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderIniteaa5284efc067d9aba27d7d8f1a0b978
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderIniteaa5284efc067d9aba27d7d8f1a0b978', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
+ spl_autoload_unregister(array('ComposerAutoloaderIniteaa5284efc067d9aba27d7d8f1a0b978', 'loadClassLoader'));
28
 
29
  require __DIR__ . '/autoload_static.php';
30
+ call_user_func(\Composer\Autoload\ComposerStaticIniteaa5284efc067d9aba27d7d8f1a0b978::getInitializer($loader));
31
 
32
  $loader->register(true);
33
 
34
+ $includeFiles = \Composer\Autoload\ComposerStaticIniteaa5284efc067d9aba27d7d8f1a0b978::$files;
35
  foreach ($includeFiles as $fileIdentifier => $file) {
36
+ composerRequireeaa5284efc067d9aba27d7d8f1a0b978($fileIdentifier, $file);
37
  }
38
 
39
  return $loader;
45
  * @param string $file
46
  * @return void
47
  */
48
+ function composerRequireeaa5284efc067d9aba27d7d8f1a0b978($fileIdentifier, $file)
49
  {
50
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
51
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit8fd7405c066de11f7dd40f4dfc5512e6
8
  {
9
  public static $files = array (
10
  '2c2d2fe92db4cd03403dbb108ac263b7' => __DIR__ . '/..' . '/codeinwp/gutenberg-menu-icons/load.php',
@@ -20,7 +20,7 @@ class ComposerStaticInit8fd7405c066de11f7dd40f4dfc5512e6
20
  public static function getInitializer(ClassLoader $loader)
21
  {
22
  return \Closure::bind(function () use ($loader) {
23
- $loader->classMap = ComposerStaticInit8fd7405c066de11f7dd40f4dfc5512e6::$classMap;
24
 
25
  }, null, ClassLoader::class);
26
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticIniteaa5284efc067d9aba27d7d8f1a0b978
8
  {
9
  public static $files = array (
10
  '2c2d2fe92db4cd03403dbb108ac263b7' => __DIR__ . '/..' . '/codeinwp/gutenberg-menu-icons/load.php',
20
  public static function getInitializer(ClassLoader $loader)
21
  {
22
  return \Closure::bind(function () use ($loader) {
23
+ $loader->classMap = ComposerStaticIniteaa5284efc067d9aba27d7d8f1a0b978::$classMap;
24
 
25
  }, null, ClassLoader::class);
26
  }
vendor/composer/installed.json CHANGED
@@ -144,18 +144,18 @@
144
  "source": {
145
  "type": "git",
146
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
147
- "reference": "bab0314e1f6e2f811116a2da7736b94cbe6af90f"
148
  },
149
  "dist": {
150
  "type": "zip",
151
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/bab0314e1f6e2f811116a2da7736b94cbe6af90f",
152
- "reference": "bab0314e1f6e2f811116a2da7736b94cbe6af90f",
153
  "shasum": ""
154
  },
155
  "require-dev": {
156
  "codeinwp/phpcs-ruleset": "dev-main"
157
  },
158
- "time": "2022-08-23T13:09:40+00:00",
159
  "default-branch": true,
160
  "type": "library",
161
  "installation-source": "dist",
@@ -177,7 +177,7 @@
177
  ],
178
  "support": {
179
  "issues": "https://github.com/Codeinwp/themeisle-sdk/issues",
180
- "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.2.27"
181
  },
182
  "install-path": "../codeinwp/themeisle-sdk"
183
  }
144
  "source": {
145
  "type": "git",
146
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
147
+ "reference": "04ab7589bf32dbfddbf66bbb69bb0ab2eb8d7c27"
148
  },
149
  "dist": {
150
  "type": "zip",
151
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/04ab7589bf32dbfddbf66bbb69bb0ab2eb8d7c27",
152
+ "reference": "04ab7589bf32dbfddbf66bbb69bb0ab2eb8d7c27",
153
  "shasum": ""
154
  },
155
  "require-dev": {
156
  "codeinwp/phpcs-ruleset": "dev-main"
157
  },
158
+ "time": "2022-11-23T11:35:13+00:00",
159
  "default-branch": true,
160
  "type": "library",
161
  "installation-source": "dist",
177
  ],
178
  "support": {
179
  "issues": "https://github.com/Codeinwp/themeisle-sdk/issues",
180
+ "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.2.31"
181
  },
182
  "install-path": "../codeinwp/themeisle-sdk"
183
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'codeinwp/wp-menu-icons',
4
- 'pretty_version' => 'v0.13.1',
5
- 'version' => '0.13.1.0',
6
- 'reference' => '1252e761a4371ad4861e09f0431dc53f71be2ddc',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -44,7 +44,7 @@
44
  'codeinwp/themeisle-sdk' => array(
45
  'pretty_version' => 'dev-master',
46
  'version' => 'dev-master',
47
- 'reference' => 'bab0314e1f6e2f811116a2da7736b94cbe6af90f',
48
  'type' => 'library',
49
  'install_path' => __DIR__ . '/../codeinwp/themeisle-sdk',
50
  'aliases' => array(
@@ -53,9 +53,9 @@
53
  'dev_requirement' => false,
54
  ),
55
  'codeinwp/wp-menu-icons' => array(
56
- 'pretty_version' => 'v0.13.1',
57
- 'version' => '0.13.1.0',
58
- 'reference' => '1252e761a4371ad4861e09f0431dc53f71be2ddc',
59
  'type' => 'wordpress-plugin',
60
  'install_path' => __DIR__ . '/../../',
61
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'codeinwp/wp-menu-icons',
4
+ 'pretty_version' => 'v0.13.2',
5
+ 'version' => '0.13.2.0',
6
+ 'reference' => '3d2b34af71c45d63cea043054a93e7df346b4d1e',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
44
  'codeinwp/themeisle-sdk' => array(
45
  'pretty_version' => 'dev-master',
46
  'version' => 'dev-master',
47
+ 'reference' => '04ab7589bf32dbfddbf66bbb69bb0ab2eb8d7c27',
48
  'type' => 'library',
49
  'install_path' => __DIR__ . '/../codeinwp/themeisle-sdk',
50
  'aliases' => array(
53
  'dev_requirement' => false,
54
  ),
55
  'codeinwp/wp-menu-icons' => array(
56
+ 'pretty_version' => 'v0.13.2',
57
+ 'version' => '0.13.2.0',
58
+ 'reference' => '3d2b34af71c45d63cea043054a93e7df346b4d1e',
59
  'type' => 'wordpress-plugin',
60
  'install_path' => __DIR__ . '/../../',
61
  'aliases' => array(),