1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"5ca8a1b1efcc5b3a726c344b106a830e13abf521"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var s in n)n.hasOwnProperty(s)&&(e[s]=n[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:ifixitFirstParty":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5b8c2b4a-63eb-49b8-8178-a844291ead73",e._sentryDebugIdIdentifier="sentry-dbid-5b8c2b4a-63eb-49b8-8178-a844291ead73")}catch(e){}}(),(globalThis.webpackChunkcarpenter_frontend=globalThis.webpackChunkcarpenter_frontend||[]).push([[2627,5008],{13023(e,t,n){function s(e){const t="string"==typeof e?document.getElementById(e):e;return t&&"form"===t.tagName.toLowerCase()?t:null}n.d(t,{y:()=>o});const o={getFields:e=>Array.from(e.querySelectorAll("input,select,textarea,div[contenteditable]")),getEditableFields(e){return this.getFields(e).filter((e=>"hidden"!==e.type&&!e.disabled))},getValues(e,t){const n=s(e);if(!n)return;const o=/\[([\w#-]*)]/,i={},r={prefix:"",submitDisabled:!1,ignoreClass:null,...t};return Array.from(n.elements).forEach((e=>{const t=e;if(!t.name)return;if(t.name.slice(0,Math.max(0,r.prefix.length))!==r.prefix)return;if(t.type&&("radio"===t.type||"checkbox"===t.type)&&!t.checked)return;if(t.disabled&&!r.submitDisabled)return;let n=t.name;const s=[];let a=null;for(;a=n.match(o);)s.push(a[1]),n=n.replace(o,"");s.unshift(n);let c,d,l=i;for(d=0;d<s.length-1;d++){let e;c=s[d],""===c?(e=""===s[d+1]?[]:{},l.push(e),l=e):(l[c]||(e=""===s[d+1]?[]:{},l[c]=e),l=l[c])}const u=r.ignoreClass&&e.classList.contains(r.ignoreClass)?"":e.value;c=s[d],""===c?l.push(u):l[c]=u})),i},getFirstField(e){const t=this.getEditableFields(e);return t.filter((e=>e.tabIndex>=1)).sort(((e,t)=>e.tabIndex-t.tabIndex))[0]||t[0]},focusFirst(e){const t=this.getFirstField(e);t&&t.focus()},selectedValue(e){const t="string"==typeof e?document.getElementById(e):e;return t.options[t.selectedIndex].value},submit(e){const t=s(e);if(t)return!("function"==typeof t.onsubmit&&!t.onsubmit(new SubmitEvent("submit")))&&void t.submit()},create(e){const t=document.createElement("form");e.id&&(t.id=e.id),e.class&&(t.className=e.class);const n=document.createElement("div");n.className="formBody",t.append(n);for(const[t,s]of Object.entries(e.fields||{})){const e=document.createElement("div");e.className="formField",n.append(e);const o=s.properties?s.properties.id:"";if(s.label){const n=document.createElement("label");n.setAttribute("for",o||t),n.textContent=s.label,e.append(n)}let i=null;if("text"===s.type){const e=document.createElement("input");e.name=t,e.type="text",e.value=s.value||"";for(const[t,n]of Object.entries(s.properties||{}))e.setAttribute(t,n);i=e}if("switch"===s.type){const e=document.createElement("input");e.name=t,e.type="checkbox",e.value=String(s.value||!1),e.className="switch-input";for(const[t,n]of Object.entries(s.properties||{}))e.setAttribute(t,n);const n=document.createElement("span");n.className="switch-track";const o=document.createElement("label");o.className="switch",o.append(e),o.append(n),i=o}i&&e.append(i)}const s=document.createElement("div");s.className="formField";const o=document.createElement("button");return o.type="submit",o.className="button button-action-solid",o.textContent=e.submit||"Submit",s.append(o),n.append(s),t}}},44445(e,t,n){function s(){const e=window.location.host.match(/\b([^.]+)\.([^.]+\.[^.]+)$/);return{subdomain:e?.[1]??"",domain:e?.[2]??window.location.host}}n.d(t,{g:()=>s})},51177(e,t,n){function s(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(()=>{setTimeout(e,0)})):setTimeout(e,0)}function o(e){"complete"===document.readyState?e():window.addEventListener("load",e)}n.d(t,{P:()=>s,k:()=>o})},55552(e,t,n){n.d(t,{q:()=>o,r:()=>i});const s={};
1function o(e,...t){(s[e]||[]).forEach((e=>e(...t)))}function i(e,t){var n,o;((n=s)[o=e]||(n[o]=[])).push(t)}},73453(e,t,n){n.d(t,{c:()=>a});var s=n(53401),o=n(41791),i=n(44445);const r=new s.A,a={get:e=>r.get(e+`_${App.siteid}`),set(e,t,n){let s=window.location.host;"ifixit"==App.which&&(s=(0,i.g)().domain);const r={domain:"."+s,maxAgeInSeconds:n??2592e3};o.s.set(e+`_${App.siteid}`,t,r)}}},92286(e,t,n){n.d(t,{A:()=>s});const s={zipcode:function(e){return/^\s?(\d{5})(?:\s?[\s-]\s?(\d{4}))?/.test(e)},email:function(e){return/.+@.+\..+/.test(e.trim())},phone:function(e){return/^([ ()+./Xex-]*\d){10,}$/.test(e)},phoneExt:function(e){return/^[\d#*]*$/.test(e)},username:function(e){return/^[^<>]{3,30}$/.test(e)},orderid:function(e){return/^(\d){5,8}$|^$/i.test(e)},isValidWikiTitle:function(e){if(null===e)return!1;const t=e.trim();return""!==t&&"."!=t&&".."!=t&&!/[\t#$%&*+,/:;<>?[\\\]^{|}]/.test(e)}}}}]); 2//# sourceMappingURL=2627.49e1768fe4022cae8b8b.js.map
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.