Liferay.Loader.define("data-engine-js-components-web@1.0.79/js/utils/parseProps.es",["module","exports","require"],(function(e,t,a){window;{function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){o(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}Object.defineProperty(t,"__esModule",{value:!0}),t.parseProps=function(t){let{allowInvalidAvailableLocalesForProperty:a,allowNestedFields:n,autocompleteUserURL:o,cancelLabel:s,config:l={},containerId:d,contentType:u,context:{sidebarPanels:c}={},dataDefinitionId:p,dataEngineModule:b,dataLayoutBuilderElementId:f,dataLayoutBuilderId:L,dataLayoutId:m,dataProviderInstanceParameterSettingsURL:R,dataProviderInstancesURL:I,defaultSiteLanguageId:y,fieldSetDefinitionURL:U,fieldTypes:P,formInstanceId:h,formReportDataURL:w,functionsMetadata:g,functionsURL:v,groupId:O,portletNamespace:j,publishFormInstanceURL:S,published:F,redirectURL:B,rolesURL:D,rules:T,shareFormInstanceURL:E,sharedFormURL:M,showCancelButton:x,showPartialResultsToRespondents:A,showPublishAlert:C,showSubmitButton:N,spritemap:k,submitButtonId:_,submitLabel:q,submittable:z,validateCSRFTokenURL:G,view:H}=t,J=i(t.context,["sidebarPanels"]),K=i(t,["allowInvalidAvailableLocalesForProperty","allowNestedFields","autocompleteUserURL","cancelLabel","config","containerId","contentType","context","dataDefinitionId","dataEngineModule","dataLayoutBuilderElementId","dataLayoutBuilderId","dataLayoutId","dataProviderInstanceParameterSettingsURL","dataProviderInstancesURL","defaultSiteLanguageId","fieldSetDefinitionURL","fieldTypes","formInstanceId","formReportDataURL","functionsMetadata","functionsURL","groupId","portletNamespace","publishFormInstanceURL","published","redirectURL","rolesURL","rules","shareFormInstanceURL","sharedFormURL","showCancelButton","showPartialResultsToRespondents","showPublishAlert","showSubmitButton","spritemap","submitButtonId","submitLabel","submittable","validateCSRFTokenURL","view"]);return{config:e(r(r({allowInvalidAvailableLocalesForProperty:a,allowNestedFields:n,autocompleteUserURL:o,cancelLabel:s},l),{},{containerId:d,contentType:u,dataDefinitionId:p,dataEngineModule:b,dataLayoutBuilderElementId:f,dataLayoutBuilderId:L,dataLayoutId:m,dataProviderInstanceParameterSettingsURL:R,dataProviderInstancesURL:I,defaultSiteLanguageId:y,fieldSetDefinitionURL:U,fieldTypes:P,formInstanceId:h,formReportDataURL:w,functionsMetadata:g,functionsURL:v,groupId:O,portletNamespace:j,publishFormInstanceURL:S,published:F,redirectURL:B,rolesURL:D,shareFormInstanceURL:E,sharedFormURL:M,showCancelButton:x,showPartialResultsToRespondents:A,showPublishAlert:C,showSubmitButton:N,sidebarPanels:c,spritemap:k,submitButtonId:_,submitLabel:q,submittable:z,validateCSRFTokenURL:G,view:H})),state:e(r(r(r({},K),J),{},{rules:T}))}};const e=e=>{const t={};for(const a in e){const n=e[a];void 0!==n&&(t[a]=n)}return t}}}));
//# sourceMappingURL=parseProps.es.js.map