first commit

This commit is contained in:
2026-03-24 00:31:47 +01:00
commit 2506f6f9c7
3328 changed files with 1172155 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* This file is generated by Webpack, do not edit it directly.
*/
return [
'handle' => 'elementor-v2-env',
'deps' => [
],
];

View File

@@ -0,0 +1,3 @@
/*! For license information please see env.js.LICENSE.txt */
!function(){"use strict";var n={d:function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},r:function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}},e={};n.r(e),n.d(e,{InvalidEnvError:function(){return InvalidEnvError},__resetEnv:function(){return __resetEnv},initEnv:function(){return initEnv},parseEnv:function(){return parseEnv}});let t=null;function initEnv(n){t=n}function __resetEnv(){t=null}function parseEnv(n,e=n=>n){let r={},o=!1;const i=new Proxy(r,{get(n,e){return o||parse(),r[e]},ownKeys(){return o||parse(),Reflect.ownKeys(r)},getOwnPropertyDescriptor(){return{configurable:!0,enumerable:!0}}}),parse=()=>{try{const o=t?.[n];if(!o)throw new InvalidEnvError("Settings object not found");if("object"!=typeof o)throw new InvalidEnvError(`Expected settings to be \`object\`, but got \`${typeof o}\``);r=e(o)}catch(e){if(!(e instanceof InvalidEnvError))throw e;console.warn(`${n} - ${e.message}`),r={}}finally{o=!0}};return{validateEnv:parse,env:i}}class InvalidEnvError extends Error{}(window.elementorV2=window.elementorV2||{}).env=e}(),window.elementorV2.env?.init?.();
//# sourceMappingURL=env.js.map

View File

@@ -0,0 +1,3 @@
/*!*************************************************!*\
!*** ./packages/packages/libs/env/src/index.ts ***!
\*************************************************/

View File

@@ -0,0 +1 @@
!function(){"use strict";var e={d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{InvalidEnvError:function(){return u},__resetEnv:function(){return r},initEnv:function(){return o},parseEnv:function(){return i}});let t=null;function o(e){t=e}function r(){t=null}function i(e,n=e=>e){let o={},r=!1;const i=new Proxy(o,{get(e,n){return r||c(),o[n]},ownKeys(){return r||c(),Reflect.ownKeys(o)},getOwnPropertyDescriptor(){return{configurable:!0,enumerable:!0}}}),c=()=>{try{const r=t?.[e];if(!r)throw new u("Settings object not found");if("object"!=typeof r)throw new u(`Expected settings to be \`object\`, but got \`${typeof r}\``);o=n(r)}catch(n){if(!(n instanceof u))throw n;console.warn(`${e} - ${n.message}`),o={}}finally{r=!0}};return{validateEnv:c,env:i}}class u extends Error{}(window.elementorV2=window.elementorV2||{}).env=n}(),window.elementorV2.env?.init?.();