1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8236],{57088:function(e,t,n){"use strict";var r=n(9008),i=n(11163),s=n(8677),o=n(85893);t.Z=function(e){var t=e.data,n=e.locale,u=(0,i.useRouter)();if(!t)return null;var l=null!==u&&void 0!==u&&u.asPath?"".concat("https://www.tpipolene.com").concat(u.asPath):"",a=(0,s.VQ)(t.trans,n,"canonical_url")||(null===t||void 0===t?void 0:t.canonical_url)||l,c=(null===t||void 0===t?void 0:t.seo_url)||l||a,d=(0,s.VQ)(t.trans,n,"seo_keyword")||(null===t||void 0===t?void 0:t.seo_keyword),h=(0,s.VQ)(t.trans,n,"seo_description")||(0,s.VQ)(t.trans,n,"short_description")||(null===t||void 0===t?void 0:t.description)||(0,s.VQ)(t.trans,n,"name");function p(e){return e.replace(/<script.*?>/gi,"").replace(/<\/script>/gi,"")}function _(e){return e?e.replace(/<[^>]*>/g,""):""}return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(r.default,{children:[(0,o.jsx)("meta",{name:"description",content:_(h)}),d&&(0,o.jsx)("meta",{name:"keywords",content:d}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),(0,o.jsx)("meta",{property:"og:title",content:(0,s.VQ)(t.trans,n,"seo_title")||(0,s.VQ)(t.trans,n,"title")||(0,s.VQ)(t.trans,n,"name")||(null===t||void 0===t?void 0:t.title)}),(0,o.jsx)("meta",{property:"og:description",content:_(h)}),(0,o.jsx)("meta",{property:"og:image",content:null===t||void 0===t?void 0:t.seo_image}),(0,o.jsx)("meta",{property:"og:url",content:c}),(0,o.jsx)("meta",{property:"og:site_name",content:"TPI Polene"}),(0,o.jsx)("meta",{name:"twitter:image",content:null===t||void 0===t?void 0:t.seo_image}),(0,o.jsx)("meta",{name:"twitter:title",content:(0,s.VQ)(t.trans,n,"seo_title")||(null===t||void 0===t?void 0:t.title)}),(0,o.jsx)("meta",{name:"twitter:description",content:_(h)}),(0,o.jsx)("meta",{name:"twitter:site",content:"TPI Polene"}),(0,o.jsx)("meta",{name:"twitter:creator",content:"TPI Polene"}),(0,o.jsx)("link",{rel:"canonical",href:a}),(null===t||void 0===t?void 0:t.header_script)&&""!=(null===t||void 0===t?void 0:t.header_script)&&(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:p(t.header_script)}})]}),(0,o.jsx)(o.Fragment,{children:(null===t||void 0===t?void 0:t.body_script)&&""!=(null===t||void 0===t?void 0:t.body_script)&&(0,o.jsx)("noscript",{dangerouslySetInnerHTML:{__html:p(t.body_script)}})})]})}},49784:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return h}});var r=n(65988),i=(n(94184),n(10867)),s=n(11163),o=n(35005),u=n(67294),l=n(1124),a=n(57088),c=n(59618),d=n(85893),h=!0;t.default=function(e){(0,s.useRouter)();var t=(0,i.$G)(["common","product"]).t,n=(0,u.useState)(!1),h=n[0],p=n[1];return(0,u.useEffect)((function(){document.getElementsByClassName("main-layout")[0].style.backgroundColor="#Ffff"}),[]),(0,d.jsxs)(l.Z,{title:"Home",page_name:"Home",pages:"home",noneShadow:!0,openNavCate:!0,children:[(0,d.jsx)(a.Z,{data:!0}),(0,d.jsx)("div",{className:"jsx-1370583177 test-area",children:(0,d.jsx)(r.default,{id:"1370583177",children:[".test-area.jsx-1370583177{height:700px;}"]})}),(0,d.jsx)(o.Z,{variant:"primary",onClick:function(){return p(!0)},children:"Launch demo modal"}),(0,d.jsx)(c.Z,{t:t,show:h,onClose:function(){return p(!1)}})]})}},90571:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/test/TestModal",function(){return n(49784)}])},69887:function(e){"use strict";e.exports=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}},44287:function(e,t,n){"use strict";var r=n(34155);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}t.__esModule=!0,t.default=void 0;var s="undefined"!==typeof r&&r.env&&!0,o=function(e){return"[object String]"===Object.prototype.toString.call(e)},u=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,u=void 0===i?s:i,a=t.isBrowser,c=void 0===a?"undefined"!==typeof window:a;l(o(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",l("boolean"===typeof u,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=u,this._isBrowser=c,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var d=this._isBrowser&&document.querySelector('meta[property="csp-nonce"]');this._nonce=d?d.getAttribute("content"):null}var t,n,r,u=e.prototype;return u.setOptimizeForSpeed=function(e){l("boolean"===typeof e,"`setOptimizeForSpeed` accepts a boolean"),l(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},u.isOptimizeForSpeed=function(){return this._optimizeForSpeed},u.inject=function(){var e=this;if(l(!this._injected,"sheet already injected"),this._injected=!0,this._isBrowser&&this._optimizeForSpeed)return this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),void(this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0));this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"===typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},u.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},u.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},u.insertRule=function(e,t){if(l(o(e),"`insertRule` accepts only strings"),!this._isBrowser)return"number"!==typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!==typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(i){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},u.replaceRule=function(e,t){if(this._optimizeForSpeed||!this._isBrowser){var n=this._isBrowser?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];l(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},u.deleteRule=function(e){if(this._isBrowser)if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];l(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}else this._serverSheet.deleteRule(e)},u.flush=function(){this._injected=!1,this._rulesCount=0,this._isBrowser?(this._tags.forEac
1h((function(e){return e&&e.parentNode.removeChild(e)})),this._tags=[]):this._serverSheet.cssRules=[]},u.cssRules=function(){var e=this;return this._isBrowser?this._tags.reduce((function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,(function(t){return t.cssText===e._deletedRulePlaceholder?null:t}))):t.push(null),t}),[]):this._serverSheet.cssRules},u.makeStyleTag=function(e,t,n){t&&l(o(t),"makeStyleTag acceps only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},t=e,(n=[{key:"length",get:function(){return this._rulesCount}}])&&i(t.prototype,n),r&&i(t,r),e}();function l(e,t){if(!e)throw new Error("StyleSheet: "+t+".")}t.default=u},27884:function(e,t,n){"use strict";t.default=o;var r,i=n(67294);var s=new(((r=n(28122))&&r.__esModule?r:{default:r}).default);function o(e){return"undefined"===typeof window?(s.add(e),null):((0,i.useLayoutEffect)((function(){return s.add(e),function(){s.remove(e)}}),[e.id,String(e.dynamic)]),null)}o.dynamic=function(e){return e.map((function(e){var t=e[0],n=e[1];return s.computeId(t,n)})).join(" ")}},28122:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(69887)),i=s(n(44287));function s(e){return e&&e.__esModule?e:{default:e}}var o=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,s=t.optimizeForSpeed,o=void 0!==s&&s,u=t.isBrowser,l=void 0===u?"undefined"!==typeof window:u;this._sheet=r||new i.default({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"===typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._isBrowser=l,this._fromServer=void 0,this._indices={},this._instancesCounts={},this.computeId=this.createComputeId(),this.computeSelector=this.createComputeSelector()}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._isBrowser&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce((function(e,t){return e[t]=0,e}),{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts)this._instancesCounts[r]+=1;else{var s=i.map((function(e){return t._sheet.insertRule(e)})).filter((function(e){return-1!==e}));this._indices[r]=s,this._instancesCounts[r]=1}},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw new Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach((function(e){return t._sheet.deleteRule(e)})),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={},this.computeId=this.createComputeId(),this.computeSelector=this.createComputeSelector()},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map((function(t){return[t,e._fromServer[t]]})):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map((function(t){return[t,e._indices[t].map((function(e){return n[e].cssText})).join(e._optimizeForSpeed?"":"\n")]})).filter((function(e){return Boolean(e[1])})))},t.createComputeId=function(){var e={};return function(t,n){if(!n)return"jsx-"+t;var i=String(n),s=t+i;return e[s]||(e[s]="jsx-"+(0,r.default)(t+"-"+i)),e[s]}},t.createComputeSelector=function(e){void 0===e&&(e=/__jsx-style-dynamic-selector/g);var t={};return function(n,r){this._isBrowser||(r=r.replace(/\/style/gi,"\\/style"));var i=n+r;return t[i]||(t[i]=r.replace(e,n)),t[i]}},t.getIdAndRules=function(e){var t=this,n=e.children,r=e.dynamic,i=e.id;if(r){var s=this.computeId(i,r);return{styleId:s,rules:Array.isArray(n)?n.map((function(e){return t.computeSelector(s,e)})):[this.computeSelector(s,n)]}}return{styleId:this.computeId(i),rules:Array.isArray(n)?n:[n]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce((function(e,t){return e[t.id.slice(2)]=t,e}),{})},e}();t.default=o},65988:function(e,t,n){e.exports=n(27884)}},function(e){e.O(0,[9774,4038,908,5040,4917,1124,9618,2888,179],(function(){return t=90571,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.