PageSourceSearch

https://mazzucconi.com/wp-content/plugins/3d-viewer/build/frontend.js?ver=1.9.4

js mazzucconi.com collected 2026-10-04 13:25:07 UTC 56,397 bytes, 1 lines download raw bytes

vendor: 22,144 bytes, line 1
1(()=>{var e={320(e){"use strict";var t={single_source_shortest_paths:function(e,n,r){var o={},i={};i[n]=0;var s,a,c,l,u,d,h,m=t.PriorityQueue.make();for(m.push(n,0);!m.empty();)for(c in a=(s=m.pop()).value,l=s.cost,u=e[a]||{})u.hasOwnProperty(c)&&(d=l+u[c],h=i[c],(void 0===i[c]||h>d)&&(i[c]=d,m.push(c,d),o[c]=a));if(void 0!==r&&void 0===i[r]){var f=["Could not find a path from ",n," to ",r,"."].join("");throw new Error(f)}return o},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var o=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,o={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},583(e,t,n){const r=n(333),o=n(157),i=n(280),s=n(375);function a(e,t,n,i,s){const a=[].slice.call(arguments,1),c=a.length,l="function"==typeof a[c-1];if(!l&&!r())throw new Error("Callback required as last argument");if(!l){if(c<1)throw new Error("Too few arguments provided");return 1===c?(n=t,t=i=void 0):2!==c||t.getContext||(i=n,n=t,t=void 0),new Promise(function(r,s){try{const s=o.create(n,i);r(e(s,t,i))}catch(e){s(e)}})}if(c<2)throw new Error("Too few arguments provided");2===c?(s=n,n=t,t=i=void 0):3===c&&(t.getContext&&void 0===s?(s=i,i=void 0):(s=i,i=n,n=t,t=void 0));try{const r=o.create(n,i);s(null,e(r,t,i))}catch(e){s(e)}}t.create=o.create,t.toCanvas=a.bind(null,i.render),t.toDataURL=a.bind(null,i.renderToDataURL),t.toString=a.bind(null,function(e,t,n){return s.render(e,n)})},333(e){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},421(e,t,n){const r=n(886).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];const t=Math.floor(e/7)+2,n=r(e),o=145===n?26:2*Math.ceil((n-13)/(2*t-2)),i=[n-7];for(let e=1;e<t-1;e++)i[e]=i[e-1]-o;return i.push(6),i.reverse()},t.getPositions=function(e){const n=[],r=t.getRowColCoords(e),o=r.length;for(let e=0;e<o;e++)for(let t=0;t<o;t++)0===e&&0===t||0===e&&t===o-1||e===o-1&&0===t||n.push([r[e],r[t]]);return n}},433(e,t,n){const r=n(208),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(e){this.mode=r.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*o.indexOf(this.data[t]);n+=o.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},899(e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){const t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(let n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},820(e){function t(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){const o=e*this.size+t;this.data[o]=n,r&&(this.reservedBit[o]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},822(e,t,n){const r=n(208);function o(e){this.mode=r.BYTE,this.data="string"==typeof e?(new TextEncoder).encode(e):new Uint8Array(e)}o.getBitsLength=function(e){return 8*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=o},518(e,t,n){const r=n(953),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return o[4*(e-1)+0];case r.M:return o[4*(e-1)+1];case r.Q:return o[4*(e-1)+2];case r.H:return o[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return i[4*(e-1)+0];case r.M:return i[4*(e-1)+1];case r.Q:return i[4*(e-1)+2];case r.H:return i[4*(e-1)+3];default:return}}},953(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return n}}},756(e,t,n){const r=n(886).getSymbolSize;t.getPositions=function(e){const t=r(e);return[[0,0],[t-7,0],[0,t-7]]}},565(e,t,n){const r=n(886),o=r.getBCHDigit(1335);t.getEncodedBits=function(e,t){const n=e.bit<<3|t;let i=n<<10;for(;r.getBCHDigit(i)-o>=0;)i^=1335<<r.getBCHDigit(i)-o;return 21522^(n<<10|i)}},731(e,t){const n=new Uint8Array(512),r=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,e<<=1,256&e&&(e^=285);for(let e=255;e<512;e++)n[e]=n[e-255]}(),t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},861(e,t,n){const r=n(208),o=n(886);function i(e){this.mode=r.KANJI,this.data=e}i.getBitsLength=function(e){return 13*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=o.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}},e.exports=i},332(e,t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function n(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){const t=e.size;let n=0,r=0,o=0,i=null,s=null;for(let a=0;a<t;a++){r=o=0,i=s=null;for(let c=0;c<t;c++){let t=e.get(a,c);t===i?r++:(r>=5&&(n+=r-5+3),i=t,r=1),t=e.get(c,a),t===s?o++:(o>=5&&(n+=o-5+3),s=t,o=1)}r>=5&&(n+=r-5+3),o>=5&&(n+=o-5+3)}return n},t.getPenaltyN2=function(e){const t=e.size;let n=0;for(let r=0;r<t-1;r++)for(let o=0;o<t-1;o++){const t=e.get(r,o)+e.get(r,o+1)+e.get(r+1,o)+e.get(r+1,o+1);4!==t&&0!==t||n++}return 3*n},t.getPenaltyN3=function(e){const t=e.size;let n=0,r=0,o=0;for(let i=0;i<t;i++){r=o=0;for(let s=0;s<t;s++)r=r<<1&2047|e.get(i,s),s>=10&&(1488===r||93===r)&&n++,o=o<<1&2047|e.get(s,i),s>=10&&(1488===o||93===o)&&n++}return 40*n},t.getPenaltyN4=function(e){let t=0;const n=e.data.length;for(let r=0;r<n;r++)t+=e.data[r];return 10*Math.abs(Math.ceil(100*t/n/5)-10)},t.applyMask=function(e,t){const r=t.size;for(let o=0;o<r;o++)for(let i=0;i<r;i++)t.isReserved(i,o)||t.xor(i,o,n(e,i,o))},t.getBestMask=function(e,n){const r=Object.keys(t.Patterns).length;let o=0,i=1/0;for(let s=0;s<r;s++){n(s),t.applyMask(s,e);const r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(s,e),r<i&&(i=r,o=s)}return o}},208(e,t,n){const r=n(878),o=n(44);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!r.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return n}}},357(e,t,n){const r=n(208);function o(e){this.mode=r.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);const o=this.data.length-t;o>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,3*o+1))},e.exports=o},713(e,t,n){const r=n(731);t.mul=function(e,t){const n=new Uint8Array(e.length+t.length-1);for(let o=0;o<e.length;o++)for(let i=0;i<t.length;i++)n[o+i]^=r.mul(e[o],t[i]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){const e=n[0];for(let o=0;o<t.length;o++)n[o]^=r.mul(t[o],e);let o=0;for(;o<n.length&&0===n[o];)o++;n=n.slice(o)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let o=0;o<e;o++)n=t.mul(n,new Uint8Array([1,r.exp(o)]));return n}},157(e,t,n){const r=n(886),o=n(953),i=n(899),s=n(820),a=n(421),c=n(756),l=n(332),u=n(518),d=n(764),h=n(427),m=n(565),f=n(208),g=n(801);function p(e,t,n){const r=e.size,o=m.getEncodedBits(t,n);let i,s;for(i=0;i<15;i++)s=1==(o>>i&1),i<6?e.set(i,8,s,!0):i<8?e.set(i+1,8,s,!0):e.set(r-15+i,8,s,!0),i<8?e.set(8,r-i-1,s,!0):i<9?e.set(8,15-i-1+1,s,!0):e.set(8,15-i-1,s,!0);e.set(r-8,8,1,!0)}function w(e,t,n,o){let m;if(Array.isArray(e))m=g.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");{let r=t;if(!r){const t=g.rawSplit(e);r=h.getBestVersionForData(t,n)}m=g.fromString(e,r||40)}}const w=h.getBestVersionForData(m,n);if(!w)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<w)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+w+".\n")}else t=w;const v=function(e,t,n){const o=new i;n.forEach(function(t){o.put(t.mode.bit,4),o.put(t.getLength(),f.getCharCountIndicator(t.mode,e)),t.write(o)});const s=8*(r.getSymbolTotalCodewords(e)-u.getTotalCodewordsCount(e,t));for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);const a=(s-o.getLengthInBits())/8;for(let e=0;e<a;e++)o.put(e%2?17:236,8);return function(e,t,n){const o=r.getSymbolTotalCodewords(t),i=o-u.getTotalCodewordsCount(t,n),s=u.getBlocksCount(t,n),a=s-o%s,c=Math.floor(o/s),l=Math.floor(i/s),h=l+1,m=c-l,f=new d(m);let g=0;const p=new Array(s),w=new Array(s);let v=0;const E=new Uint8Array(e.buffer);for(let e=0;e<s;e++){const t=e<a?l:h;p[e]=E.slice(g,g+t),w[e]=f.encode(p[e]),g+=t,v=Math.max(v,t)}const b=new Uint8Array(o);let y,k,C=0;for(y=0;y<v;y++)for(k=0;k<s;k++)y<p[k].length&&(b[C++]=p[k][y]);for(y=0;y<m;y++)for(k=0;k<s;k++)b[C++]=w[k][y];return b}(o,e,t)}(t,n,m),E=r.getSymbolSize(t),b=new s(E);return function(e,t){const n=e.size,r=c.getPositions(t);for(let t=0;t<r.length;t++){const o=r[t][0],i=r[t][1];for(let t=-1;t<=7;t++)if(!(o+t<=-1||n<=o+t))for(let r=-1;r<=7;r++)i+r<=-1||n<=i+r||(t>=0&&t<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===t||6===t)||t>=2&&t<=4&&r>=2&&r<=4?e.set(o+t,i+r,!0,!0):e.set(o+t,i+r,!1,!0))}}(b,t),function(e){const t=e.size;for(let n=8;n<t-8;n++){const t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}(b),function(e,t){const n=a.getPositions(t);for(let t=0;t<n.length;t++){const r=n[t][0],o=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)-2===t||2===t||-2===n||2===n||0===t&&0===n?e.set(r+t,o+n,!0,!0):e.set(r+t,o+n,!1,!0)}}(b,t),p(b,n,0),t>=7&&function(e,t){const n=e.size,r=h.getEncodedBits(t);let o,i,s;for(let t=0;t<18;t++)o=Math.floor(t/3),i=t%3+n-8-3,s=1==(r>>t&1),e.set(o,i,s,!0),e.set(i,o,s,!0)}(b,t),function(e,t){const n=e.size;let r=-1,o=n-1,i=7,s=0;for(let a=n-1;a>0;a-=2)for(6===a&&a--;;){for(let n=0;n<2;n++)if(!e.isReserved(o,a-n)){let r=!1;s<t.length&&(r=1==(t[s]>>>i&1)),e.set(o,a-n,r),i--,-1===i&&(s++,i=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(b,v),isNaN(o)&&(o=l.getBestMask(b,p.bind(null,b,n))),l.applyMask(o,b),p(b,n,o),{modules:b,version:t,errorCorrectionLevel:n,maskPattern:o,segments:m}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");let n,i,s=o.M;return void 0!==t&&(s=o.from(t.errorCorrectionLevel,o.M),n=h.from(t.version),i=l.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),w(e,n,s,i)}},764(e,t,n){const r=n(713);function o(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},o.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const t=new Uint8Array(e.length+this.degree);t.set(e);const n=r.mod(t,this.genPoly),o=this.degree-n.length;if(o>0){const e=new Uint8Array(this.degree);return e.set(n,o),e}return n},e.exports=o},44(e,t){const n="[0-9]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const o="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(o,"g"),t.NUMERIC=new RegExp(n,"g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const i=new RegExp("^"+r+"$"),s=new RegExp("^"+n+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return i.test(e)},t.testNumeric=function(e){return s.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},801(e,t,n){const r=n(208),o=n(357),i=n(433),s=n(822),a=n(861),c=n(44),l=n(886),u=n(320);function d(e){return unescape(encodeURIComponent(e)).length}function h(e,t,n){const r=[];let o;for(;null!==(o=e.exec(n));)r.push({data:o[0],index:o.index,mode:t,length:o[0].length});return r}function m(e){const t=h(c.NUMERIC,r.NUMERIC,e),n=h(c.ALPHANUMERIC,r.ALPHANUMERIC,e);let o,i;return l.isKanjiModeEnabled()?(o=h(c.BYTE,r.BYTE,e),i=h(c.KANJI,r.KANJI,e)):(o=h(c.BYTE_KANJI,r.BYTE,e),i=[]),t.concat(n,o,i).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function f(e,t){switch(t){case r.NUMERIC:return o.getBitsLength(e);case r.ALPHANUMERIC:return i.getBitsLength(e);case r.KANJI:return a.getBitsLength(e);case r.BYTE:return s.getBitsLength(e)}}function g(e,t){let n;const c=r.getBestModeForData(e);if(n=r.from(t,c),n!==r.BYTE&&n.bit<c.bit)throw new Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(c));switch(n!==r.KANJI||l.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new o(e);case r.ALPHANUMERIC:return new i(e);case r.KANJI:return new a(e);case r.BYTE:return new s(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(g(t,null)):t.data&&e.push(g(t.data,t.mode)),e},[])},t.fromString=function(e,n){const o=function(e){const t=[];for(let n=0;n<e.length;n++){const o=e[n];switch(o.mode){case r.NUMERIC:t.push([o,{data:o.data,mode:r.ALPHANUMERIC,length:o.length},{data:o.data,mode:r.BYTE,length:o.length}]);break;case r.ALPHANUMERIC:t.push([o,{data:o.data,mode:r.BYTE,length:o.length}]);break;case r.KANJI:t.push([o,{data:o.data,mode:r.BYTE,length:d(o.data)}]);break;case r.BYTE:t.push([{data:o.data,mode:r.BYTE,length:d(o.data)}])}}return t}(m(e,l.isKanjiModeEnabled())),i=function(e,t){const n={},o={start:{}};let i=["start"];for(let s=0;s<e.length;s++){const a=e[s],c=[];for(let e=0;e<a.length;e++){const l=a[e],u=""+s+e;c.push(u),n[u]={node:l,lastCount:0},o[u]={};for(let e=0;e<i.length;e++){const s=i[e];n[s]&&n[s].node.mode===l.mode?(o[s][u]=f(n[s].lastCount+l.length,l.mode)-f(n[s].lastCount,l.mode),n[s].lastCount+=l.length):(n[s]&&(n[s].lastCount=l.length),o[s][u]=f(l.length,l.mode)+4+r.getCharCountIndicator(l.mode,t))}}i=c}for(let e=0;e<i.length;e++)o[i[e]].end=0;return{map:o,table:n}}(o,n),s=u.find_path(i.map,"start","end"),a=[];for(let e=1;e<s.length-1;e++)a.push(i.table[s[e]].node);return t.fromArray(a.reduce(function(e,t){const n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[]))},t.rawSplit=function(e){return t.fromArray(m(e,l.isKanjiModeEnabled()))}},886(e,t){let n;const r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},878(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},427(e,t,n){const r=n(886),o=n(518),i=n(953),s=n(208),a=n(878),c=r.getBCHDigit(7973);function l(e,t){return s.getCharCountIndicator(e,t)+4}function u(e,t){let n=0;return e.forEach(function(e){const r=l(e.mode,t);n+=r+e.getBitsLength()}),n}t.from=function(e,t){return a.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!a.isValid(e))throw new Error("Invalid QR Code version");void 0===n&&(n=s.BYTE);const i=8*(r.getSymbolTotalCodewords(e)-o.getTotalCodewordsCount(e,t));if(n===s.MIXED)return i;const c=i-l(n,e);switch(n){case s.NUMERIC:return Math.floor(c/10*3);case s.ALPHANUMERIC:return Math.floor(c/11*2);case s.KANJI:return Math.floor(c/13);case s.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,n){let r;const o=i.from(n,i.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(u(e,r)<=t.getCapacity(r,n,s.MIXED))return r}(e,o);if(0===e.length)return 1;r=e[0]}else r=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(r.mode,r.getLength(),o)},t.getEncodedBits=function(e){if(!a.isValid(e)||e<7)throw new Error("Invalid QR Code version");let t=e<<12;for(;r.getBCHDigit(t)-c>=0;)t^=7973<<r.getBCHDigit(t)-c;return e<<12|t}},280(e,t,n){const r=n(726);t.render=function(e,t,n){let o=n,i=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),o=r.getOptions(o);const s=r.getImageWidth(e.modules.size,o),a=i.getContext("2d"),c=a.createImageData(s,s);return r.qrToImageData(c.data,e,o),function(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}(a,i,s),a.putImageData(c,0,0),i},t.renderToDataURL=function(e,n,r){let o=r;void 0!==o||n&&n.getContext||(o=n,n=void 0),o||(o={});const i=t.render(e,n,o),s=o.type||"image/png",a=o.rendererOpts||{};return i.toDataURL(s,a.quality)}},375(e,t,n){const r=n(726);function o(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function i(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}t.render=function(e,t,n){const s=r.getOptions(t),a=e.modules.size,c=e.modules.data,l=a+2*s.margin,u=s.color.light.a?"<path "+o(s.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",d="<path "+o(s.color.dark,"stroke")+' d="'+function(e,t,n){let r="",o=0,s=!1,a=0;for(let c=0;c<e.length;c++){const l=Math.floor(c%t),u=Math.floor(c/t);l||s||(s=!0),e[c]?(a++,c>0&&l>0&&e[c-1]||(r+=s?i("M",l+n,.5+u+n):i("m",o,0),o=0,s=!1),l+1<t&&e[c+1]||(r+=i("h",a),a=0)):o++}
1return r}(c,a,s.margin)+'"/>',h='viewBox="0 0 '+l+" "+l+'"',m='<svg xmlns="http://www.w3.org/2000/svg" '+(s.width?'width="'+s.width+'" height="'+s.width+'" ':"")+h+' shape-rendering="crispEdges">'+u+d+"</svg>\n";return"function"==typeof n&&n(null,m),m}},726(e,t){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");const n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});const t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:r,scale:r?4:o,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const o=n.modules.size,i=n.modules.data,s=t.getScale(o,r),a=Math.floor((o+2*r.margin)*s),c=r.margin*s,l=[r.color.light,r.color.dark];for(let t=0;t<a;t++)for(let n=0;n<a;n++){let u=4*(t*a+n),d=r.color.light;t>=c&&n>=c&&t<a-c&&n<a-c&&(d=l[i[Math.floor((t-c)/s)*o+Math.floor((n-c)/s)]?1:0]),e[u++]=d.r,e[u++]=d.g,e[u++]=d.b,e[u]=d.a}}}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}(()=>{let e;globalThis.importScripts&&(e=globalThis.location+"");const t=globalThis.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const n=t.getElementsByTagName("script");if(n.length){let t=n.length-1;for(;t>-1&&(!e||!/^http(s?):/.test(e));)e=n[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";const e=window.React;function t(e){return e.replace(/-\d{2,4}x\d{2,4}/g,"")}function r(e){return/\.(jpg|jpeg|png|gif|bmp|svg|webp)$/i.test(e)}document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".bp3d-model-main")?.forEach(e=>{const n=e.dataset.selector;if(!n||""===n)return;const o=function(e){if(!e)return null;let n=document.querySelector(r(e)?`img[src="${e}"]`:e.includes("#")||e.includes(".")?e:`.${e}`);return r(e)&&(n||(n=document.querySelector(`img[data-src="${e}"]`)),n||(n=document.querySelector(`img[data-src="${t(e)}"]`)),n||(n=document.querySelector(`img[src="${t(e)}"]`)),n||(n=document.querySelector(`a[href="${t(e)}"]`))),n&&(n=function(e){let t=e.parentElement;for(;t&&1===t.children.length;)e=t,t=t.parentElement;return e}(n),setTimeout(()=>{n?.innerHTML?.includes("<a")&&n.classList.add("bp3d_a_popup_opener")},500),n?.innerHTML?.includes("<img")&&"reintest.be"===window.location.host&&n.classList.add("bp3d_play_icon")),n}(n);if(o){o.addEventListener("click",t=>{t.preventDefault(),window.type="product",e.classList.add("model-open");for(let e=1;e<5;e++)setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200*e)}),o.style.cursor="pointer";const t=e.querySelector(".close-btn"),n=e.querySelector(".bg-overlay");t?.addEventListener("click",()=>e.classList.remove("model-open")),n?.addEventListener("click",()=>e.classList.remove("model-open"))}else console.warn("clickable item is not found",n)})});const o=({attributes:t})=>{const{styles:n,uniqueId:r,woo:o,progressBar:i}=t,{progressBarColor:s="#666",thumbSize:a="70px"}=n,[c,l]=(0,e.useState)(null);return(0,e.useEffect)(()=>{const e=`\n        #${r} {\n            width: 100%;\n        }\n        .pop-up-content-wrap #${r} {\n            height: ${n?.height?.desktop||n.height};\n        }\n        #${r} .select {display: none}\n        \n        #${r} model-viewer {\n            background-color: ${n?.bgColor};\n            ${n?.bgImage?`background:url(${n?.bgImage}) no-repeat center center;background-size: cover;`:" "} \n        }\n        #${r} model-viewer::part(default-progress-bar) {\n             display: ${i?"block":"none"}\n        }\n        #${r} .b3dviewer-wrapper {\n            width: ${o?"100%":`${n?.width.desktop||n.width}`};\n            height: ${o?"100%":n?.height.desktop||n.height};\n        }\n        #${r} .online_3d_viewer {\n            height: ${o?"100%":n?.height.desktop||n.height};\n            width: 100%;\n        }\n        @media screen and (max-width: 1024px){\n            #${r} .online_3d_viewer,\n            #${r} .b3dviewer-wrapper {\n                width: ${o?"100%":`${n?.width.tablet||n.width}`};\n                height: ${o?"100%":n?.height.tablet||n.height};\n            }\n        }\n        @media screen and (max-width: 640px){\n            #${r} .online_3d_viewer,\n            #${r} .b3dviewer-wrapper {\n                width: ${o?"100%":`${n?.width.mobile||n.width}`};\n                height: ${n?.height.mobile||n.height};\n            }\n        }\n        #${r} model-viewer::part(default-progress-bar){\n            background: ${s};\n        }\n        #${r} .slides .slide{\n            width: ${a};\n            height: ${a};\n            padding: calc(${a} * 0.04);\n            }\n            #${r} .thumbsItem{\n                width: ${a};\n            height: ${a};\n        }\n        #${r} .slide-number span{\n            font-size: calc(${a} * 0.8);\n        }\n    `.replaceAll(/\n?\s\s/g,"");l(e)},[r,n,i]),(0,e.createElement)("style",null,c)},i=n.p+"images/posx.636c229f.jpg",s=n.p+"images/posy.0722c73e.jpg",a=n.p+"images/posz.829f9244.jpg",c=n.p+"images/negx.dad27d20.jpg",l=n.p+"images/negy.ef9d1d19.jpg",u=n.p+"images/negz.a6842016.jpg",d=(e,t=0,n=255)=>Math.min(n,Math.max(t,e)),h=e=>{if(!e)return null;const t=e.trim().toLowerCase();if("transparent"===t)return{r:255,g:255,b:255,a:0};if(t.startsWith("rgb")){const e=t.match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+)\s*)?\)$/);if(!e)return null;const[,n,r,o,i]=e,s=void 0===i?255:Number(i)<=1?255*Number(i):Number(i);return{r:d(Number(n)),g:d(Number(r)),b:d(Number(o)),a:d(Math.round(s))}}let n=t.replace("#","");3!==n.length&&4!==n.length||(n=n.split("").map(e=>e+e).join(""));const r=/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(n);return r?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16),a:void 0===r[4]?255:parseInt(r[4],16)}:null},m=t=>{const{attributes:n,modelSrc:r}=t,{styles:o,O3DVSettings:d={},model:m,isBackend:f}=n,{mouseControl:g,zoom:p=!0}=d,w=m,[v,E]=(0,e.useState)(!1),[b,y]=(0,e.useState)(!1),k=(0,e.useRef)(null),C=(0,e.useRef)(null),L=(0,e.useRef)(null);return(0,e.useEffect)(()=>
1{if(r&&void 0!==window.OV)if(C.current?.Destroy(),C.current?.canvas?.remove(),C.current=null,null===C.current){const e=h(o.bgColor)||{r:255,g:255,b:255,a:255};L.current=new window.OV.EmbeddedViewer(k.current,{backgroundColor:new window.OV.RGBAColor(e.r,e.g,e.b,e.a),environmentSettings:new window.OV.EnvironmentSettings([i,c,s,l,a,u],!1)});const t=[r?.replace(/https?:/,window.location.protocol)];L.current.LoadModelFromUrlList(t),C.current=L.current,window.VR=L.current,E(!0),L.current.viewer.navigation.SetZoomStatus(p)}else{C.current.LoadModelFromUrlList([r?.replace(/https?:/,window.location.protocol)]);const e=new window.OV.Coord3D(0,0,0);C.current.viewer.SetCamera(new window.OV.Camera(new window.OV.Coord3D(0,0,1),e,new window.OV.Coord3D(0,1,0),45)),setTimeout(()=>{window.dispatchEvent(new Event("resize"))},1e3)}return()=>{if(null!==C.current&&null!==k.current&&v){delete C.current.model,C.current.viewer?.renderer?.resetState(),C.current.viewer?.Clear(),C.current.viewer&&delete C.current.viewer;const e=C.current.canvas?.getContext("webgl2");e?.getExtension("WEBGL_lose_context")?.loseContext();const t=C.current.canvas?.cloneNode(!0);t&&C.current.canvas?.parentNode&&C.current.canvas.parentNode.replaceChild(t,C.current.canvas),k.current&&k.current.children.length>0&&k.current.removeChild(k.current.children[0]),C.current.canvas?.parentNode?.removeChild(C.current.canvas),C.current.canvas?.remove(),C.current=null,E(!1)}}},[r,w,v]),(0,e.useEffect)(()=>{if(C.current?.viewer){const e=h(o.bgColor);if(e&&void 0!==window.OV){const t=new window.OV.RGBAColor(e.r,e.g,e.b,e.a);C.current.viewer.SetBackgroundColor(t)}setTimeout(()=>{C.current?.viewer&&k.current&&(C.current.viewer.Resize(k.current.offsetWidth,k.current.offsetHeight),C.current.viewer.Render())},10),window.viewer=C.current}},[o,r]),(0,e.useEffect)(()=>{if(!k.current)return;const e=new ResizeObserver(e=>{for(const t of e){const{width:e,height:n}=t.contentRect;if(C.current?.viewer&&k.current){const t=k.current.offsetWidth||e,r=k.current.offsetHeight||n;t>0&&r>0&&(C.current.viewer.Resize(t,r),C.current.viewer.Render())}}});return e.observe(k.current),()=>{e.disconnect()}},[]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{ref:k,role:"img","aria-label":"Canvas showing the model in the 3D Viewer",onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),className:`${!g||f&&!b?"DMC":""} ${C.current?.modelLoader?.inProgress} relative flex  flex-col items-center justify-center p-2 h-72 w-72 border-2 border-black rounded-sm online_3d_viewer`}))},f=({container:t})=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("svg",{onClick:()=>{const e=t.current?.parentElement;e&&e.classList.add("active")},className:"view_3d control-btn",enableBackground:"new 0 0 512 512",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"m430.928 233.886v33.008c32.309 16.144 51.082 36.127 51.082 55.951 0 45.434-91.41 81.126-181.847 88.649-8.257.68-14.395 7.927-13.705 16.174.648 7.932 7.487 14.336 16.174 13.715 78.723-6.481 209.368-40.451 209.368-118.538 0-42.648-41.729-71.987-81.072-88.959z"}),(0,e.createElement)("path",{d:"m165.821 360.564c-8.329-8.475-22.804-4.333-25.346 7.31l-6.627 30.346c-99.272-26.719-146.934-84.187-52.598-131.326v-33.008c-123.786 53.4-104.361 153.699 46.19 193.674l-5.959 27.284c-2.555 11.698 9.038 21.593 20.219 17.121l74.974-29.99c9.918-3.966 12.636-16.788 5.128-24.431z"}),(0,e.createElement)("path",{d:"m262.671 40.888c-4.624-2.621-10.288-2.597-14.89.06l-121.551 70.177c20.586 11.885 118.654 68.505 129.841 74.964l129.885-75.34z"}),(0,e.createElement)("path",{d:"m111.236 277.451c0 5.358 2.858 10.307 7.497 12.986l122.361 70.645v-149.012l-129.859-74.974v140.355z"}),(0,e.createElement)("path",{d:"m400.942 277.451v-140.726l-129.858 75.325v149.032l122.361-70.645c4.64-2.679 7.497-7.628 7.497-12.986z"}))),(0,e.createElement)("svg",{className:"view_img control-btn",style:{padding:"3px"},onClick:()=>{const e=t.current?.parentElement;e&&e.classList.remove("active")},viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M15.5 10a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z",fill:"#0D0D0D"}),(0,e.createElement)("path",{d:"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm16 0H5v7.92l3.375-2.7a1 1 0 0 1 1.25 0l4.3 3.44 1.368-1.367a1 1 0 0 1 1.414 0L19 14.586V5zM5 19h14v-1.586l-3-3-1.293 1.293a1 1 0 0 1-1.332.074L9 12.28l-4 3.2V19z",fill:"#0D0D0D"}))),g=({size:t=35,...n})=>(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 512 512",style:{enableBackgroun
1d:"new 0 0 512 512"},xmlSpace:"preserve",className:"ar-qr-opener",width:t,height:t,...n},(0,e.createElement)("g",{id:"XMLID_100_"},(0,e.createElement)("line",{id:"XMLID_108_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:223.158,y1:461.837,x2:253.281,y2:461.837}),(0,e.createElement)("path",{id:"XMLID_107_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},d:" M97.65,199.11V44.14c0-18.86,15.28-34.14,34.14-34.14h212.86c18.86,0,34.14,15.28,34.14,34.14v36.15"}),(0,e.createElement)("path",{id:"XMLID_109_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},d:" M97.65,312.89v154.97c0,18.86,15.28,34.14,34.14,34.14h212.86c18.86,0,34.14-15.28,34.14-34.14c0-16.94,0-117.03,0-154.97 c0-0.25,0-0.5,0-0.75"}),(0,e.createElement)("polyline",{id:"XMLID_110_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},points:" 318.715,10 298.633,50.163 178.143,50.163 157.726,10 \t"}),(0,e.createElement)("circle",{style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},cx:378.791,cy:190.734,r:110.449}),(0,e.createElement)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:413.528,y1:187.311,x2:443.052,y2:220.857}),(0,e.createElement)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:405.052,y1:150.571,x2:405.052,y2:220.857}),(0,e.createElement)("path",{style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},d:" M443.052,168.838c0,10.088-8.846,18.267-19.3,18.267c-5.186,0-18.548,0.081-18.548,0.081c-0.178-50.176-0.117-32.87-0.13-36.614 c0,0,12.551,0,18.678,0C434.206,150.571,443.052,158.75,443.052,168.838z"}),(0,e.createElement)("path",{id:"XMLID_112_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},d:" M313.258,220.857l26.392-69.296c0.54-1.318,2.406-1.32,2.948-0.003l26.152,69.299"}),(0,e.createElement)("line",{id:"XMLID_113_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:321.488,y1:203.599,x2:360.652,y2:203.599}),(0,e.createElement)("polyline",{id:"XMLID_111_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},points:" 395.951,299.85 378.79,312.89 238.221,419.67 97.65,312.89 22.76,256 238.221,92.33 286.961,129.35 \t"}),(0,e.createElement)("polyline",{id:"XMLID_114_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},points:" 293.451,260.85 293.451,287.88 238.221,319.77 183.001,287.88 183.001,224.12 238.221,192.23 270.13,210.66 \t"}),(0,e.createElement)("polyline",{id:"XMLID_115_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},points:" 183.001,224.12 238.221,256 276.98,233.63 \t"}),(0,e.createElement)("line",{id:"XMLID_116_",style:{fill:"none",stroke:"#000000",strokeWidth:20,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:238.221,y1:256,x2:238.221,y2:319.768}))),p=({size:t=35,className:n,onClick:r,...o})=>(0,e.createElement)("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:n,onClick:r,...o},(0,e.createElement)("path",{fill:"#000000",fillRule:"evenodd",d:"M11.2929,3.29289 C11.6834,2.90237 12.3166,2.90237 12.7071,3.29289 C13.0976,3.68342 13.0976,4.31658 12.7071,4.70711 L9.41421,8 L12.7071,11.2929 C13.0976,11.6834 13.0976,12.3166 12.7071,12.7071 C12.3166,13.0976 11.6834,13.0976 11.2929,12.7071 L8,9.41421 L4.70711,12.7071 C4.31658,13.0976 3.68342,13.0976 3.29289,12.7071 C2.90237,12.3166 2.90237,11.6834 3.29289,11.2929 L6.58579,8 L3.29289,4.70711 C2.90237,4.31658 2.90237,3.68342 3.29289,3.29289 C3.68342,2.90237 4.31658,2.90237 4.70711,3.29289 L8,6.58579 L11.2929,3.29289 Z"})),w=({size:t=35,className:n,onClick:r,...o}
1)=>(0,e.createElement)("svg",{fill:"#000000",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,onClick:r,className:n,...o},(0,e.createElement)("path",{d:"M19,6.5H17.72l-.32-1a3,3,0,0,0-2.84-2H9.44A3,3,0,0,0,6.6,5.55l-.32,1H5a3,3,0,0,0-3,3v8a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3v-8A3,3,0,0,0,19,6.5Zm1,11a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1v-8a1,1,0,0,1,1-1H7a1,1,0,0,0,1-.68l.54-1.64a1,1,0,0,1,.95-.68h5.12a1,1,0,0,1,.95.68l.54,1.64A1,1,0,0,0,17,8.5h2a1,1,0,0,1,1,1Zm-8-9a4,4,0,1,0,4,4A4,4,0,0,0,12,8.5Zm0,6a2,2,0,1,1,2-2A2,2,0,0,1,12,14.5Z"})),v=({size:t=35,className:n,onClick:r,...o})=>(0,e.createElement)("svg",{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:n,onClick:r,...o},(0,e.createElement)("g",{id:"Solid"},(0,e.createElement)("path",{d:"m104 72h48a24 24 0 0 0 24-24 24 24 0 0 0 -24-24h-104a24 24 0 0 0 -24 24v104a24 24 0 0 0 48 0v-48l116 116a22.627 22.627 0 0 0 32 0 22.627 22.627 0 0 0 0-32z"}),(0,e.createElement)("path",{d:"m220 292a22.627 22.627 0 0 0 -32 0l-116 116v-48a24 24 0 0 0 -48 0v104a24 24 0 0 0 24 24h104a24 24 0 0 0 24-24 24 24 0 0 0 -24-24h-48l116-116a22.627 22.627 0 0 0 0-32z"}),(0,e.createElement)("path",{d:"m464 24h-104a24 24 0 0 0 -24 24 24 24 0 0 0 24 24h48l-116 116a22.627 22.627 0 0 0 0 32 22.627 22.627 0 0 0 32 0l116-116v48a24 24 0 0 0 48 0v-104a24 24 0 0 0 -24-24z"}),(0,e.createElement)("path",{d:"m464 336a24 24 0 0 0 -24 24v48l-116-116a22.627 22.627 0 0 0 -32 0 22.627 22.627 0 0 0 0 32l116 116h-48a24 24 0 0 0 -24 24 24 24 0 0 0 24 24h104a24 24 0 0 0 24-24v-104a24 24 0 0 0 -24-24z"}))),E=({size:t=35,className:n,onClick:r,...o})=>(0,e.createElement)("svg",{width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",className:n,onClick:r,...o},(0,e.createElement)("path",{d:"M352 128C352 110.3 337.7 96 320 96C302.3 96 288 110.3 288 128L288 288L128 288C110.3 288 96 302.3 96 320C96 337.7 110.3 352 128 352L288 352L288 512C288 529.7 302.3 544 320 544C337.7 544 352 529.7 352 512L352 352L512 352C529.7 352 544 337.7 544 320C544 302.3 529.7 288 512 288L352 288L352 128z"})),b=({size:t=35,className:n,onClick:r,...o})=>(0,e.createElement)("svg",{width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",className:n,onClick:r,...o},(0,e.createElement)("path",{d:"M96 320C96 302.3 110.3 288 128 288L512 288C529.7 288 544 302.3 544 320C544 337.7 529.7 352 512 352L128 352C110.3 352 96 337.7 96 320z"})),y=({size:t=35,className:n,onClick:r,...o})=>(0,e.createElement)("svg",{fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,onClick:r,className:n,...o},(0,e.createElement)("path",{d:"M12 16L7 11H10V4H14V11H17L12 16ZM5 18H19V20H5V18Z"})),k=function(){const e=document;if(e.exitFullscreen)e.exitFullscreen();else if(e.webkitExitFullscreen)e.webkitExitFullscreen();else if(e.msExitFullscreen)e.msExitFullscreen();else{const e=document.querySelector(".b3dviewer-wrapper.fullscreen");e&&e.classList.remove("fullscreen")}},C=window.wp.i18n,L=n.p+"images/loading.0178ea4a.webp",A=(e,t,n)=>{if(e){if(null!=n){const r=String(n).trim();if(""!==r&&!r.includes("null"))return void e.setAttribute(t,r)}e.removeAttribute(t)}},x=e=>e?.replace(/https?:/,window.location.protocol)||"",M=t=>{const[n,r]=(0,e.useState)("");return(0,e.useEffect)(()=>{if(!t||!t.includes("/"))return void r(t);let e=!0;return fetch(t).then(e=>(e.body?.cancel().catch(()=>{}),e.ok)).catch(()=>!1).then(n=>{e&&r(n?t:"")}),()=>{e=!1}},[t]),n},R=({attributes:t,modelSrc:n,viewerRef:r})=>{const{loadingPercentage:o=!1,uniqueId:i,model:s,loading:a,activeIndex:c=0,mouseControl:l,isBackend:u}=t,d=s,[h,m]=(0,e.useState)(!1),f=d?.poster?.replace(/https?:/,window.location.protocol),g=M(x(d?.environmentImage||t.environmentImage)),p=M(x(d?.skyboxImage||t.skyboxImage)),w=(e,t,n,r)=>{u&&(t&&e?.setAttribute(n,r),!t&&e?.removeAttribute(n,r))};(0,e.useEffect)(()=>{((e,t={},n)=>{if(!e)return;const{zoom:r,exposure:o,shadow:i}=n;setTimeout(()=>{var s;const{mouseControl:a,loading:c="eager"}=n;a?e.setAttribute("camera-controls",""):e.removeAttribute("camera-controls"),c?e.setAttribute("loading",c):e.removeAttribute("loading"),r?e.removeAttribute("disable-zoom"):e.setAttribute("disable-zoom","");const l=null!==(s=t?.exposure)&&void 0!==s?s:o;if(A(e,"exposure",l),i){const t=!0===i?"1":String(i);e.setAttribute("shadow-intensity",t),e.setAttribute("shadow-softness","1")}else e.removeAttribute("shadow-intensity"),e.removeAttribute("shadow-softness")},10)})(r.current,d,t)},[i,t,c]);const v=(0,e.useRef)(n);(0,e.useEffect)(()=>{v.current!==n&&(v.current=n,m(!1))},[n]);const E=(0,e.useRef)(null);E.current||(E.current={error:e=>{"loadfailure"===e?.detail?.type&&m(!0)},load:()=>m(!1)});const b=(0,e.useCallback)(e=>{const t=E.current,n=r.current;n&&n!==e&&(n.removeEventListener("error",t.error),n.removeEventListener("load",t.load)),r.current=e,e&&e!==n&&(e.addEventListener("error",t.error),e.addEventListener("load",t.load))},[r]);return(0,e.useEffect)(()=>{d&&r.current&&setTimeout(()=>{const{arEnabled:e,arPlacement:t="floor",arMode:n="quick-look",modelISOSrc:o}=d||{};e?(r.current.setAttribute("ar",""),r.current.setAttribute("ar-placement",t),r.current.setAttribute("ar-modes",n+" "+"webxr scene-viewer quick-look".replace(n,"")?.replace("  "," ")),o&&r.current.setAttribute("ios-src",o),r.current?.removeAttribute("ar-status")):(r.current?.removeAttribute("ar"),r.current?.removeAttribute("ar-placement"),r.current?.removeAttribute("ar-mode"))},100)},[d,r.current]),(0,e.useEffect)(()=>
1{if(r?.current){const e=r.current.querySelector(".percentage"),t=r.current.querySelector(".bp3d_loader"),n=t=>{if(e.textContent=100*parseInt(t.detail.totalProgress)+"%",1===t.detail.totalProgress){e.style.cssText="display: none";const t=r.current.querySelector(".percentageWrapper");t&&(t.style.cssText="display: none")}};if(e)return r.current?.addEventListener("progress",n),r.current?.addEventListener("load",()=>{e.style.cssText="display: none",t&&(t.style.cssText="display: none")}),()=>{r.current?.removeEventListener("progress",n)};r.current?.addEventListener("load",()=>{const e=r.current.querySelector(".bp3d_loader");e&&(e.style.cssText="display: none")});const o=()=>{l&&w(r.current,!0,"camera-controls","")},i=()=>{l&&w(r.current,!1,"camera-controls","")};return r.current?.addEventListener("mouseenter",o),r.current?.addEventListener("mouseleave",i),()=>{r.current?.removeEventListener("mouseenter",o),r.current?.removeEventListener("mouseleave",i)}}},[r?.current,l]),d?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("model-viewer",{loading:a||"auto","camera-controls":!0,ref:b,"data-js-focus-visible":!0,"data-decoder":s?.decoder,poster:f,src:n?.replace(/https?:/,window.location.protocol),alt:"A 3D model","environment-image":g||void 0,"skybox-image":p||void 0,"skybox-height":p?d?.skyboxHeight||"0m":void 0,ar:d.arEnabled||!1,"ar-placement":d.arPlacement||"floor"},(0,e.createElement)("span",{slot:"interaction-prompt",style:{display:"none"}}),(0,e.createElement)("span",{slot:"ar-button"}),(0,e.createElement)("button",{type:"button",slot:"poster",id:"default-poster","aria-label":"A 3D model",style:f?{backgroundImage:` url("${f}")`}:{}}),o&&!h&&!r.current?.loaded&&(0,e.createElement)("div",{className:"percentageWrapper",slot:"progress-bar"},(0,e.createElement)("div",{className:"overlay"}),(0,e.createElement)("span",{className:"percentage"},"0%")),!r.current?.loaded&&!o&&!h&&(0,e.createElement)("div",{className:"bp3d_loader",slot:"progress-bar"},(0,e.createElement)("div",{className:"overlay"}),(0,e.createElement)("img",{style:{width:"100px",background:"white",borderRadius:"5px",height:"auto"},src:L})),h&&(0,e.createElement)("div",{className:"bp3d_load_error",slot:"progress-bar"},(0,e.createElement)("span",null,(0,C.__)("The 3D model could not be loaded.","3d-viewer"))))):(0,e.createElement)(e.Fragment,null)};var N=n(583);const B=({viewerRef:t,arLink:n,placement:r})=>{const[o,i]=(0,e.useState)(""),[s,a]=(0,e.useState)(!1),c=function(e=window.location.href){try{const t=new URL(e),n={};return t.searchParams.forEach((e,t)=>{n[t]=e}),n}catch(e){return console.error("Invalid URL:",e),{}}}();return(0,e.useEffect)(()=>{(async e=>{try{i(await N.toDataURL(function(e,t={}){const{add:n={},remove:r=[],update:o={}}=t;try{const t=new URL(e);return Object.entries(n).forEach(([e,n])=>{t.searchParams.set(e,n)}),Object.entries(o).forEach(([e,n])=>{t.searchParams.set(e,n)}),r.forEach(e=>{t.searchParams.delete(e)}),t.toString()}catch(t){return console.error("Invalid URL:",t),e}}(e,{add:{"bp3d-action":"view-ar"}})),{width:100})}catch(e){console.error(e)}})(n||window.location.href)},[]),(0,e.useEffect)(()=>{t.current?.loaded&&"view-ar"===c["bp3d-action"]&&t.current?.canActivateAR&&t.current?.activateAR()},[t.current]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ar-qrcode "+(s?"active":"")},(0,e.createElement)("div",{className:"qr-content"},(0,e.createElement)("strong",null,"QR Code"),"shop-loop-item"!==r&&(0,e.createElement)("p",null,"Scan QR code to view in AR on mobile"),(0,e.createElement)("img",{src:o,width:"100%"})),(0,e.createElement)(g,{className:"control-btn ar-qr-opener",onClick:()=>{t.current?.canActivateAR?t.current?.activateAR():a(!0)}}),(0,e.createElement)(p,{className:"control-btn close",onClick:()=>a(!1)})))},I=({attributes:t,__:n,setAttributes:r,viewerRef:i,containerRef:s})=>{const[a,c]=(0,e.useState)(!1),{uniqueId:l,model:u,fullscreen:d,cameraBtn:h,downloadBtn:g,zoomInOutBtn:C,align:L,woo:A,currentViewer:x="modelViewer",O3DVSettings:M={},placement:N,arLink:I,position:S}=t,{isFullscreen:T}=M,_=u?.modelUrl,P=u;return(0,e.useEffect)(()=>{try{new URL(_),c(!0)}catch(e){c(!1)}},[l,u,_]),_&&P?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{ref:s,id:`${l}`,className:`modelViewerBlock b3dviewer position_${S}  ${A?"woocommerce":""}`},(0,e.createElement)(o,{attributes:t}),(0,e.createElement)("div",{className:`b3dviewer-wrapper bp_model_parent align${L}`},_&&a&&(0,e.createElement)(e.Fragment,null,"modelViewer"===x?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(R,{attributes:t,setAttributes:r,modelSrc:_,viewerRef
1:i,__:n})):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(m,{setAttributes:r,__:n,modelSrc:_,model:_,attributes:t}))),(0,e.createElement)("div",{className:"position-top-right"},(0,e.createElement)(p,{className:"control-btn fullscreen-close",onClick:k})),(0,e.createElement)("div",{className:"position-bottom-right"},C&&"shop-loop-item"!==N&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(E,{className:"control-btn",onClick:()=>{if("modelViewer"===x)i.current.zoom(2);else{const e=s.current?.querySelector("canvas");if(e){const t=new WheelEvent("wheel",{deltaY:-100,deltaMode:0,bubbles:!0});e.dispatchEvent(t)}}}}),(0,e.createElement)(b,{className:"control-btn",onClick:()=>{if("modelViewer"===x)i.current.zoom(-2);else{const e=s.current?.querySelector("canvas");if(e){const t=new WheelEvent("wheel",{deltaY:100,deltaMode:0,bubbles:!0});e.dispatchEvent(t)}}}})),["product-gallery-inline"].includes(N)&&(0,e.createElement)(f,{container:s}),(d&&"modelViewer"===x||"O3DViewer"===x&&T)&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(v,{size:20,className:"control-btn fullscreen-open",onClick:()=>{!function(e){if(!e)return;const t=e;if(t.requestFullscreen)t.requestFullscreen();else if(t.webkitRequestFullscreen)t.webkitRequestFullscreen();else if(t.msRequestFullscreen)t.msRequestFullscreen();else{const e=t.closest(".b3dviewer-wrapper");e&&e.classList.add("fullscreen")}setTimeout(()=>{window.dispatchEvent(new Event("resize"))},100)}(s?.current?.querySelector(".bp_model_parent"))}}))),(0,e.createElement)("div",{className:"position-bottom-left"},"modelViewer"===x&&(0,e.createElement)(e.Fragment,null,h&&(0,e.createElement)(w,{className:"control-btn cameraBtn",onClick:()=>function(e,t){const n=document.createElement("a");n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)}(i.current.toDataURL(),"model.png")}),P?.arEnabled&&(0,e.createElement)(B,{viewerRef:i,arLink:I,placement:N})),g&&_&&(0,e.createElement)(y,{className:"control-btn downloadBtn",onClick:()=>function(e,t){if(!e)return;let n=t;if(!n)try{const t=new URL(e,window.location.href).pathname,r=t.substring(t.lastIndexOf("/")+1);n=r&&r.includes(".")?r:"model.glb"}catch{n="model.glb"}fetch(e).then(e=>e.blob()).then(e=>{const t=URL.createObjectURL(e),r=document.createElement("a");r.href=t,r.download=n||"model.glb",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(t)}).catch(()=>{const t=document.createElement("a");t.href=e,t.download=n||"model.glb",t.target="_blank",document.body.appendChild(t),t.click(),document.body.removeChild(t)})}(_)}))))):(0,e.createElement)(e.Fragment,null)},S=({...t})=>{const{viewerRef:n,attributes:r}=t,{css:o}=((t,n)=>{const[r,o]=(0,e.useState)(null),i=window.bp3dBlock?.selectors,s=i?.gallery_trigger,{position:a}=n;return(0,e.useEffect)(()=>{if(!t.current)return;const e=t.current?.closest(".modelViewerBlock");if(!e||!s)return;const n=document.querySelector(s);n&&e&&"top"===a&&(n.style.cssText="top: "+e.offsetHeight+"px !important;"),o("")},[n,t.current]),t.current?{css:r}:{css:null}})(n,r),{placement:i,position:s,styles:a,is_not_compatible:c}=r,l=(0,e.useRef)(null);return(0,e.useEffect)(()=>{const e=(t,n)=>{if(c&&"replace"===s){const e="object"==typeof a?.height?a.height.desktop||"":a?.height||"";return void(t.style.cssText=`width:100%;height:${e}`)}n.offsetHeight>1e3||n.offsetWidth>1e3?setTimeout(()=>{e(t,n)},100):(t.style.cssText=`width:${n.offsetWidth}px;height:${n.offsetHeight}px`,window.dispatchEvent(new Event("resize")))};if(l.current){const t=l.current.querySelector(".b3dviewer-wrapper");if(!t)return;if(["product-gallery","product-gallery-inline"].includes(i||"")){const n=document.querySelector(".woocommerce-product-gallery__image");if(n)e(t,n);else{const e="object"==typeof a?.height?a.height.desktop||"":a?.height||"";t.style.cssText=`width:100%;height:${e}`}}else if("shortcode"===i){const e="object"==typeof a?.height?a.height.desktop||"":a?.height||"";t.style.cssText=`width:100%;height:${e}`}}},[l.current]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("style",null,o),(0,e.createElement)(I,{...t,containerRef:l}))};window.modelViewerMessages=[];const T=({attributes:t})=>{const[n,r]=(0,e.useState)(t);function o(e,t=""){return e}const i=(0,e.useRef)(null);
1window.modelViewerMessages.push({attributes:t,viewerRef:i});const s=(c=r,e=>{c(t=>({...t,...e}))}),a=(0,e.useRef)(null);var c;return t.woo?(0,e.createElement)(S,{attributes:n,viewerRef:i,__:o,setAttributes:s}):(0,e.createElement)(I,{attributes:n,viewerRef:i,__:o,setAttributes:s,containerRef:a})},{createRoot:_}=window.ReactDOM;var P=class{constructor(){this.callbacks={}}addEventListener(e,t){"function"==typeof t&&(void 0===this.callbacks[e]&&(this.callbacks[e]=[void 0]),this.callbacks[e].push(t))}on(e,t){this.addEventListener(e,t)}dispatchEvent(e,t){if(void 0===this.callbacks[e])return;let n=new P.Event;n.type=e,n.target=this,n.data=t,this.callbacks[e].forEach(e=>{"function"==typeof e&&e(n)})}};P.Event=class{constructor(){this.type="",this.target={},this.data={}}};const{createRoot:$}=window.ReactDOM,z=".modelViewerBlock.elementor",D=(e,t)=>{const n=window.bp3dBlock?.[e];if(n)return n;const r=document.getElementById("bp3d-public-js")||document.querySelector('script[src*="/build/frontend.js"]');return r?.src?r.src.replace(/build\/frontend\.js.*$/,`public/js/${t}`):""},U=t=>{if(!t)return;if("true"===t.getAttribute("data-rendered"))return;const n=t.dataset,r=n.attributes?(e=>{let t=null;try{t=JSON.parse(e)}catch(e){console.warn(e.message)}return t})(n.attributes):null;if(!r)return;t.removeAttribute("data-attributes"),t.setAttribute("data-rendered","true");const o=()=>{$(t).render((0,e.createElement)(T,{attributes:r}))};if("O3DViewer"===r.currentViewer){if(void 0!==window.OV)return void o();let e=document.querySelector('script[src*="o3dv"]');if(!e){const t=D("o3dviewerSrc","o3dv.min.js");if(!t)return;e=document.createElement("script"),e.id="bp3d-lib-o3dviewer-js",e.src=t,document.head.appendChild(e)}return void e.addEventListener("load",o)}if(!customElements.get("model-viewer")&&!document.querySelector('script[src*="model-viewer"]')){const e=D("modelViewerSrc","model-viewer.latest.min.js");if(e){const t=document.createElement("script");t.type="module",t.id="bp3d-lib-model-viewer-js",t.src=e,document.head.appendChild(t)}}o()},F=()=>{document.querySelectorAll(z).forEach(U)},V=()=>{window.elementorFrontend?.hooks?.addAction("frontend/element_ready/3dModelViewer.default",function(e){var t;U(null!==(t=e?.[0]?.querySelector(z))&&void 0!==t?t:null)}),F()};window.elementorFrontend?.hooks?V():window.addEventListener("elementor/frontend/init",V),setTimeout(F,1e3),setTimeout(F,3e3);const{createRoot:q}=window.ReactDOM;setTimeout(()=>{const e=document.querySelectorAll(".bp3d_backup_view");e.length>0&&e.forEach(e=>{e&&(e.style.display="block",setTimeout(()=>{const e=document.querySelectorAll(".bp3d_admin_message");e.length>0&&e.forEach(e=>{e&&(e.style.display="block")})},5e3))})},5e3),document.addEventListener("DOMContentLoaded",function(){const t=document.querySelectorAll(".modelViewerBlock:not(.elementor)");window.domRendered||(window.domRendered=!0,t.forEach(t=>{const n={...t.dataset};setTimeout(()=>{Object.keys(t.dataset).forEach(e=>delete t.dataset[e])},10);const r=((e,t=null)=>{if("string"!=typeof e||""===e.trim())return t;try{return JSON.parse(e)}catch(e){return console.warn("jsonParse:",e instanceof Error?e.message:e),t}})(n.attributes);if(!r)return;const{is_not_compatible:o,placement:i}=r;["product-gallery"].includes(i)?o?(t=>{const n=window.bp3dBlock?.selectors;if(!n)return;const{gallery:r}=n,o=document.querySelector(r),{position:i}=t,s=n=>{_(n).render((0,e.createElement)(T,{attributes:t}))};switch(i){case"replace":{const e=document.querySelector(r);e&&s(e);break}case"bottom":{const e=document.createElement("div");setTimeout(()=>{o?.appendChild(e),s(e)},500);break}case"top":{const e=document.createElement("div");o?.prepend(e),s(e);break}}})(r):q(t).render((0,e.createElement)(T,{attributes:r})):("product-gallery-inline"===i||"shortcode"===i)&&q(t).render((0,e.createElement)(T,{attributes:r}))}))})})()})();

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.