1(()=>{"use strict";function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function e(){this.input=null,this.isLoaded=!1}e.prototype={input:null,isLoaded:!1,isSupported:function(e){var r,n,o=(r=e.nodes,n=1,function(t){if(Array.isArray(t))return t}(r)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],u=!0,a=!1;try{for(r=r.call(t);!(u=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);u=!0);}catch(t){a=!0,o=t}finally{try{u||null==r.return||r.return()}finally{if(a)throw o}}return i}}(r,n)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(r,n)||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.")}())[0];return"file"!==(null==o?void 0:o.type)},setInput:function(t){this.input=t,this.input["save-progress"]={field:this}},load:function(t){var e=this;return function(r){e.onLoadAsync(t).finally((function(){e.onReady(),r()}))}},onLoadAsync:function(t){return this.onLoad(t),Promise.resolve()},onLoad:function(t){this.input.value.current=t.value},onReady:function(){var t=this;this.isLoaded=!0,this.input.watch((function(){return function(t){var e=t.input.getSubmit().getFormId();if(t.input.hasParent()){var r=t.input.root.parent,n=O(r),o=r.findIndex(t.input.root);-1!==o&&(n.value[o][t.input.name]={value:t.getValue()},P(e,r.name,n.value))}else P(e,t.input.name,t.getValue())}(t)}))},getValue:function(){return this.input.value.current}};const r=e;function n(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=i(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){l=!0,u=t},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw u}}}}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],u=!0,a=!1;try{for(r=r.call(t);!(u=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);u=!0);}catch(t){a=!0,o=t}finally{try{u||null==r.return||r.return()}finally{if(a)throw o}}return i}}(t,e)||i(t,e)||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.")}()}function i(t,e){if(t){if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(){r.call(this)}a.prototype=Object.create(r.prototype),a.prototype.isSupported=function(t){return 1==+o(t.nodes,1)[0].dataset.repeater},a.prototype.onLoad=function(t){for(var e=t.value,r=Object.keys(e),n=0,i=r;n<i.length;n++){var u,a=i[n];null!==(u=this.input.value[a])&&void 0!==u&&u||this.input.addNew()}for(var l=0,c=Object.entries(this.input.value.current);l<c.length;l++){var f=o(c[l],2),s=f[0],p=f[1];r.includes(s)||p.remove()}},a.prototype.getValue=function(){for(var t=[],e=0,r=Object.values(this.input.value.current);e<r.length;e++){var o,i={},u=n(r[e].getInputs());try{for(u.s();!(o=u.n()).done;){var a=o.value;
1if(a.hasOwnProperty("save-progress")){var l=a["save-progress"].field;i[a.name]={value:l.getValue()}}}}catch(t){u.e(t)}finally{u.f()}t.push(i)}return t};const l=a;function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function f(){r.call(this),this.isSupported=function(t){return(e=t.nodes,r=1,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],u=!0,a=!1;try{for(r=r.call(t);!(u=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);u=!0);}catch(t){a=!0,o=t}finally{try{u||null==r.return||r.return()}finally{if(a)throw o}}return i}}(e,r)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):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.")}())[0].classList.contains("jet-form-builder-hr-select-level");var e,r},this.onLoadAsync=function(t){var e=this,r=this.input,n=r.value,o=r.loading;return o.current?new Promise((function(r){var i=o.watch((function(){e.input.getPrevLevel()["save-progress"].field.isLoaded&&(i(),n.current=t.value,r())}))})):(n.current=t.value,Promise.resolve())}}f.prototype=Object.create(r.prototype);const s=f;function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],u=!0,a=!1;try{for(r=r.call(t);!(u=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);u=!0);}catch(t){a=!0,o=t}finally{try{u||null==r.return||r.return()}finally{if(a)throw o}}return i}}(t,e)||h(t,e)||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.")}()}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function b(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=h(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){a=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(a)throw i}}}}function h(t,e){if(t){if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(t,e):void 0}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var S=window.JetFormSaveProgress||{};function w(t){var e,r=t.getSubmit().getFormId();if(null!==(e=S[r])&&void 0!==e&&e.enable){var n,o=function(t){var e,r,n,o,i=O(t);if(!t.parent)return null!==(o=i.fields)&&void 0!==o?o:{};if(null==i||!i.value||"object"!==m(i.value))return{};var u=t.parent.findIndex(t);return null!==(e=null!==(r=i.value[u])&&void 0!==r?r:null===(n=i.value[u])||void 0===n?void 0:n.fields)&&void 0!==e?e:{}}
1(t),i=[],u=b(t.getInputs());try{for(u.s();!(n=u.n()).done;){var a=n.value,l=A(a);l&&(o.hasOwnProperty(a.name)?i.push(l.load(o[a.name])):l.onReady())}}catch(t){u.e(t)}finally{u.f()}Promise.all(i.map((function(t){return new Promise(t)}))).then((function(){}))}}function O(t){var e;t instanceof JetFormBuilderAbstract.Observable||(t=t.value.current[0]);var r=I(t.getSubmit().getFormId());return t.parent?null!==(e=r.fields[t.parent.name])&&void 0!==e?e:{}:r}var j=[];function A(t){var e;null!==(e=j)&&void 0!==e&&e.length||(j=[l,s,r]);var n,o=b(j);try{for(o.s();!(n=o.n()).done;){var i=new(0,n.value);if(i.isSupported(t))return i.setInput(t),i}}catch(t){o.e(t)}finally{o.f()}return null}function I(t){return JSON.parse(localStorage.getItem(x(t)))||{fields:{},multi_step:{}}}function P(t,e,r){var n,o=I(t);localStorage.setItem(x(t),JSON.stringify(y(y({},o),{},{fields:y(y({},null!==(n=null==o?void 0:o.fields)&&void 0!==n?n:{}),{},d({},e,{value:r}))})))}function L(t){localStorage.removeItem(x(t))}function x(t){return"jet_form_progress_"+t}(0,JetPlugins.hooks.addAction)("jet.fb.observe.after","jet-form-builder-save-progress",(function(t){t.parent?w(t):setTimeout((function(){(function(t){var e,r=t.getSubmit().getFormId();if(null!==(e=S[r])&&void 0!==e&&e.clear_storage){var n=t.getSubmit().submitter;n.hasOwnProperty("status")&&n.watchSuccess((function(){return L(r)}));var o=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).url,e=decodeURIComponent((void 0===t?"":t)||window.location.href).split("?");if(!e[1]||!e[1].length)return{};var r=e[1].split("&"),n={};return r.forEach((function(t){var e=p(t.split("="),2),r=e[0],o=e[1],i=void 0===o?"":o;n[r]=i})),n}();o.jfb_clear_storage&&L(r)}})(t),w(t),function(t){var e,r=t.getSubmit().getFormId();if(t.multistep&&null!==(e=S[r])&&void 0!==e&&e.enable){var n=I(r).multi_step,o=void 0===n?{}:n;o.toPage&&(t.multistep.index.current=o.toPage),t.multistep.index.watch((function(){return function(t){var e=t.getSubmit().getFormId(),r=I(e);localStorage.setItem(x(e),JSON.stringify(y(y({},r),{},{multi_step:{toPage:t.multistep.index.current}})))}(t)}))}}(t)}))}),11)})();
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.