1var e,t;e=this,t=function(){"use strict";function e2(e3,t3){var n2=Object.keys(e3);if(Object.getOwnPropertySymbols){var r2=Object.getOwnPropertySymbols(e3);t3&&(r2=r2.filter((function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable}))),n2.push.apply(n2,r2)}return n2}function t2(t3){for(var n2=1;n2<arguments.length;n2++){var r2=arguments[n2]!=null?arguments[n2]:{};n2%2?e2(Object(r2),!0).forEach((function(e3){o(t3,e3,r2[e3])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t3,Object.getOwnPropertyDescriptors(r2)):e2(Object(r2)).forEach((function(e3){Object.defineProperty(t3,e3,Object.getOwnPropertyDescriptor(r2,e3))}))}return t3}function n(e3){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},n(e3)}function r(e3,t3){if(!(e3 instanceof t3))throw new TypeError("Cannot call a class as a function")}function i(e3,t3){for(var n2=0;n2<t3.length;n2++){var r2=t3[n2];r2.enumerable=r2.enumerable||!1,r2.configurable=!0,"value"in r2&&(r2.writable=!0),Object.defineProperty(e3,v(r2.key),r2)}}function u(e3,t3,n2){return t3&&i(e3.prototype,t3),n2&&i(e3,n2),Object.defineProperty(e3,"prototype",{writable:!1}),e3}function o(e3,t3,n2){return(t3=v(t3))in e3?Object.defineProperty(e3,t3,{value:n2,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n2,e3}function c(e3,t3){if(typeof t3!="function"&&t3!==null)throw new TypeError("Super expression must either be null or a function");e3.prototype=Object.create(t3&&t3.prototype,{constructor:{value:e3,writable:!0,configurable:!0}}),Object.defineProperty(e3,"prototype",{writable:!1}),t3&&s(e3,t3)}function a(e3){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e4){return e4.__proto__||Object.getPrototypeOf(e4)},a(e3)}
1function s(e3,t3){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e4,t4){return e4.__proto__=t4,e4},s(e3,t3)}function h(e3,t3){if(t3&&(typeof t3=="object"||typeof t3=="function"))return t3;if(t3!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(e4){if(e4===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e4})(e3)}function l(e3){var t3=(function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e4){return!1}})();return function(){var n2,r2=a(e3);if(t3){var i2=a(this).constructor;n2=Reflect.construct(r2,arguments,i2)}else n2=r2.apply(this,arguments);return h(this,n2)}}function f(e3){return(function(e4){if(Array.isArray(e4))return d(e4)})(e3)||(function(e4){if(typeof Symbol!="undefined"&&e4[Symbol.iterator]!=null||e4["@@iterator"]!=null)return Array.from(e4)})(e3)||(function(e4,t3){if(e4){if(typeof e4=="string")return d(e4,t3);var n2=Object.prototype.toString.call(e4).slice(8,-1);return n2==="Object"&&e4.constructor&&(n2=e4.constructor.name),n2==="Map"||n2==="Set"?Array.from(e4):n2==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2)?d(e4,t3):void 0}})(e3)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function d(e3,t3){(t3==null||t3>e3.length)&&(t3=e3.length);for(var n2=0,r2=new Array(t3);n2<t3;n2++)r2[n2]=e3[n2];return r2}function v(e3){var t3=(function(e4,t4){if(typeof e4!="object"||e4===null)return e4;var n2=e4[Symbol.toPrimitive];if(n2!==void 0){var r2=n2.call(e4,t4||"default");if(typeof r2!="object")return r2;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t4==="string"?String:Number)(e4)})(e3,"string");return typeof t3=="symbol"?t3:String(t3)}function g(e3){return Array.isArray?Array.isArray(e3):M(e3)==="[object Array]"}var y=1/0;function p(e3){return e3==null?"":(function(e4){if(typeof e4=="string")return e4;var t3=e4+"";return t3=="0"&&1/e4==-y?"-0":t3})(e3)}function A(e3){return typeof e3=="string"}function m(e3){return typeof e3=="number"}function C(e3){return e3===!0||e3===!1||(function(e4){return k(e4)&&e4!==null})(e3)&&M(e3)=="[object Boolean]"}function k(e3){return n(e3)==="object"}function E(e3){return e3!=null}function F(e3){return!e3.trim().length}function M(e3){return e3==null?e3===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e3)}var b=function(e3){return"Missing ".concat(e3," property in key")},D=function(e3){return"Property 'weight' in key '".concat(e3,"' must be a positive integer")},B=Object.prototype.hasOwnProperty,x=(function(){function e3(t3){var n2=this;r(this,e3),this._keys=[],this._keyMap={};var i2=0;t3.forEach((function(e4){var t4=w(e4);n2._keys.push(t4),n2._keyMap[t4.id]=t4,i2+=t4.weight})),this._keys.forEach((function(e4){e4.weight/=i2}))}return u(e3,[{key:"get",value:function(e4){return this._keyMap[e4]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),e3})();function w(e3){var t3=null,n2=null,r2=null,i2=1,u2=null;if(A(e3)||g(e3))r2=e3,t3=S(e3),n2=L(e3);else{if(!B.call(e3,"name"))throw new Error(b("name"));var o2=e3.name;if(r2=o2,B.call(e3,"weight")&&(i2=e3.weight)<=0)throw new Error(D(o2));t3=S(o2),n2=L(o2),u2=e3.getFn}return{path:t3,id:n2,weight:i2,src:r2,getFn:u2}}function S(e3){return g(e3)?e3:e3.split(".")}function L(e3){return g(e3)?e3.join("."):e3}var _={useExtendedSearch:!1,getFn:function(e3,t3){var n2=[],r2=!1;return(function e4(t4,i2,u2){if(E(t4))if(i2[u2]){var o2=t4[i2[u2]];if(!E(o2))return;if(u2===i2.length-1&&(A(o2)||m(o2)||C(o2)))n2.push(p(o2));else if(g(o2)){r2=!0;for(var c2=0,a2=o2.length;c2<a2;c2+=1)e4(o2[c2],i2,u2+1)}else i2.length&&e4(o2,i2,u2+1)}else n2.push(t4)})(e3,A(t3)?t3.split("."):t3,0),r2?n2:n2[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},O=t2(t2(t2(t2({},{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(e3,t3){return e3.score===t3.score?e3.idx<t3.
2idx?-1:1:e3.score<t3.score?-1:1}}),{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1}),{location:0,threshold:.6,distance:100}),_),j=/[^ ]+/g,I=(function(){function e3(){var t3=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n2=t3.getFn,i2=n2===void 0?O.getFn:n2,u2=t3.fieldNormWeight,o2=u2===void 0?O.fieldNormWeight:u2;r(this,e3),this.norm=(function(){var e4=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,t4=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3,n3=new Map,r2=Math.pow(10,t4);return{get:function(t5){var i3=t5.match(j).length;if(n3.has(i3))return n3.get(i3);var u3=1/Math.pow(i3,.5*e4),o3=parseFloat(Math.round(u3*r2)/r2);return n3.set(i3,o3),o3},clear:function(){n3.clear()}}})(o2,3),this.getFn=i2,this.isCreated=!1,this.setIndexRecords()}return u(e3,[{key:"setSources",value:function(){var e4=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.docs=e4}},{key:"setIndexRecords",value:function(){var e4=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.records=e4}},{key:"setKeys",value:function(){var e4=this,t3=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.keys=t3,this._keysMap={},t3.forEach((function(t4,n2){e4._keysMap[t4.id]=n2}))}},{key:"create",value:function(){var e4=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,A(this.docs[0])?this.docs.forEach((function(t3,n2){e4._addString(t3,n2)})):this.docs.forEach((function(t3,n2){e4._addObject(t3,n2)})),this.norm.clear())}},{key:"add",value:function(e4){var t3=this.size();A(e4)?this._addString(e4,t3):this._addObject(e4,t3)}},{key:"removeAt",value:function(e4){this.records.splice(e4,1);for(var t3=e4,n2=this.size();t3<n2;t3+=1)this.records[t3].i-=1}},{key:"getValueForItemAtKeyId",value:function(e4,t3){return e4[this._keysMap[t3]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(e4,t3){if(E(e4)&&!F(e4)){var n2={v:e4,i:t3,n:this.norm.get(e4)};this.records.push(n2)}}},{key:"_addObject",value:function(e4,t3){var n2=this,r2={i:t3,$:{}};this.keys.forEach((function(t4,i2){var u2=t4.getFn?t4.getFn(e4):n2.getFn(e4,t4.path);if(E(u2)){if(g(u2)){for(var o2=[],c2=[{nestedArrIndex:-1,value:u2}];c2.length;){var a2=c2.pop(),s2=a2.nestedArrIndex,h2=a2.value;if(E(h2))if(A(h2)&&!F(h2)){var l2={v:h2,i:s2,n:n2.norm.get(h2)};o2.push(l2)}else g(h2)&&h2.forEach((function(e5,t5){c2.push({nestedArrIndex:t5,value:e5})}))}r2.$[i2]=o2}else if(A(u2)&&!F(u2)){var f2={v:u2,n:n2.norm.get(u2)};r2.$[i2]=f2}}})),this.records.push(r2)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),e3})();function $(e3,t3){var n2=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r2=n2.getFn,i2=r2===void 0?O.getFn:r2,u2=n2.fieldNormWeight,o2=u2===void 0?O.fieldNormWeight:u2,c2=new I({getFn:i2,fieldNormWeight:o2});return c2.setKeys(e3.map(w)),c2.setSources(t3),c2.create(),c2}function R(e3){var t3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n2=t3.errors,r2=n2===void 0?0:n2,i2=t3.currentLocation,u2=i2===void 0?0:i2,o2=t3.expectedLocation,c2=o2===void 0?0:o2,a2=t3.distance,s2=a2===void 0?O.distance:a2,h2=t3.ignoreLocation,l2=h2===void 0?O.ignoreLocation:h2,f2=r2/e3.length;if(l2)return f2;var d2=Math.abs(c2-u2);return s2?f2+d2/s2:d2?1:f2}var N=32;function P(e3,t3,n2){var r2=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i2=r2.location,u2=i2===void 0?O.location:i2,o2=r2.distance,c2=o2===void 0?O.distance:o2,a2=r2.threshold,s2=a2===void 0?O.threshold:a2,h2=r2.findAllMatches,l2=h2===void 0?O.findAllMatches:h2,f2=r2.minMatchCharLength,d2=f2===void 0?O.minMatchCharLength:f2,v2=r2.includeMatches,g2=v2===void 0?O.includeMatches:v2,y2=r2.ignoreLocation,p2=y2===void 0?O.ignoreLocation:y2;if(t3.length>N)throw new Error("Pattern length exceeds max of ".concat(N,"."));for(var A2,m2=t3.length,C2=e3.length,k2=Math.max(0,Math.min(u2,C2)),E2=s2,F2=k2,M2=d2>1||g2,b2=M2?Array(C2):[];(A2=e3.indexOf(t3,F2))>-1;){var D2=R(t3,{currentLocation:A2,expectedLocation:k2,distance:c2,ignoreLocation:p2});if(E2=Math.min(D2,E2),F2=A2+m2,M2)for(var B2=0;B2<m2;)b2[A2+B2]=1,B2+=1}F2=-1;for(var x2=[],w2=1,S2=m2+C2,L2=1<<m2-1,_2=0;_2<m2;_2+=1){for(var j2=0,I2=S2;j2<I2;)R(t3,{errors:_2,currentLocation:k2+I2,expectedLocation:k2,distance:c2,ignoreLocation:p2})<=E2?j2=I2:S2=I2,I2=Math.floor((S2-j2)/2+j2);S2=I2;var $2=Math.max(1,k2-I2+1),P2=l2?C2:Math.min(k2+I2,C2)+m2,W2=Array(P2+2);W2[P2+1]=(1<<_2)-1;for(var z2=P2;z2>=$2;z2-=1){var T2=z2-1,K2=n2[e3.charAt(T2)];if(M2&&(b2[T2]=+!!K2),W2[z2]=(W2[z2+1]<<1|1)&K2,_2&&(W2[z2]|=(x2[z2+1]|x2[z2])<<1|1|x2[z2+1]),W2[z2]&L2&&(w2=R(t3,{errors:_2,currentLocation:T2,expectedLocation:k2,distance:c2,ignoreLocation:p2}))<=E2){if(E2=w2,(F2=T2)<=k2)break;$2=Math.max(1,2*k2-F2)}}if(R(t3,{errors:_2+1,currentLocation:k2,expectedLocation:k2,distance:c2,ignoreLocation:p2})>E2)break;x2=W2}var q2={isMatch:F2>=0,score:Math.max(.001,w2)};if(M2){var J2=(function(){for(var e4=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t4=arguments.length>1&&arguments[1]!==void 0?arguments[1]:O.minMatchCharLength,n3=[],r3=-1,i3=-1,u3=0,o3=e4.length;u3<o3;u3+=1){var c3=e4[u3];c3&&r3===-1?r3=u3:c3||r3===-1||((i3=u3-1)-r3+1>=t4&&n3.push([r3,i3]),r3=-1)}return e4[u3-1]&&u3-r3>=t4&&n3.push([r3,u3-1]),n3})(b2,d2);J2.length?g2&&(q2.indices=J2):q2.isMatch=!1}return q2}function W(e3){for(var t3={},n2=0,r2=e3.length;n2<r2;n2+=1){var i2=e3.charAt(n2);t3[i2]=(t3[i2]||0)|1<<r2-n2-1}return t3}var z=String.prototype.normalize?function(e3){return e3.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u
20591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")}:function(e3){return e3},T=(function(){function e3(t3){var n2=this,i2=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u2=i2.location,o2=u2===void 0?O.location:u2,c2=i2.threshold,a2=c2===void 0?O.threshold:c2,s2=i2.distance,h2=s2===void 0?O.distance:s2,l2=i2.includeMatches,f2=l2===void 0?O.includeMatches:l2,d2=i2.findAllMatches,v2=d2===void 0?O.findAllMatches:d2,g2=i2.minMatchCharLength,y2=g2===void 0?O.minMatchCharLength:g2,p2=i2.isCaseSensitive,A2=p2===void 0?O.isCaseSensitive:p2,m2=i2.ignoreDiacritics,C2=m2===void 0?O.ignoreDiacritics:m2,k2=i2.ignoreLocation,E2=k2===void 0?O.ignoreLocation:k2;if(r(this,e3),this.options={location:o2,threshold:a2,distance:h2,includeMatches:f2,findAllMatches:v2,minMatchCharLength:y2,isCaseSensitive:A2,ignoreDiacritics:C2,ignoreLocation:E2},t3=A2?t3:t3.toLowerCase(),t3=C2?z(t3):t3,this.pattern=t3,this.chunks=[],this.pattern.length){var F2=function(e4,t4){n2.chunks.push({pattern:e4,alphabet:W(e4),startIndex:t4})},M2=this.pattern.length;if(M2>N){for(var b2=0,D2=M2%N,B2=M2-D2;b2<B2;)F2(this.pattern.substr(b2,N),b2),b2+=N;if(D2){var x2=M2-N;F2(this.pattern.substr(x2),x2)}}else F2(this.pattern,0)}}return u(e3,[{key:"searchIn",value:function(e4){var t3=this.options,n2=t3.isCaseSensitive,r2=t3.ignoreDiacritics,i2=t3.includeMatches;if(e4=n2?e4:e4.toLowerCase(),e4=r2?z(e4):e4,this.pattern===e4){var u2={isMatch:!0,score:0};return i2&&(u2.indices=[[0,e4.length-1]]),u2}var o2=this.options,c2=o2.location,a2=o2.distance,s2=o2.threshold,h2=o2.findAllMatches,l2=o2.minMatchCharLength,d2=o2.ignoreLocation,v2=[],g2=0,y2=!1;this.chunks.forEach((function(t4){var n3=t4.pattern,r3=t4.alphabet,u3=t4.startIndex,o3=P(e4,n3,r3,{location:c2+u3,distance:a2,threshold:s2,findAllMatches:h2,minMatchCharLength:l2,includeMatches:i2,ignoreLocation:d2}),p3=o3.isMatch,A2=o3.score,m2=o3.indices;p3&&(y2=!0),g2+=A2,p3&&m2&&(v2=[].concat(f(v2),f(m2)))}));var p2={isMatch:y2,score:y2?g2/this.chunks.length:1};return y2&&i2&&(p2.indices=v2),p2}}]),e3})(),K=(function(){function e3(t3){r(this,e3),this.pattern=t3}return u(e3,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e4){return q(e4,this.multiRegex)}},{key:"isSingleMatch",value:function(e4){return q(e4,this.singleRegex)}}]),e3})();function q(e3,t3){var n2=e3.match(t3);return n2?n2[1]:null}var J=(function(e3){c(n2,e3);var t3=l(n2);function n2(e4){return r(this,n2),t3.call(this,e4)}return u(n2,[{key:"search",value:function(e4){var t4=e4===this.pattern;return{isMatch:t4,score:t4?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}
2}]),n2})(K),U=(function(e3){c(n2,e3);var t3=l(n2);function n2(e4){return r(this,n2),t3.call(this,e4)}return u(n2,[{key:"search",value:function(e4){var t4=e4.indexOf(this.pattern)===-1;return{isMatch:t4,score:t4?0:1,indices:[0,e4.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),n2})(K),V=(function(e3){c(n2,e3);var t3=l(n2);function n2(e4){return r(this,n2),t3.call(this,e4)}return u(n2,[{key:"search",value:function(e4){var t4=e4.startsWith(this.pattern);return{isMatch:t4,score:t4?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),n2})(K),G=(function(e3){c(n2,e3);var t3=l(n2);function n2(e4){return r(this,n2),t3.call(this,e4)}return u(n2,[{key:"search",value:function(e4){var t4=!e4.startsWith(this.pattern);return{isMatch:t4,score:t4?0:1,indices:[0,e4.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),n2})(K),H=(function(e3){c(n2,e3);var t3=l(n2);function n2(e4){return r(this,n2),t3.call(this,e4)}return u(n2,[{key:"search",value:function(e4){var t4=e4.endsWith(this.pattern);return{isMatch:t4,score:t4?0:1,indices:[e4.length-this.pattern.length,e4.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),n2})(K),Q=(function(e3){c(n2,e3);var t3=l(n2);function n2(e4){return r(this,n2),t3.call(this,e4)}return u(n2,[{key:"search",value:function(e4){var t4=!e4.endsWith(this.pattern);return{isMatch:t4,score:t4?0:1,indices:[0,e4.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),n2})(K),X=(function(e3){c(n2,e3);var t3=l(n2);function n2(e4){var i2,u2=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o2=u2.location,c2=o2===void 0?O.location:o2,a2=u2.threshold,s2=a2===void 0?O.threshold:a2,h2=u2.distance,l2=h2===void 0?O.distance:h2,f2=u2.includeMatches,d2=f2===void 0?O.includeMatches:f2,v2=u2.findAllMatches,g2=v2===void 0?O.findAllMatches:v2,y2=u2.minMatchCharLength,p2=y2===void 0?O.minMatchCharLength:y2,A2=u2.isCaseSensitive,m2=A2===void 0?O.isCaseSensitive:A2,C2=u2.ignoreDiacritics,k2=C2===void 0?O.ignoreDiacritics:C2,E2=u2.ignoreLocation,F2=E2===void 0?O.ignoreLocation:E2;return r(this,n2),(i2=t3.call(this,e4))._bitapSearch=new T(e4,{location:c2,threshold:s2,distance:l2,includeMatches:d2,findAllMatches:g2,minMatchCharLength:p2,isCaseSensitive:m2,ignoreDiacritics:k2,ignoreLocation:F2}),i2}return u(n2,[{key:"search",value:function(e4){return this._bitapSearch.searchIn(e4)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n2})(K),Y=(function(e3){c(n2,e3);var t3=l(n2);function n2(e4){return r(this,n2),t3.call(this,e4)}return u(n2,[{key:"search",value:function(e4){for(var t4,n3=0,r2=[],i2=this.pattern.length;(t4=e4.indexOf(this.pattern,n3))>-1;)n3=t4+i2,r2.push([t4,n3-1]);var u2=!!r2.length;return{isMatch:u2,score:u2?0:1,indices:r2}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n2})(K),Z=[J,Y,V,G,Q,H,U,X],ee=Z.length,te=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ne=new Set([X.type,Y.type]),re=(function(){function e3(t3){var n2=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i2=n2.isCaseSensitive,u2=i2===void 0?O.isCaseSensitive:i2,o2=n2.ignoreDiacritics,c2=o2===void 0?O.ignoreDiacritics:o2,a2=n2.includeMatches,s2=a2===void 0?O.includeMatches:a2,h2=n2.minMatchCharLength,l2=h2===void 0?O.minMatchCharLength:h2,f2=n2.ignoreLocation,d2=f2===void 0?O.ignoreLocation:f2,v2=n2.findAllMatches,g2=v2===void 0?O.findAllMatches:v2,y2=n2.location,p2=y2===void 0?O.location:y2,A2=n2.threshold,m2=A2===void 0?O.threshold:A2,C2=n2.distance,k2=C2===void 0?O.distance:C2;r(this,e3),this.query=null,this.options={isCaseSensitive:u2,ignoreDiacritics:c2,includeMatches:s2,minMatchCharLength:l2,findAllMatches:g2,ignoreLocation:d2,location:p2,threshold:m2,distance:k2},t3=u2?t3:t3.toLowerCase(),t3=c2?z(t3):t3,this.pattern=t3,this.query=(function(e4){var t4=
2arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e4.split("|").map((function(e5){for(var n3=e5.trim().split(te).filter((function(e6){return e6&&!!e6.trim()})),r2=[],i3=0,u3=n3.length;i3<u3;i3+=1){for(var o3=n3[i3],c3=!1,a3=-1;!c3&&++a3<ee;){var s3=Z[a3],h3=s3.isMultiMatch(o3);h3&&(r2.push(new s3(h3,t4)),c3=!0)}if(!c3)for(a3=-1;++a3<ee;){var l3=Z[a3],f3=l3.isSingleMatch(o3);if(f3){r2.push(new l3(f3,t4));break}}}return r2}))})(this.pattern,this.options)}return u(e3,[{key:"searchIn",value:function(e4){var t3=this.query;if(!t3)return{isMatch:!1,score:1};var n2=this.options,r2=n2.includeMatches,i2=n2.isCaseSensitive,u2=n2.ignoreDiacritics;e4=i2?e4:e4.toLowerCase(),e4=u2?z(e4):e4;for(var o2=0,c2=[],a2=0,s2=0,h2=t3.length;s2<h2;s2+=1){var l2=t3[s2];c2.length=0,o2=0;for(var d2=0,v2=l2.length;d2<v2;d2+=1){var g2=l2[d2],y2=g2.search(e4),p2=y2.isMatch,A2=y2.indices,m2=y2.score;if(!p2){a2=0,o2=0,c2.length=0;break}if(o2+=1,a2+=m2,r2){var C2=g2.constructor.type;ne.has(C2)?c2=[].concat(f(c2),f(A2)):c2.push(A2)}}if(o2){var k2={isMatch:!0,score:a2/o2};return r2&&(k2.indices=c2),k2}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(e4,t3){return t3.useExtendedSearch}}]),e3})(),ie=[];function ue(e3,t3){for(var n2=0,r2=ie.length;n2<r2;n2+=1){var i2=ie[n2];if(i2.condition(e3,t3))return new i2(e3,t3)}return new T(e3,t3)}var oe="$and",ce="$or",ae="$path",se="$val",he=function(e3){return!(!e3[oe]&&!e3[ce])},le=function(e3){return o({},oe,Object.keys(e3).map((function(t3){return o({},t3,e3[t3])})))};function fe(e3,t3){var n2=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).auto,r2=n2===void 0||n2;return he(e3)||(e3=le(e3)),(function e4(n3){var i2=Object.keys(n3),u2=(function(e5){return!!e5[ae]})(n3);if(!u2&&i2.length>1&&!he(n3))return e4(le(n3));if((function(e5){return!g(e5)&&k(e5)&&!he(e5)})(n3)){var o2=u2?n3[ae]:i2[0],c2=u2?n3[se]:n3[o2];if(!A(c2))throw new Error((function(e5){return"Invalid value for key ".concat(e5)})(o2));var a2={keyId:L(o2),pattern:c2};return r2&&(a2.searcher=ue(c2,t3)),a2}var s2={children:[],operator:i2[0]};return i2.forEach((function(t4){var r3=n3[t4];g(r3)&&r3.forEach((function(t5){s2.children.push(e4(t5))}))})),s2})(e3)}function de(e3,t3){var n2=e3.matches;t3.matches=[],E(n2)&&n2.forEach((function(e4){if(E(e4.indices)&&e4.indices.length){var n3={indices:e4.indices,value:e4.value};e4.key&&(n3.key=e4.key.src),e4.idx>-1&&(n3.refIndex=e4.idx),t3.matches.push(n3)}}))}function ve(e3,t3){t3.score=e3.score}var ge=(function(){function e3(n2){var i2=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u2=arguments.length>2?arguments[2]:void 0;r(this,e3),this.options=t2(t2({},O),i2),this.options.useExtendedSearch,this._keyStore=new x(this.options.keys),this.setCollection(n2,u2)}return u(e3,[{key:"setCollection",value:function(e4,t3){if(this._docs=e4,t3&&!(t3 instanceof I))throw new Error("Incorrect 'index' type");this._myIndex=t3||$(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e4){E(e4)&&(this._docs.push(e4),this._myIndex.add(e4))}},{key:"remove",value:function(){for(var e4=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){return!1},t3=[],n2=0,r2=this._docs.length;n2<r2;n2+=1){var i2=this._docs[n2];e4(i2,n2)&&(this.removeAt(n2),n2-=1,r2-=1,t3.push(i2))}return t3}},{key:"removeAt",value:function(e4){this._docs.splice(e4,1),this._myIndex.removeAt(e4)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e4){var t3=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).limit,n2=t3===void 0?-1:t3,r2=this.options,i2=r2.includeMatches,u2=r2.includeScore,o2=r2.shouldSort,c2=r2.sortFn,a2=r2.ignoreFieldNorm,s2=A(e4)?A(this._docs[0])?this._searchStringList(e4):this._searchObjectList(e4):this._searchLogical(e4);return(function(e5,t4){var n3=t4.ignoreFieldNorm,r3=n3===void 0?O.ignoreFieldNorm:n3;e5.forEach((function(e6){var t5=1;e6.matches.forEach((function(e7){var n4=e7.key,i3=e7.norm,u3=e7.score,o3=n4?n4.weight:null;t5*=Math.pow(u3===0&&o3?Number.EPSILON:u3,(o3||1)*(r3?1:i3))})),e6.score=t5}))})(s2,{ignoreFieldNorm:a2}
2),o2&&s2.sort(c2),m(n2)&&n2>-1&&(s2=s2.slice(0,n2)),(function(e5,t4){var n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r3=n3.includeMatches,i3=r3===void 0?O.includeMatches:r3,u3=n3.includeScore,o3=u3===void 0?O.includeScore:u3,c3=[];return i3&&c3.push(de),o3&&c3.push(ve),e5.map((function(e6){var n4=e6.idx,r4={item:t4[n4],refIndex:n4};return c3.length&&c3.forEach((function(t5){t5(e6,r4)})),r4}))})(s2,this._docs,{includeMatches:i2,includeScore:u2})}},{key:"_searchStringList",value:function(e4){var t3=ue(e4,this.options),n2=this._myIndex.records,r2=[];return n2.forEach((function(e5){var n3=e5.v,i2=e5.i,u2=e5.n;if(E(n3)){var o2=t3.searchIn(n3),c2=o2.isMatch,a2=o2.score,s2=o2.indices;c2&&r2.push({item:n3,idx:i2,matches:[{score:a2,value:n3,norm:u2,indices:s2}]})}})),r2}},{key:"_searchLogical",value:function(e4){var t3=this,n2=fe(e4,this.options),r2=function e5(n3,r3,i3){if(!n3.children){var u3=n3.keyId,o3=n3.searcher,c2=t3._findMatches({key:t3._keyStore.get(u3),value:t3._myIndex.getValueForItemAtKeyId(r3,u3),searcher:o3});return c2&&c2.length?[{idx:i3,item:r3,matches:c2}]:[]}for(var a2=[],s2=0,h2=n3.children.length;s2<h2;s2+=1){var l2=e5(n3.children[s2],r3,i3);if(l2.length)a2.push.apply(a2,f(l2));else if(n3.operator===oe)return[]}return a2},i2=this._myIndex.records,u2={},o2=[];return i2.forEach((function(e5){var t4=e5.$,i3=e5.i;if(E(t4)){var c2=r2(n2,t4,i3);c2.length&&(u2[i3]||(u2[i3]={idx:i3,item:t4,matches:[]},o2.push(u2[i3])),c2.forEach((function(e6){var t5,n3=e6.matches;(t5=u2[i3].matches).push.apply(t5,f(n3))})))}})),o2}},{key:"_searchObjectList",value:function(e4){var t3=this,n2=ue(e4,this.options),r2=this._myIndex,i2=r2.keys,u2=r2.records,o2=[];return u2.forEach((function(e5){var r3=e5.$,u3=e5.i;if(E(r3)){var c2=[];i2.forEach((function(e6,i3){c2.push.apply(c2,f(t3._findMatches({key:e6,value:r3[i3],searcher:n2})))})),c2.length&&o2.push({idx:u3,item:r3,matches:c2})}})),o2}},{key:"_findMatches",value:function(e4){var t3=e4.key,n2=e4.value,r2=e4.searcher;if(!E(n2))return[];var i2=[];if(g(n2))n2.forEach((function(e5){var n3=e5.v,u3=e5.i,o3=e5.n;if(E(n3)){var c3=r2.searchIn(n3),a3=c3.isMatch,s3=c3.score,h3=c3.indices;a3&&i2.push({score:s3,key:t3,value:n3,idx:u3,norm:o3,indices:h3})}}));else{var u2=n2.v,o2=n2.n,c2=r2.searchIn(u2),a2=c2.isMatch,s2=c2.score,h2=c2.indices;a2&&i2.push({score:s2,key:t3,value:u2,norm:o2,indices:h2})}return i2}}]),e3})();return ge.version="7.1.0",ge.createIndex=$,ge.parseIndex=function(e3){var t3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n2=t3.getFn,r2=n2===void 0?O.getFn:n2,i2=t3.fieldNormWeight,u2=i2===void 0?O.fieldNormWeight:i2,o2=e3.keys,c2=e3.records,a2=new I({getFn:r2,fieldNormWeight:u2});return a2.setKeys(o2),a2.setIndexRecords(c2),a2},ge.config=O,(function(){ie.push.apply(ie,arguments)})(re),ge},typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self).Fuse=t(),(function(){"use strict";if(window.__sssProRuntimeSafetyInstalled)return;window.__sssProRuntimeSafetyInstalled=!0;function normalizeConfigPath(){if(!(typeof document=="undefined"||typeof document.querySelector!="function")){var meta=document.querySelector("meta[name='ssp-config-path']");if(!(!meta||typeof meta.getAttribute!="function"||typeof meta.setAttribute!="function")){var value=meta.getAttribute("content");if(!(!value||!window.location||!window.location.href))try{var currentUrl=new URL(window.location.href),configUrl=new URL(value,currentUrl);configUrl.origin===currentUrl.origin&&meta.setAttribute("content",configUrl.pathname)}catch(_){}}}}normalizeConfigPath(),typeof document!="undefined"&&document.readyState==="loading"&&typeof document.addEventListener=="function"&&document.addEventListener("DOMContentLoaded",normalizeConfigPath,{once:!0});function validOtherFormConfig(config){if(!config||String(config.form_plugin||"").trim().toLowerCase()!=="other"||String(config.form_type||"").trim().toLowerCase()!=="webhook"||config.form_hidden_name!=null&&typeof config.form_hidden_name!="string")return!1;var markerName=typeof config.form_hidden_name=="string"?config.form_hidden_name.trim():"",markerValue=typeof config.form_id=="string"||typeof config.form_id=="number"?String(config.form_id).trim():"",connectionId=typeof config.form_connection_id=="string"||typeof config.form_connection_id=="number"?String(config.form_connection_id).trim():"",reserved=["__proto__","constructor","prototype"];return markerValue.length>0&&markerValue.length<=200&&/^[1-9][0-9]*$/.test(connectionId)&&!/[\x00-\x1f\x7f]/.test(markerValue)&&(markerName.length===0||markerName.length<=200&&markerName.toLowerCase().indexOf("_ssp_")!==0&&reserved.indexOf(markerName.toLowerCase())===-1&&!/[\x00-\x1f\x7f]/.test(markerName))}function uniqueOtherFormConfigs(configs){var counts=Object.create(null),all=Array.isArray(configs)?configs:[],valid=all.filter(validOtherFormConfig);return all.forEach(function(config){if(!(!config||typeof config.form_id!="string"&&typeof config.form_id!="number")){var value=String(config.form_id).trim();
2value&&(counts[value]=(counts[value]||0)+1)}}),valid.filter(function(config){return counts[String(config.form_id).trim()]===1})}function matchesOtherFormConfig(form,config){if(!form)return!1;var markerName=typeof config.form_hidden_name=="string"?config.form_hidden_name.trim():"",markerValue=String(config.form_id).trim(),formId=typeof form.getAttribute=="function"?form.getAttribute("id"):form.id;return String(formId||"")===markerValue?!0:!markerName||!form.elements?!1:Array.prototype.some.call(form.elements,function(control){if(!control||String(control.tagName||"").toLowerCase()!=="input")return!1;var type=typeof control.getAttribute=="function"?control.getAttribute("type"):control.type;return String(type||"").toLowerCase()==="hidden"&&String(control.name||"")===markerName&&String(control.value||"")===markerValue})}function pageForms(){return typeof document=="undefined"?[]:document.forms?Array.prototype.slice.call(document.forms):typeof document.getElementsByTagName=="function"?Array.prototype.slice.call(document.getElementsByTagName("form")):[]}function isUniqueOtherFormMatch(form,settings,configs){var matchingConfigs=configs.filter(function(config){return matchesOtherFormConfig(form,config)});return matchingConfigs.length!==1||String(matchingConfigs[0].form_connection_id).trim()!==String(settings.form_connection_id).trim()?!1:pageForms().filter(function(candidate){return matchesOtherFormConfig(candidate,matchingConfigs[0])}).length===1}function removeOtherFormConnection(form){form&&typeof form.removeAttribute=="function"&&form.removeAttribute("data-ssp-form-connection")}function guardAmbiguousOtherForm(form){!form||form.__sssOtherFormAmbiguityGuard||typeof form.addEventListener!="function"||(form.__sssOtherFormAmbiguityGuard=!0,form.addEventListener("submit",function(event){form.__sssOtherFormShouldBlock&&(event&&typeof event.preventDefault=="function"&&event.preventDefault(),event&&typeof event.stopImmediatePropagation=="function"&&event.stopImmediatePropagation())},!0))}function deactivateOtherForm(form,shouldBlock){form&&(form.__sssOtherFormSettings=null,form.__sssOtherFormShouldBlock=!!shouldBlock,removeOtherFormConnection(form),shouldBlock&&guardAmbiguousOtherForm(form))}function insertBeforeSubmit(form,element){var controls=form&&form.elements?Array.prototype.slice.call(form.elements):[],submit=controls.find(function(control){var type=control&&(typeof control.getAttribute=="function"?control.getAttribute("type"):control.type);return String(type||"").toLowerCase()==="submit"});submit&&submit.parentNode&&typeof submit.parentNode.insertBefore=="function"?submit.parentNode.insertBefore(element,submit):form&&typeof form.appendChild=="function"&&form.appendChild(element)}function ensureOtherFormCaptcha(form,settings){if(!(!settings||!settings.form_requires_captcha_proxy||String(settings.form_requires_captcha_proxy)==="0")){var config=window.__SSP_OTHER_CAPTCHA_CFG__||{},service=String(settings.form_captcha_service||"turnstile");if(!(!config.sitekey||String(config.service||"")!==service)&&service!=="recaptcha_v2"){if(service==="recaptcha_v3"){var existingRecaptcha=Array.prototype.some.call(form.elements||[],function(control){return control&&String(control.name||"")==="g-recaptcha-response"});if(existingRecaptcha||typeof document.createElement!="function")return;var input=document.createElement("input");input.setAttribute("type","hidden"),input.setAttribute("name","g-recaptcha-response"),input.setAttribute("class","g-recaptcha-response"),input.setAttribute("data-sitekey",String(config.sitekey)),typeof form.appendChild=="function"&&form.appendChild(input);return}var existingTurnstile=typeof form.querySelector=="function"?form.querySelector(".ssp-cf-turnstile"):null;!existingTurnstile&&typeof document.createElement=="function"&&(existingTurnstile=document.createElement("div"),existingTurnstile.setAttribute("class","ssp-cf-turnstile"),existingTurnstile.setAttribute("data-sitekey",String(config.sitekey)),existingTurnstile.setAttribute("data-theme",String(config.theme||"auto")),existingTurnstile.setAttribute("data-size",String(config.size||"normal")),existingTurnstile.style.marginTop="15p
2x",insertBeforeSubmit(form,existingTurnstile)),existingTurnstile&&typeof window.__sspRenderTurnstileWidgets=="function"&&window.__sspRenderTurnstileWidgets()}}}function bindOtherForm(form,settings,configs){if(form&&(form.__sssOtherFormSettings=settings,form.__sssOtherFormShouldBlock=!1,form.__sssOtherFormValidate=function(currentSettings){return isUniqueOtherFormMatch(form,currentSettings,configs)},typeof form.setAttribute=="function"&&form.setAttribute("data-ssp-form-connection",String(settings.form_connection_id).trim()),!form.__sssOtherFormBound)){form.__sssOtherFormBound=!0,form.dataset&&(form.dataset.sspBound="1"),ensureOtherFormCaptcha(form,settings);var submit=function(event){var currentSettings=form.__sssOtherFormSettings;return currentSettings&&typeof form.__sssOtherFormValidate=="function"&&!form.__sssOtherFormValidate(currentSettings)&&(form.__sssOtherFormSettings=null,form.__sssOtherFormShouldBlock=!0,removeOtherFormConnection(form),currentSettings=null),currentSettings?(event&&(typeof event.preventDefault=="function"&&event.preventDefault(),typeof event.stopImmediatePropagation=="function"&&event.stopImmediatePropagation()),typeof form.checkValidity=="function"&&!form.checkValidity()?!1:typeof window.__SSP_MANAGE_FORM__!="function"?(typeof console!="undefined"&&typeof console.error=="function"&&console.error("[SSP] The configured Other form runtime is unavailable."),!1):(window.__SSP_MANAGE_FORM__([String(currentSettings.form_id).trim()],form),!1)):(form.__sssOtherFormShouldBlock&&event&&(typeof event.preventDefault=="function"&&event.preventDefault(),typeof event.stopImmediatePropagation=="function"&&event.stopImmediatePropagation()),!form.__sssOtherFormShouldBlock)};typeof form.addEventListener=="function"&&form.addEventListener("submit",submit,!0);var originalSubmit=form.submit;try{form.submit=function(){var shouldIntercept=!!form.__sssOtherFormSettings||!!form.__sssOtherFormShouldBlock,result=submit(null);return shouldIntercept||form.__sssOtherFormShouldBlock||typeof originalSubmit!="function"?result:originalSubmit.call(form)}}catch(_){}}}function otherFormsConfigUrl(){if(typeof document=="undefined"||typeof document.querySelector!="function")return"";var meta=document.querySelector("meta[name='ssp-config-path']");if(!meta||typeof meta.getAttribute!="function")return"";var base=String(meta.getAttribute("content")||"").trim();if(!base)return"";base.slice(-1)!=="/"&&(base+="/");var versionMeta=document.querySelector("meta[name='ssp-config-version']"),version=versionMeta&&typeof versionMeta.getAttribute=="function"?String(versionMeta.getAttribute("content")||""):"";try{return new URL("forms.json"+(version?"?ver="+encodeURIComponent(version):""),new URL(base,window.location.href)).toString()}catch(_){return""}}function installIdentifiedOtherForms(){var url=otherFormsConfigUrl();!url||typeof window.fetch!="function"||window.fetch(url).then(function(response){if(!response||!response.ok||typeof response.json!="function")throw new Error("Other form configuration is unavailable.");return response.json()}).then(function(json){var validConfigs=Array.isArray(json)?json.filter(validOtherFormConfig):[],configs=uniqueOtherFormConfigs(json);if(validConfigs.length){var scan=function(){var forms=pageForms(),formMatches=forms.map(function(form){var matches=[];return configs.forEach(function(config,configIndex){matchesOtherFormConfig(form,config)&&matches.push(configIndex)}),matches}),configMatchCounts=configs.map(function(){return 0});formMatches.forEach(function(matches){matches.forEach(function(configIndex){configMatchCounts[configIndex]++})}),forms.forEach(function(form,formIndex){var matches=formMatches[formIndex];if(matches.length===1&&configMatchCounts[matches[0]]===1){bindOtherForm(form,configs[matches[0]],configs);return}var marker=typeof form.getAttribute=="function"?String(form.getAttribute("data-ssp-form-connection")||""):"",knownMarker=validConfigs.some(function(config){return String(config.form_connection_id).trim()===marker});(matches.length>0||knownMarker||form.__sssOtherFormBound||form.__sssOtherFormAmbiguityGuard)&&deactivateOtherForm(form,matches.length>0||knownMarker)})};scan(),typeof MutationObserver!="undefined"&&document.body&&new MutationObserver(scan).observe(document.body,{childList:!0,subtree:!0})}}).catch(function(){})}typeof document!="undefined"&&document.readyState==="loading"&&typeof document.addEventListener=="function"?document.addEventListener("DOMContentLoaded",installIdentifiedOtherForms,{once:!0}):installIdentifiedOtherForms();var descriptor=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML");if(!descriptor||typeof descriptor.get!="function"||typeof descriptor.set!="function")return;var allowedTags={A:!0,B:!0,BR:!0,DIV:!0,H5:!0,LI:!0,SMALL:!0,UL:!0};function escapeHtml(value){return String(value==null?"":value).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function isSearchOutput(element){return element.classList?element.classList.contains("search-auto-complete")?!0:element.classList.contains("result")&&typeof element.closest=="function"&&!!element.closest(".ssp-search"):!1}function sanitizeSearchMarkup(value){var template=document.createElement("template");return descriptor.set.call(template,String(value==null?"":value)),Array.prototype.slice.call(template.content.querySelectorAll("*")).forEac
2h(function(node){if(!allowedTags[node.tagName]){node.replaceWith(document.createTextNode(node.textContent||""));return}var className=node.getAttribute("class")||"",href=node.tagName==="A"?node.getAttribute("href"):null;if(Array.prototype.slice.call(node.attributes).forEach(function(attribute){node.removeAttribute(attribute.name)}),className&&/^[a-zA-Z0-9 _-]{1,200}$/.test(className)&&node.setAttribute("class",className),node.tagName==="A"&&href)try{var url=new URL(href,window.location.href);(url.protocol==="http:"||url.protocol==="https:")&&(node.setAttribute("href",url.toString()),node.setAttribute("rel","noopener noreferrer"))}catch(_){}}),descriptor.get.call(template)}try{Object.defineProperty(Element.prototype,"innerHTML",{configurable:descriptor.configurable,enumerable:descriptor.enumerable,get:descriptor.get,set:function(value){this.classList&&this.classList.contains("ssp-form-message")?value=escapeHtml(value):isSearchOutput(this)&&(value=sanitizeSearchMarkup(value)),descriptor.set.call(this,value)}})}catch(_){}})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.