/* a11y-dialog 5.2.0 ? ? Edenspiekermann fast-json-patch, version: 3.0.0-1 https://github.com/Starcounter-Jack/JSON-Patch (c) 2017 Joachim Wester MIT license */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,a,d){b!=Array.prototype&&b!=Object.prototype&&(b[a]=d.value)};$jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this); $jscomp.polyfill=function(b,a,d,c){if(a){d=$jscomp.global;b=b.split(".");for(c=0;c=b))return!1;f++}return!0};a.escapePathComponent=e;a.unescapePathComponent=function(a){return a.replace(/~1/g,"/").replace(/~0/g,"~")};a._getPathRecursive=l;a.getPath=function(a,b){if(a===b)return"/";a=l(a,b);if(""===a)throw Error("Object not found in root");return"/"+a};a.hasUndefined= function f(a){if(void 0===a)return!0;if(a)if(Array.isArray(a))for(var b=0,m=a.length;b=r){if(m&&"add"===h.op&&t>f.length)throw new a.JsonPatchError("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",l,h,b);if(!1===(e=w[h.op].call(h,f,t,b)).test)throw new a.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",l,h,b);return e}}else if(t&&-1!=t.indexOf("~")&&(t=k.unescapePathComponent(t)),v>=r){if(!1===(e=g[h.op].call(h,f,t,b)).test)throw new a.JsonPatchError("Test operation failed", "TEST_OPERATION_FAILED",l,h,b);return e}f=f[t]}}function l(b,h,c,d,g){if(void 0===d&&(d=!0),void 0===g&&(g=!0),c&&!Array.isArray(h))throw new a.JsonPatchError("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");d||(b=k._deepClone(b));d=Array(h.length);for(var f=0,m=h.length;f