!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=12)}([function(t,e){!function(){t.exports=this.wp.domReady}()},function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e,n){var r=n(4),o=n(5),u=n(6);t.exports=function(t){return r(t)||o(t)||u()}},function(t,e,n){"use strict";e.a=function(){document.querySelectorAll("tr[id]").forEach((function(t){var e=t.querySelector(".amp-validation-error-new");e&&t.classList.toggle("new",Boolean(parseInt(e.value)))}))}},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}},function(t,e){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},,,,,,function(t,e,n){"use strict";n.r(e);var r=n(2),o=n.n(r),u=n(0),l=n.n(u),i=n(1),c=n(3),a="is-open";function s(t,e){return o()(document.querySelectorAll(t)).map((function(t){return function(t){var n=document.createElement("button");return n.setAttribute("aria-label",e),n.setAttribute("type","button"),n.setAttribute("class","error-details-toggle"),t.appendChild(n),n}(t)}))}function f(t){var e=t.btn,n=t.toggleAllButtonSelector,r=void 0===n?null:n,u=t.targetDetailsSelector,l=!1,i=o()(document.querySelectorAll(u)),c=[];r&&(c=o()(document.querySelectorAll(r)));e.addEventListener("click",(function(){l=!l,c.forEach((function(t){t.classList.toggle(a)})),i.forEach((function(t){l?t.setAttribute("open",!0):t.removeAttribute("open")}))}))}l()((function(){s("th.column-details.manage-column",Object(i.__)("Toggle all details","amp")).forEach((function(t){f({btn:t,toggleAllButtonSelector:".column-details button.error-details-toggle",targetDetailsSelector:".column-details details"})})),s("th.manage-column.column-sources_with_invalid_output",Object(i.__)("Toggle all sources","amp")).forEach((function(t){f({btn:t,toggleAllButtonSelector:".column-sources_with_invalid_output button.error-details-toggle",targetDetailsSelector:"details.source"})})),Object(c.a)()}))}]);