(()=>{"use strict";var e={n:r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},d:(r,t)=>{for(var n in t)e.o(t,n)&&!e.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:t[n]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r)};const r=window.ReactDOM,t=window.React;var n=e.n(t),a="C:\\Users\\Shamim bPlugins\\Local Sites\\shamim\\app\\public\\wp-content\\plugins\\panorama\\src\\admin\\components\\FieldObserver.js",i=void 0;function l(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}const o=function(){var e,r,o=(e=(0,t.useState)({}),r=2,function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,i,l,o=[],u=!0,c=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=i.call(t)).done)&&(o.push(n.value),o.length!==r);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw a}}return o}}(e,r)||function(e,r){if(e){if("string"==typeof e)return l(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?l(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=o[0],c=o[1];return(0,t.useEffect)((function(){var e=document.querySelector("#_bppivimages_");if(e){var r=new MutationObserver((function(){var r,t;r=e.querySelectorAll("input, select"),t={},r.forEach((function(e){var r=e.name,n="number"===e.type?parseFloat(e.value)||0:e.value;t[r]=n})),c(t)}));return r.observe(e,{attributes:!0,childList:!0,subtree:!0}),function(){r.disconnect()}}}),[]),(0,t.useEffect)((function(){}),[u]),n().createElement("div",{__self:i,__source:{fileName:a,lineNumber:53,columnNumber:5}},n().createElement("h3",{__self:i,__source:{fileName:a,lineNumber:54,columnNumber:7}},"Field Observer"),n().createElement("pre",{__self:i,__source:{fileName:a,lineNumber:55,columnNumber:7}},JSON.stringify(u,null,2)))};var u="C:\\Users\\Shamim bPlugins\\Local Sites\\shamim\\app\\public\\wp-content\\plugins\\panorama\\src\\admin\\classic-editor-preview.js";function c(){return n().createElement(n().Fragment,null,"View")}document.addEventListener("DOMContentLoaded",(function(){var e=this;setTimeout((function(){var t=document.querySelector(".bppivimages_preview");t&&(0,r.createRoot)(t).render(n().createElement(n().Fragment,null,n().createElement(c,{__self:e,__source:{fileName:u,lineNumber:15,columnNumber:9}}),n().createElement(o,{__self:e,__source:{fileName:u,lineNumber:16,columnNumber:9}})))}),50)}))})();