PageSourceSearch

https://nucor.com/wp-content/themes/nc_tw/theme/blocks/nucor-pr-ne…/view.js?ver=93db1ce5203d276984b1

js nucor.com collected 2026-10-02 04:36:02 UTC 64,560 bytes, 1 lines download raw bytes

vendor: 1,809 bytes, line 1
1(()=>{"use strict";var e={83:(e,t,n)=>{n.d(t,{A:()=>yt});var r={};function s(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>fe,hasStandardBrowserEnv:()=>he,hasStandardBrowserWebWorkerEnv:()=>me,navigator:()=>pe,origin:()=>xe});const{toString:o}=Object.prototype,{getPrototypeOf:i}=Object,{iterator:a,toStringTag:l}=Symbol,c=(d=Object.create(null),e=>{const t=o.call(e);return d[t]||(d[t]=t.slice(8,-1).toLowerCase())});var d;const u=e=>(e=e.toLowerCase(),t=>c(t)===e),f=e=>t=>typeof t===e,{isArray:p}=Array,h=f("undefined"),m=u("ArrayBuffer"),x=f("string"),g=f("function"),b=f("number"),y=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==c(e))return!1;const t=i(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||l in e||a in e)},v=u("Date"),j=u("File"),N=u("Blob"),S=u("FileList"),E=u("URLSearchParams"),[R,O,T,A]=["ReadableStream","Request","Response","Headers"].map(u);function C(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,s;if("object"!=typeof e&&(e=[e]),p(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let i;for(r=0;r<o;r++)i=s[r],t.call(null,e[i],i,e)}}function k(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,s=n.length;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,P=e=>!h(e)&&e!==_,D=(U="undefined"!=typeof Uint8Array&&i(Uint8Array),e=>U&&e instanceof U);var U;const L=u("HTMLFormElement"),F=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),B=u("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};C(n,(n,s)=>{let o;!1!==(o=t(n,s,e))&&(r[s]=o||n)}),Object.defineProperties(e,r)}
vendor: 8,797 bytes, line 1
1,q=u("AsyncFunction"),z=(I="function"==typeof setImmediate,W=g(_.postMessage),I?setImmediate:W?(H=`axios@${Math.random()}`,J=[],_.addEventListener("message",({source:e,data:t})=>{e===_&&t===H&&J.length&&J.shift()()},!1),e=>{J.push(e),_.postMessage(H,"*")}):e=>setTimeout(e));var I,W,H,J;const K="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_):"undefined"!=typeof process&&process.nextTick||z,V={isArray:p,isArrayBuffer:m,isBuffer:function(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=c(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:x,isNumber:b,isBoolean:e=>!0===e||!1===e,isObject:y,isPlainObject:w,isReadableStream:R,isRequest:O,isResponse:T,isHeaders:A,isUndefined:h,isDate:v,isFile:j,isBlob:N,isRegExp:B,isFunction:g,isStream:e=>y(e)&&g(e.pipe),isURLSearchParams:E,isTypedArray:D,isFileList:S,forEach:C,merge:function e(){const{caseless:t}=P(this)&&this||{},n={},r=(r,s)=>{const o=t&&k(n,s)||s;w(n[o])&&w(r)?n[o]=e(n[o],r):w(r)?n[o]=e({},r):p(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&C(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(C(t,(t,r)=>{n&&g(t)?e[r]=s(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let s,o,a;const l={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&i(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(p(e))return e;let t=e.length;if(!b(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[a]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:L,hasOwnProperty:F,hasOwnProp:F,reduceDescriptors:M,freezeMethods:e=>{M(e,(t,n)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];g(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:k,global:_,isContextDefined:P,isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[l]&&e[a])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(y(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const s=p(e)?[]:{};return C(e,(e,t)=>{const o=n(e,r+1);!h(o)&&(s[t]=o)}),t[r]=void 0,s}}return e};return n(e,0)},isAsyncFn:q,isThenable:e=>e&&(y(e)||g(e))&&g(e.then)&&g(e.catch),setImmediate:z,asap:K,isIterable:e=>null!=e&&g(e[a])};function $(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}V.inherits($,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:V.toJSONObject(this.config),code:this.code,status:this.status}}});const X=$.prototype,G={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{G[e]={value:e}}),Object.defineProperties($,G),Object.defineProperty(X,"isAxiosError",{value:!0}),$.from=(e,t,n,r,s,o)=>{const i=Object.create(X);return V.toFlatObject(e,i,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),$.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Q=$;function Y(e){return V.isPlainObject(e)||V.isArray(e)}function Z(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function ee(e,t,n){return e?e.concat(t).map(function(e,t){return e=Z(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const te=V.toFlatObject(V,{},null,function(e){return/^is[A-Z]/.test(e)}),ne=function(e,t,n){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=V.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!V.isUndefined(t[e])})).metaTokens,s=n.visitor||c,o=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(s))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(V.isDate(e))return e.toISOString();if(V.isBoolean(e))return e.toString();if(!a&&V.isBlob(e))throw new Q("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(e)||V.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,s){let a=e;if(e&&!s&&"object"==typeof e)if(V.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(V.isArray(e)&&function(e){return V.isArray(e)&&!e.some(Y)}(e)||(V.isFileList(e)||V.endsWith(n,"[]"))&&(a=V.toArray(e)))return n=Z(n),a.forEach(function(e,r){!V.isUndefined(e)&&null!==e&&t.append(!0===i?ee([n],r,o):null===i?n:n+"[]",l(e))}),!1;return!!Y(e)||(t.append(ee(s,n,o),l(e)),!1)}const d=[],u=Object.assign(te,{defaultVisitor:c,convertValue:l,isVisitable:Y});if(!V.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!V.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),V.forEach(n,function(n,o){!0===(!(V.isUndefined(n)||null===n)&&s.call(t,n,V.isString(o)?o.trim():o,r,u))&&e(n,r?r.concat(o):[o])}),d.pop()}}(e),t};function re(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function se(e,t){this._pairs=[],e&&ne(e,this,t)}const oe=se.prototype;oe.append=function(e,t){this._pairs.push([e,t])},oe.toString=function(e){const t=e?function(t){return e.call(this,t,re)}:re;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const ie=se;function ae(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function le(e,t,n){if(!t)return e;const r=n&&n.encode||ae;V.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(o=s?s(t,n):V.isURLSearchParams(t)?t.toString():new ie(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const ce=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){V.forEach(this.handlers,function(t){null!==t&&e(t)})}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ue={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ie,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},fe="undefined"!=typeof window&&"undefined"!=typeof document,pe="object"==typeof navigator&&navigator||void 0,he=fe&&(!pe||["ReactNative","NativeScript","NS"].indexOf(pe.product)<0),me="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,xe=fe&&window.location.href||"http://localhost",ge={...r,...ue},be=function(e){function t(e,n,r,s){let o=e[s++];if("__proto__"===o)return!0;const i=Number.isFinite(+o),a=s>=e.length;return o=!o&&V.isArray(r)?r.length:o,a?(V.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&V.isObject(r[o])||(r[o]=[]),t(e,n,r[o],s)&&
vendor: 4,663 bytes, line 1
1V.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}(r[o])),!i)}if(V.isFormData(e)&&V.isFunction(e.entries)){const n={};return V.forEachEntry(e,(e,r)=>{t(function(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null},ye={transitional:de,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,s=V.isObject(e);if(s&&V.isHTMLForm(e)&&(e=new FormData(e)),V.isFormData(e))return r?JSON.stringify(be(e)):e;if(V.isArrayBuffer(e)||V.isBuffer(e)||V.isStream(e)||V.isFile(e)||V.isBlob(e)||V.isReadableStream(e))return e;if(V.isArrayBufferView(e))return e.buffer;if(V.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ne(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ge.isNode&&V.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=V.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ne(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||r?(t.setContentType("application/json",!1),function(e){if(V.isString(e))try{return(0,JSON.parse)(e),V.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ye.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(V.isResponse(e)||V.isReadableStream(e))return e;if(e&&V.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Q.from(e,Q.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],e=>{ye.headers[e]={}});const we=ye,ve=V.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),je=Symbol("internals");function Ne(e){return e&&String(e).trim().toLowerCase()}function Se(e){return!1===e||null==e?e:V.isArray(e)?e.map(Se):String(e)}function Ee(e,t,n,r,s){return V.isFunction(r)?r.call(this,t,n):(s&&(t=n),V.isString(t)?V.isString(r)?-1!==t.indexOf(r):V.isRegExp(r)?r.test(t):void 0:void 0)}class Re{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function s(e,t,n){const s=Ne(t);if(!s)throw new Error("header name must be a non-empty string");const o=V.findKey(r,s);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Se(e))}const o=(e,t)=>V.forEach(e,(e,n)=>s(e,n,t));if(V.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(V.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,s;return e&&e.split("\n").forEach(function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),r=e.substring(s+1).trim(),!n||t[n]&&ve[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(V.isObject(e)&&V.isIterable(e)){let n,r,s={};for(const t of e){if(!V.isArray(t))throw TypeError("Object iterator must return a key-value pair");s[r=t[0]]=(n=s[r])?V.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(s,t)}else null!=e&&s(t,e,n);return this}get(e,t){if(e=Ne(e)){const n=V.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(V.isFunction(t))return t.call(this,e,n);if(V.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ne(e)){const n=V.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ee(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function s(e){if(e=Ne(e)){const s=V.findKey(n,e);!s||t&&!Ee(0,n[s],s,t)||(delete n[s],r=!0)}}return V.isArray(e)?e.forEach(s):s(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const s=t[n];e&&!Ee(0,this[s],s,e,!0)||(delete this[s],r=!0)}return r}normalize(e){const t=this,n={};
vendor: 9,360 bytes, line 1
1return V.forEach(this,(r,s)=>{const o=V.findKey(n,s);if(o)return t[o]=Se(r),void delete t[s];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(s):String(s).trim();i!==s&&delete t[s],t[i]=Se(r),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return V.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&V.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[je]=this[je]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ne(e);t[r]||(function(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,s){return this[r].call(this,t,e,n,s)},configurable:!0})})}(n,e),t[r]=!0)}return V.isArray(e)?e.forEach(r):r(e),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),V.reduceDescriptors(Re.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),V.freezeMethods(Re);const Oe=Re;function Te(e,t){const n=this||we,r=t||n,s=Oe.from(r.headers);let o=r.data;return V.forEach(e,function(e){o=e.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Ae(e){return!(!e||!e.__CANCEL__)}function Ce(e,t,n){Q.call(this,null==e?"canceled":e,Q.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(Ce,Q,{__CANCEL__:!0});const ke=Ce;function _e(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Q("Request failed with status code "+n.status,[Q.ERR_BAD_REQUEST,Q.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Pe=(e,t,n=3)=>{let r=0;const s=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s,o=0,i=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=r[i];s||(s=l),n[o]=a,r[o]=l;let d=i,u=0;for(;d!==o;)u+=n[d++],d%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-s<t)return;const f=c&&l-c;return f?Math.round(1e3*u/f):void 0}}(50,250);return function(e,t){let n,r,s=0,o=1e3/t;const i=(t,o=Date.now())=>{s=o,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-s;a>=o?i(e,t):(n=e,r||(r=setTimeout(()=>{r=null,i(n)},o-a)))},()=>n&&i(n)]}(n=>{const o=n.loaded,i=n.lengthComputable?n.total:void 0,a=o-r,l=s(a);r=o,e({loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})},n)},De=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ue=e=>(...t)=>V.asap(()=>e(...t)),Le=ge.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ge.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ge.origin),ge.navigator&&/(msie|trident)/i.test(ge.navigator.userAgent)):()=>!0,Fe=ge.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];V.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),V.isString(r)&&i.push("path="+r),V.isString(s)&&i.push("domain="+s),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Be(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Me=e=>e instanceof Oe?{...e}:e;function qe(e,t){t=t||{};const n={};function r(e,t,n,r){return V.isPlainObject(e)&&V.isPlainObject(t)?V.merge.call({caseless:r},e,t):V.isPlainObject(t)?V.merge({},t):V.isArray(t)?t.slice():t}function s(e,t,n,s){return V.isUndefined(t)?V.isUndefined(e)?void 0:r(void 0,e,0,s):r(e,t,0,s)}function o(e,t){if(!V.isUndefined(t))return r(void 0,t)}function i(e,t){return V.isUndefined(t)?V.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,s,o){return o in t?r(n,s):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t,n)=>s(Me(e),Me(t),0,!0)};return V.forEach(Object.keys(Object.assign({},e,t)),function(r){const o=l[r]||s,i=o(e[r],t[r],r);V.isUndefined(i)&&o!==a||(n[r]=i)}),n}const ze=e=>{const t=qe({},e);let n,{data:r,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=Oe.from(a),t.url=le(Be(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),V.isFormData(r))if(ge.hasStandardBrowserEnv||ge.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map(e=>e.trim()).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(ge.hasStandardBrowserEnv&&(s&&V.isFunction(s)&&(s=s(t)),s||!1!==s&&Le(t.url))){const e=o&&i&&Fe.read(i);e&&a.set(o,e)}return t},Ie="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=ze(e);let s=r.data;const o=Oe.from(r.headers).normalize();let i,a,l,c,d,{responseType:u,onUploadProgress:f,onDownloadProgress:p}=r;function h(){c&&c(),d&&d(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function x(){if(!m)return;const r=Oe.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());_e(function(e){t(e),h()},function(e){n(e),h()},{data:u&&"text"!==u&&"json"!==u?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(x)},m.onabort=function(){m&&(n(new Q("Request aborted",Q.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Q("Network Error",Q.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const s=r.transitional||de;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Q(t,s.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,m)),m=null},void 0===s&&o.setContentType(null),"setRequestHeader"in m&&V.forEach(o.toJSON(),function(e,t){m.setRequestHeader(t,e)}),V.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),u&&"json"!==u&&(m.responseType=r.responseType),p&&([l,d]=Pe(p,!0),m.addEventListener("progress",l)),f&&m.upload&&([a,c]=Pe(f),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(i=t=>{m&&(n(!t||t.type?new ke(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===ge.protocols.indexOf(g)?n(new Q("Unsupported protocol "+g+":",Q.ERR_BAD_REQUEST,e)):m.send(s||null)})},We=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const s=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Q?t:new ke(t instanceof Error?t.message:t))}};let o=t&&setTimeout(()=>{o=null,s(new Q(`timeout ${t} of ms exceeded`,Q.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(s):e.removeEventListener("abort",s)}),e=null)};e.forEach(e=>e.addEventListener("abort",s));const{signal:a}=r;return a.unsubscribe=()=>V.asap(i),a}},He=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,s=0;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},Je=(e,t,n,r)=>{const s=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*He(n,t)}(e,t);let o,i=0,a=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await s.next();if(t)return a(),void e.close();let o=r.byteLength;if(n){let e=i+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),s.return())},{highWaterMark:2})},Ke="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ve=Ke&&"function"==typeof ReadableStream,$e=Ke&&("function"==typeof TextEncoder?(Xe=new TextEncoder,e=>Xe.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Xe;const Ge=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Qe=Ve&&Ge(()=>{let e=!1;
1const t=new Request(ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ye=Ve&&Ge(()=>V.isReadableStream(new Response("").body)),Ze={stream:Ye&&(e=>e.body)};var et;Ke&&(et=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Ze[e]&&(Ze[e]=V.isFunction(et[e])?t=>t[e]():(t,n)=>{throw new Q(`Response type '${e}' is not supported`,Q.ERR_NOT_SUPPORT,n)})}));const tt={http:null,xhr:Ie,fetch:Ke&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:d,withCredentials:u="same-origin",fetchOptions:f}=ze(e);c=c?(c+"").toLowerCase():"text";let p,h=We([s,o&&o.toAbortSignal()],i);const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let x;try{if(l&&Qe&&"get"!==n&&"head"!==n&&0!==(x=await(async(e,t)=>{const n=V.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e)){const t=new Request(ge.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return V.isArrayBufferView(e)||V.isArrayBuffer(e)?e.byteLength:(V.isURLSearchParams(e)&&(e+=""),V.isString(e)?(await $e(e)).byteLength:void 0)})(t):n})(d,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(V.isFormData(r)&&(e=n.headers.get("content-type"))&&d.setContentType(e),n.body){const[e,t]=De(x,Pe(Ue(l)));r=Je(n.body,65536,e,t)}}V.isString(u)||(u=u?"include":"omit");const s="credentials"in Request.prototype;p=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:s?u:void 0});let o=await fetch(p,f);const i=Ye&&("stream"===c||"response"===c);if(Ye&&(a||i&&m)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=o[t]});const t=V.toFiniteNumber(o.headers.get("content-length")),[n,r]=a&&De(t,Pe(Ue(a),!0))||[];o=new Response(Je(o.body,65536,n,()=>{r&&r(),m&&m()}),e)}c=c||"text";let g=await Ze[V.findKey(Ze,c)||"text"](o,e);return!i&&m&&m(),await new Promise((t,n)=>{_e(t,n,{data:g,headers:Oe.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:p})})}catch(t){if(m&&m(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Q("Network Error",Q.ERR_NETWORK,e,p),{cause:t.cause||t});throw Q.from(t,t&&t.code,e,p)}})};V.forEach(tt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const nt=e=>`- ${e}`,rt=e=>V.isFunction(e)||null===e||!1===e,st=e=>{e=V.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!rt(n)&&(r=tt[(t=String(n)).toLowerCase()],void 0===r))throw new Q(`Unknown adapter '${t}'`);if(r)break;s[t||"#"+o]=r}if(!r){const e=Object.entries(s).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let n=t?e.length>1?"since :\n"+e.map(nt).join("\n"):" "+nt(e[0]):"as no adapter specified";throw new Q("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function ot(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ke(null,e)}function it(e){return ot(e),e.headers=Oe.from(e.headers),e.data=Te.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),st(e.adapter||we.adapter)(e).then(function(t){return ot(e),t.data=Te.call(e,e.transformResponse,t),t.headers=Oe.from(t.headers),t},function(t){return Ae(t)||(ot(e),t&&t.response&&(t.response.data=Te.call(e,e.transformResponse,t.response),t.response.headers=Oe.from(t.response.headers))),Promise.reject(t)})}const at="1.10.0",lt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{lt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ct={};lt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+at+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,o)=>{if(!1===e)throw new Q(r(s," has been removed"+(t?" in "+t:"")),Q.ERR_DEPRECATED);return t&&!ct[s]&&(ct[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,o)}},lt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}
1`),!0)};const dt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Q("options must be an object",Q.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new Q("option "+o+" must be "+n,Q.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Q("Unknown option "+o,Q.ERR_BAD_OPTION)}},validators:lt},ut=dt.validators;class ft{constructor(e){this.defaults=e||{},this.interceptors={request:new ce,response:new ce}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=qe(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:s}=t;void 0!==n&&dt.assertOptions(n,{silentJSONParsing:ut.transitional(ut.boolean),forcedJSONParsing:ut.transitional(ut.boolean),clarifyTimeoutError:ut.transitional(ut.boolean)},!1),null!=r&&(V.isFunction(r)?t.paramsSerializer={serialize:r}:dt.assertOptions(r,{encode:ut.function,serialize:ut.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),dt.assertOptions(t,{baseUrl:ut.spelling("baseURL"),withXsrfToken:ut.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&V.merge(s.common,s[t.method]);s&&V.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=Oe.concat(o,s);const i=[];let a=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let d,u=0;if(!a){const e=[it.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),d=e.length,c=Promise.resolve(t);u<d;)c=c.then(e[u++],e[u++]);return c}d=i.length;let f=t;for(u=0;u<d;){const e=i[u++],t=i[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=it.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=l.length;u<d;)c=c.then(l[u++],l[u++]);return c}getUri(e){return le(Be((e=qe(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}V.forEach(["delete","get","head","options"],function(e){ft.prototype[e]=function(t,n){return this.request(qe(n||{},{method:e,url:t,data:(n||{}).data}))}}),V.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,s){return this.request(qe(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ft.prototype[e]=t(),ft.prototype[e+"Form"]=t(!0)});const pt=ft;class ht{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,s){n.reason||(n.reason=new ke(e,r,s),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ht(function(t){e=t}),cancel:e}}}const mt=ht,xt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xt).forEach(([e,t])=>{xt[t]=e});const gt=xt,bt=function e(t){const n=new pt(t),r=s(pt.prototype.request,n);return V.extend(r,pt.prototype,n,{allOwnKeys:!0}),V.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(qe(t,n))},r}(we);bt.Axios=pt,bt.CanceledError=ke,bt.CancelToken=mt,bt.isCancel=Ae,bt.VERSION=at,bt.toFormData=ne,bt.AxiosError=Q,bt.Cancel=bt.CanceledError,bt.all=function(e){return Promise.all(e)},bt.spread=function(e){return function(t){return e.apply(null,t)}},bt.isAxiosError=function(e){return V.isObject(e)&&!0===e.isAxiosError},bt.mergeConfig=qe,bt.AxiosHeaders=Oe,bt.formToJSON=e=>be(V.isHTMLForm(e)?new FormData(e):e),bt.getAdapter=st,bt.HttpStatusCode=gt,bt.default=bt;const yt=bt},609:e=>{e.exports=window.React},790:e=>{e.exports=window.ReactJSXRuntime},826:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(609),s=n(83),o=n(790);function i(e){const t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+"/"+("0"+t.getDate()).slice(-2)+"/"+t.getFullYear()}const a=function({keyInfo:e,ajaxUrl:t,postPerPage:n=20,postsCoverImage:a=null}){const[l,c]=(0,r.useState)([]),[d,u]=(0,r.useState)([]),[f,p]=(0,r.useState)(null),[h,m]=(0,r.useState)(0),[x,g]=(0,r.useState)(0),[b]=(0,r.useState)(n),[y,w]=(0,r.useState)(!1),[v,j]=(0,r.useState)(""),N=Math.ceil(h/b);(0,r.useEffect)(()=>{s.A.get(t,{params:{action:"nucor_pr_newswire_ajax_fetch_action",nonce:e}}).then(e=>{e.data.success&&(c(e.data.data.posts),m(e.data.data.matching_count))})},[t,e]),(0,r.useEffect)(()=>{l.length>1&&c(e=>[...e].sort((e,t)=>new Date(t.releaseDate)-new Date(e.releaseDate)))},[l]);const S=e=>{e>=0&&e<N&&g(e)},E=()=>{const[e,t]=(0,r.useState)("");return 0==y?(0,o.jsx)("input",{className:"flex-1 form-input border-cool-gray-300 border block w-full transition duration-150 ease-in-out sm:text-sm sm:leading-5 px-2",style:{height:"44px",marginTop:"5px"},placeholder:"Search...",value:e,onChange:e=>{const n=e.target.value;if(t(n),""===n.trim())return u([]),p(null),void g(0);const r=l.filter(e=>e.headline.toLowerCase().includes(n.toLowerCase()));p(n),u(r),g(0)}}):(0,o.jsx)("div",{className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"340px",height:"30px"}})};return(0,o.jsxs)("div",{className:"mx-auto max-w-screen-xl",children:[(()=>{const[e,t]=(0,r.useState)(""),[n,s]=(0,r.useState)("");return(0,o.jsxs)("div",{className:"flex flex-col md:flex-row w-full lg:gap-8 gap-2 p-4 mb-4 sm:space-x-8  list-filters sm:rounded-lg",children:[(0,o.jsx)("div",{className:"flex  shadow-sm w-full",children:E()}),(0,o.jsx)("div",{className:"block w-1/3 p-1",style:{height:"6px"},children:" "}),0==y?(0,o.jsxs)("div",{className:"flex items-end  shadow-sm w-full m-0",children:[(0,o.jsx)("input",{type:"date",style:{minHeight:"38px",minWidth:"110px"},placeholder:"Start date...",className:"flex-1 form-input border-gray-300 border-[1px] border-solid block w-full transition duration-150 ease-in-out sm:text-sm sm:leading-5 px-2",value:e,onChange:e=>t(e.target.value)}),(0,o.jsx)("span",{className:"px-1",children:"to"}),(0,o.jsx)("input",{type:"date",style:{minHeight:"38px",minWidth:"110px"},placeholder:"End date...",className:"flex-1 form-input border-gray-300 border-[1px] border-solid block w-full transition duration-150 ease-in-out sm:text-sm sm:leading-5 px-2",value:n,onChange:e=>s(e.target.value)})]}):(0,o.jsxs)("div",{className:"flex items-end  shadow-sm w-full m-0 gap-4",children:[(0,o.jsx)("div",{className:"animate-pulse bg-gray-200 rounded",style:{width:"220px",height:"28px"},children:" "}),(0,o.jsx)("div",{className:"animate-pulse bg-gray-200 rounded mx-4",style:{width:"20px",height:"28px"},children:" "}),(0,o.jsx)("div",{className:"animate-pulse bg-gray-200 rounded",style:{width:"220px",height:"28px"},children:" "})]}),0==y?(0,o.jsxs)("div",{class:"flex w-full lg:w-1/3 gap-2 ",children:[(0,o.jsx)("button",{type:"button",className:"mt-2 nucor-pr-news-button-v3",onClick:()=>
1{if(!e&&!n)return u([]),p(null),void g(0);const t=l.filter(t=>{const r=new Date(t.releaseDate),s=e?new Date(e):null,o=n?new Date(n):null;return s&&o?r>=s&&r<=o:s?r>=s:!o||r<=o});u(t),p("date"),g(0)},children:"Search"}),(0,o.jsx)("button",{type:"button",className:"mt-2 nucor-pr-news-button-v3",onClick:()=>{t(""),s(""),u([]),p(null),g(0)},children:"Reset"})]}):(0,o.jsxs)("div",{class:"flex w-full lg:w-1/3 gap-2 ",children:[(0,o.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"100px",height:"28px"}}),(0,o.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"100px",height:"28px"}})]})]})})(),(0,o.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 sm:grid-cols-2  p-4 gap-10",children:[!y&&!v&&(null==f||""===f)&&d.length<=0&&l.length>0&&l.slice(x*b,x*b+b).map((e,t)=>(0,o.jsxs)("div",{className:"not-prose rounded overflow-hidden shadow-lg group ",children:[(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsxs)("a",{href:"?article="+e.post_url,children:[(0,o.jsx)("img",{className:"w-full  ",src:a,alt:e.headline}),(0,o.jsx)("div",{className:"hover:bg-transparent transition duration-300 absolute bottom-0 top-0 right-0 left-0 bg-gray-900 opacity-25 group-hover:opacity-40"})]}),(0,o.jsx)("a",{href:"?article="+e.post_url,children:(0,o.jsx)("div",{className:"absolute bottom-0 left-0 transition duration-500 ease-in-out font-semibold uppercase text-base text-white bg-green-800 px-2 py-1 group-hover:text-black",children:"Article"})}),(0,o.jsx)("div",{class:"text-sm absolute top-0 right-0 bg-green-800 p-2 text-white   flex flex-col items-center justify-center  transition duration-500 ease-in-out",children:i(e.releaseDate)})]}),(0,o.jsx)("div",{className:"px-6 py-4",children:(0,o.jsx)("a",{href:"?article="+e.post_url,className:"font-semibold text-lg inline-block transition duration-500 ease-in-out group-hover:text-green-600",children:e.headline})})]},t)),y||v||null===f&&""===f||!(d.length>0)?!y&&!v&&null!=f&&(0,o.jsx)("div",{className:"bg-white",children:(0,o.jsx)("div",{className:"px-6 py-4 whitespace-no-wrap text-sm leading-5 text-cool-gray-900",colSpan:"2",children:(0,o.jsx)("div",{className:"flex items-center justify-center space-x-2",children:(0,o.jsx)("span",{className:"py-8 text-xl font-medium font-med text-cool-gray-400",children:"No news found..."})})})}):d.slice(x*b,x*b+b).map((e,t)=>(0,o.jsxs)("div",{className:"not-prose rounded overflow-hidden shadow-lg group ",children:[(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsxs)("a",{href:"?article="+e.post_url,children:[(0,o.jsx)("img",{className:"w-full  ",src:a,alt:e.headline}),(0,o.jsx)("div",{className:"hover:bg-transparent transition duration-300 absolute bottom-0 top-0 right-0 left-0 bg-gray-900 opacity-25 group-hover:opacity-40"})]}),(0,o.jsx)("a",{href:"?article="+e.post_url,children:(0,o.jsx)("div",{className:"absolute bottom-0 left-0 transition duration-500 ease-in-out font-semibold uppercase text-base text-white bg-green-800 px-2 py-1 group-hover:text-black",children:"Article"})}),(0,o.jsx)("div",{class:"text-sm absolute top-0 right-0 bg-green-800 p-2 text-white   flex flex-col items-center justify-center  transition duration-500 ease-in-out",children:i(e.releaseDate)})]}),(0,o.jsx)("div",{className:"px-6 py-4",children:(0,o.jsx)("a",{href:"?article="+e.post_url,className:"font-semibold text-lg inline-block transition duration-500 ease-in-out group-hover:text-green-600",children:e.headline})})]},t))]}),(0,o.jsx)("div",{className:"doc-nav-links p-4",children:(0,o.jsx)("div",{children:(0,o.jsxs)("nav",{role:"navigation","aria-label":"Pagination Navigation",className:"flex flex-col items-center justify-between pt-4",children:[y?(0,o.jsxs)("div",{id:"doc-nav-links-v3",className:"flex justify-between flex-1 w-full",children:[(0,o.jsx)("span",{className:"flex-1 flex items-center justify-start",children:(0,o.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"100px",height:"28px"}})}),(0,o.jsx)("span",{className:"flex-1 flex items-center justify-end",children:(0,o.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"100px",height:"28px"}})})]}):(0,o.jsxs)("div",{id:"doc-nav-links-v3",className:"flex justify-between flex-1 w-full",children:[(0,o.jsx)("span",{className:"flex-1 flex items-center justify-start",children:(0,o.jsx)("button",{onClick:()=>S(x-1),disabled:0===x,className:0!==x?"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 border-solid leading-5  hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150":"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid cursor-default leading-5  select-none",children:"« Previous"})}),(0,o.jsx)("span",{className:"flex-1 flex items-center justify-end",children:(0,o.jsx)("button",{onClick:()=>S(x+1),disabled:x>=N-1,className:x>=N-1?"relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid cursor-default leading-5  select-none":"relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 border-solid leading-5  hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150",children:"Next »"})})]}),(0,o.jsxs)("div",{className:"sm:flex-1 sm:flex sm:flex-col sm:items-center sm:justify-between text-center",children:[(0,o.jsx)("div",{id:"news_post_info",className:"w-full py-4",children:0==y?(0,o.jsxs)("p",{className:"text-sm text-gray-700 leading-5",children:[(0,o.jsx)("span",{children:"Showing "}),(0,o.jsx)("span",{className:"font-medium",children:l.length?x*b+1:0}),(0,o.jsx)("span",{children:" to "}),(0,o.jsx)("span",{className:"font-medium",children:x+1===N?h:(x+1)*b}),(0,o.jsx)("span",{children:" of "}),(0,o.jsx)("span",{className:"font-medium",children:h}),(0,o.jsx)("span",{children:" results"})]}):(0,o.jsx)("div",{className:"animate-pulse bg-gray-200 rounded",style:{height:"12px",width:"100%"}})}),(0,o.jsx)("div",{className:"w-full",children:(0,o.jsx)("span",{id:"news_tablet_pages_section",className:"relative z-0 inline-flex  shadow-sm",children:y?(0,o.jsxs)("div",{className:"flex items-center",children:[(0,o.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"40px",height:"28px"}}),Array.from({length:10}).map((e,t)=>(0,o.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"40px",height:"28px"}},t)),(0,o.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"40px",height:"28px"}})]}):(()=>
1{if(N<=1)return null;let e=Math.max(0,x-2),t=Math.min(N-1,x+2);t-e<9&&(0===e?t=Math.min(N-1,e+10-1):t===N-1&&(e=Math.max(0,t-10+1)));const n=[];e>0&&(n.push((0,o.jsx)("button",{onClick:()=>S(0),className:"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 border-r-0 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150",children:1},0)),e>1&&n.push((0,o.jsx)("span",{className:"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border   border-gray-300 cursor-default leading-5 select-none font-bold text-blue-600",children:"…"},"start-ellipsis")));for(let r=e;r<=t;r++)n.push((0,o.jsx)("button",{onClick:()=>S(r),className:r===x?"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 border-r-0 cursor-default leading-5 select-none font-bold text-blue-600":"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 border-r-0 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150",disabled:r===x,children:r+1},r));return t<N-1&&(t<N-2&&n.push((0,o.jsx)("span",{className:"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border   border-gray-300 cursor-default leading-5 select-none font-bold text-blue-600",children:"…"},"end-ellipsis")),n.push((0,o.jsx)("button",{onClick:()=>S(N-1),className:"flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 border-r-0 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150",children:N},N-1))),(0,o.jsxs)("div",{className:"flex items-center",children:[(0,o.jsx)("button",{onClick:()=>S(x-1),disabled:0===x,"aria-label":"Previous",className:0!==x?"relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid  leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid  leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150":"relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid border-r-0 cursor-default  leading-5",children:(0,o.jsx)("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,o.jsx)("path",{"fill-rule":"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z","clip-rule":"evenodd"})})}),n,(0,o.jsx)("button",{onClick:()=>S(x+1),disabled:x>=N-1,"aria-label":"Next",className:x>=N-1?"relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid cursor-default  leading-5":"relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid  leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150",children:(0,o.jsx)("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,o.jsx)("path",{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"})})})]})})()})})]})]})})})]})}}},t={};function n(r){var s=t[r];
1if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r=n(609),s=n(83);const o=window.ReactDOM;var i=n.n(o),a=n(790);const l=n(826).A;function c(e){const t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+"/"+("0"+t.getDate()).slice(-2)+"/"+t.getFullYear()}function d({keyInfo:e,ajaxUrl:t}){const[n,o]=(0,r.useState)([]),[i,l]=(0,r.useState)([]),[d,u]=(0,r.useState)(null),[f,p]=(0,r.useState)(0),[h,m]=(0,r.useState)(0),[x]=(0,r.useState)(20),[g,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(""),v=Math.ceil(f/x);(0,r.useEffect)(()=>{b(!0),w(""),s.A.get(t,{params:{action:"nucor_pr_newswire_ajax_fetch_action",nonce:e}}).then(e=>{e.data.success?(o(e.data.data.posts),p(e.data.data.matching_count)):w(e.data.data.message||"Error fetching posts")}).catch(()=>w("Request failed!")).finally(()=>b(!1))},[t,e]),(0,r.useEffect)(()=>{n.length>1&&o(e=>[...e].sort((e,t)=>new Date(t.releaseDate)-new Date(e.releaseDate)))},[n]);const j=e=>{e>=0&&e<v&&m(e)},N=()=>{const[e,t]=(0,r.useState)("");return 0==g?(0,a.jsx)("input",{className:"flex-1 form-input border-cool-gray-300 border block w-full transition duration-150 ease-in-out sm:text-sm sm:leading-5 px-2",style:{height:"44px",marginTop:"5px"},placeholder:"Search...",value:e,onChange:e=>{const r=e.target.value;if(t(r),""===r.trim())return l([]),u(null),void m(0);const s=n.filter(e=>e.headline.toLowerCase().includes(r.toLowerCase()));u(r),l(s),m(0)}}):(0,a.jsx)("div",{className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"340px",height:"30px"}})};return(0,a.jsxs)("div",{className:"mx-auto max-w-screen-2xl",children:[(()=>{const[e,t]=(0,r.useState)(""),[s,o]=(0,r.useState)("");return(0,a.jsxs)("div",{className:"flex flex-col md:flex-row w-full lg:gap-8 gap-2 pb-4 mb-4 sm:space-x-8 list-filters",children:[(0,a.jsx)("div",{className:"flex  shadow-sm w-full",children:N()}),(0,a.jsx)("div",{className:"block w-1/3 p-1",style:{height:"6px"},children:" "}),0==g?(0,a.jsxs)("div",{className:"flex items-end  shadow-sm w-full m-0",children:[(0,a.jsx)("input",{type:"date",style:{minHeight:"38px",minWidth:"110px"},placeholder:"Start date...",className:"flex-1 form-input border-gray-300 border-[1px] border-solid block w-full transition duration-150 ease-in-out sm:text-sm sm:leading-5 px-2",value:e,onChange:e=>t(e.target.value)}),(0,a.jsx)("span",{className:"px-1",children:"to"}),(0,a.jsx)("input",{type:"date",style:{minHeight:"38px",minWidth:"110px"},placeholder:"End date...",className:"flex-1 form-input border-gray-300 border-[1px] border-solid block w-full transition duration-150 ease-in-out sm:text-sm sm:leading-5 px-2",value:s,onChange:e=>o(e.target.value)})]}):(0,a.jsxs)("div",{className:"flex items-end  shadow-sm w-full m-0 gap-4",children:[(0,a.jsx)("div",{className:"animate-pulse bg-gray-200 rounded",style:{width:"220px",height:"28px"},children:" "}),(0,a.jsx)("div",{className:"animate-pulse bg-gray-200 rounded",style:{width:"220px",height:"28px"},children:" "})]}),0==g?(0,a.jsxs)("div",{class:"flex w-full lg:w-1/3 gap-2 ",children:[(0,a.jsx)("button",{type:"button",className:"mt-2 nucor-pr-news-button-v3",onClick:()=>{if(!e&&!s)return l([]),u(null),void m(0);const t=n.filter(t=>{const n=new Date(t.releaseDate),r=e?new Date(e):null,o=s?new Date(s):null;return r&&o?n>=r&&n<=o:r?n>=r:!o||n<=o});l(t),u("date"),m(0)},children:"Search"}),(0,a.jsx)("button",{type:"button",className:"mt-2 nucor-pr-news-button-v3",onClick:()=>{t(""),o(""),l([]),u(null),m(0)},children:"Reset"})]}):(0,a.jsxs)("div",{class:"flex w-full lg:w-1/3 gap-2 ",children:[(0,a.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"100px",height:"28px"}}),(0,a.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"100px",height:"28px"}})]})]})})(),(0,a.jsx)("div",{className:"not-prose mb-8",children:(0,a.jsx)("div",{id:"news_tablet_body",className:"align-middle min-w-full overflow-x-auto overflow-hidden",children:(0,a.jsxs)("table",{className:"min-w-full divide-y divide-gray-300 border-b b-gray-300 border-opacity-100",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"px-6 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Date"}),(0,a.jsx)("th",{className:"px-6 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Title"})]})}),(0,a.jsxs)("tbody",{className:"bg-white divide-y divide-gray-300 border-l border-r b-gray-300",children:[g&&Array.from({length:x}).map((e,t)=>(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",style:{width:"20%"},children:(0,a.jsx)("div",{className:"animate-pulse bg-gray-200 rounded",style:{height:"18px",width:"100%"}})}),(0,a.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:(0,a.jsx)("div",{className:"animate-pulse bg-gray-200 rounded",style:{height:"12px",width:"100%"}})})]})})),y&&(0,a.jsx)("div",{className:"text-red-500",children:y}),!g&&!y&&(null==d||""===d)&&i.length<=0&&n.length>0&&n.slice(h*x,h*x+x).map((e,t)=>(0,a.jsxs)("tr",{className:"bg-white hover:bg-green-100 transition",children:[(0,a.jsx)("td",{children:(0,a.jsx)("a",{href:"?article="+e.post_url,rel:"noopener noreferrer",className:"block text-black hover:text-green px-6 py-4 whitespace-no-wrap text-sm leading-5 text-cool-gray-900",title:e.headline,children:c(e.releaseDate)})}),(0,a.jsx)("td",{children:(0,a.jsx)("a",{href:"?article="+e.post_url,rel:"noopener noreferrer",className:"block text-black hover:text-green px-6 py-4 whitespace-no-wrap text-sm leading-5 text-cool-gray-900",title:e.headline,children:e.headline})})]},t)),g||y||null===d&&""===d||!(i.length>0)?!g&&!y&&null!=d&&(0,a.jsx)("tr",{className:"bg-white",children:(0,a.jsx)("td",{className:"px-6 py-4 whitespace-no-wrap text-sm leading-5 text-cool-gray-900",colSpan:"2",children:(0,a.jsx)("div",{className:"flex items-center justify-center space-x-2",children:(0,a.jsx)("span",{className:"py-8 text-xl font-medium font-med text-cool-gray-400",children:"No news found..."})})})}):i.slice(h*x,h*x+x).map((e,t)=>(0,a.jsxs)("tr",{className:"bg-white",children:[(0,a.jsx)("td",{className:"px-6 py-4 whitespace-no-wrap text-sm leading-5 text-cool-gray-900",children:c(e.releaseDate)}),(0,a.jsx)("td",{className:"px-6 py-4 whitespace-no-wrap text-sm leading-5 text-cool-gray-900",children:(0,a.jsx)("a",{href:"?article="+e.post_url,rel:"noopener noreferrer",className:"text-black hover:text-green",title:e.headline,children:e.headline})})]},t))]})]})})}),(0,a.jsx)("div",{className:"doc-nav-links",children:(0,a.jsx)("div",{children:(0,a.jsxs)("nav",{role:"navigation","aria-label":"Pagination Navigation",className:"flex flex-col items-center justify-between",children:[g?(0,a.jsxs)("div",{id:"doc-nav-links-v3",className:"flex justify-between flex-1 w-full",children:[(0,a.jsx)("span",{className:"flex-1 flex items-center justify-start",children:(0,a.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"100px",height:"28px"}})}),(0,a.jsx)("span",{className:"flex-1 flex items-center justify-end",children:(0,a.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"100px",height:"28px"}})})]}):(0,a.jsxs)("div",{id:"doc-nav-links-v3",className:"flex justify-between flex-1 w-full",children:[(0,a.jsx)("span",{className:"flex-1 flex items-center justify-start",children:(0,a.jsx)("button",{onClick:()=>
1j(h-1),disabled:0===h,className:0!==h?"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 border-solid leading-5  hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150":"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid cursor-default leading-5  select-none",children:"« Previous"})}),(0,a.jsx)("span",{className:"flex-1 flex items-center justify-end",children:(0,a.jsx)("button",{onClick:()=>j(h+1),disabled:h>=v-1,className:h>=v-1?"relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid cursor-default leading-5  select-none":"relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 border-solid leading-5  hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150",children:"Next »"})})]}),(0,a.jsxs)("div",{className:"sm:flex-1 sm:flex sm:flex-col sm:items-center sm:justify-between text-center",children:[(0,a.jsx)("div",{id:"news_post_info",className:"w-full py-4",children:0==g?(0,a.jsxs)("p",{className:"text-sm text-gray-700 leading-5",children:[(0,a.jsx)("span",{children:"Showing "}),(0,a.jsx)("span",{className:"font-medium",children:n.length?h*x+1:0}),(0,a.jsx)("span",{children:" to "}),(0,a.jsx)("span",{className:"font-medium",children:h+1===v?f:(h+1)*x}),(0,a.jsx)("span",{children:" of "}),(0,a.jsx)("span",{className:"font-medium",children:f}),(0,a.jsx)("span",{children:" results"})]}):(0,a.jsx)("div",{className:"animate-pulse bg-gray-200 rounded",style:{height:"12px",width:"100%"}})}),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("span",{id:"news_tablet_pages_section",className:"relative z-0 inline-flex  shadow-sm",children:g?(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"40px",height:"28px"}}),Array.from({length:10}).map((e,t)=>(0,a.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"40px",height:"28px"}},t)),(0,a.jsx)("div",{type:"button",className:"mt-2 animate-pulse bg-gray-200 rounded",style:{minWidth:"40px",height:"28px"}})]}):(()=>{if(v<=1)return null;let e=Math.max(0,h-2),t=Math.min(v-1,h+2);t-e<9&&(0===e?t=Math.min(v-1,e+10-1):t===v-1&&(e=Math.max(0,t-10+1)));const n=[];e>0&&(n.push((0,a.jsx)("button",{onClick:()=>j(0),className:"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 border-r-0 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150",children:1},0)),e>1&&n.push((0,a.jsx)("span",{className:"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border   border-gray-300 cursor-default leading-5 select-none font-bold text-blue-600",children:"…"},"start-ellipsis")));for(let r=e;r<=t;r++)n.push((0,a.jsx)("button",{onClick:()=>j(r),className:r===h?"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 border-r-0 cursor-default leading-5 select-none font-bold text-blue-600":"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 border-r-0 leading-5 hover:text-gray-500 hover:bg-green-100 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150",disabled:r===h,children:r+1},r));return t<v-1&&(t<v-2&&n.push((0,a.jsx)("span",{className:"relative inline-flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border   border-gray-300 cursor-default leading-5 select-none font-bold text-blue-600",children:"…"},"end-ellipsis")),n.push((0,a.jsx)("button",{onClick:()=>j(v-1),className:"flex items-center px-4 py-2 -ml-px text-sm font-medium text-gray-700 bg-white border border-gray-300 border-r-0 leading-5 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150",children:v},v-1))),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("button",{onClick:()=>
1j(h-1),disabled:0===h,"aria-label":"Previous",className:0!==h?"relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid  leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid  leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150":"relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid border-r-0 cursor-default  leading-5",children:(0,a.jsx)("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,a.jsx)("path",{"fill-rule":"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z","clip-rule":"evenodd"})})}),n,(0,a.jsx)("button",{onClick:()=>j(h+1),disabled:h>=v-1,"aria-label":"Next",className:h>=v-1?"relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid cursor-default  leading-5":"relative inline-flex items-center px-2 py-2 -ml-px text-sm font-medium text-gray-500 bg-white border border-gray-300 border-solid  leading-5 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150",children:(0,a.jsx)("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,a.jsx)("path",{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"})})})]})})()})})]})]})})})]})}const u=new MutationObserver((e,t)=>{const n=document.querySelector("#news-room-ky-info[data-news-info]"),r=window.wpApiSettings||{};n&&(m(n.dataset.newsInfo,r.ajaxurl),t.disconnect())});u.observe(document.body,{childList:!0,subtree:!0});const f=document.querySelector("#news-room-ky-info[data-news-info]"),p=window.wpApiSettings||{},h=window.nucorPrNewswireConfig||{};function m(e,t){const n=p.ajaxurl;if(n){const t=document.getElementById("news-pr-div-h");t?"list"==h.postType?i().render((0,a.jsx)(d,{keyInfo:e,ajaxUrl:n}),t):i().render((0,a.jsx)(l,{keyInfo:e,ajaxUrl:n,postPerPage:h.postPerPage,postType:h.postType,postsCoverImage:h.postsCoverImage}),t):console.error("Root element for Nucor PR Newswire Module not found.")}else console.error("AJAX URL not found in the data attribute.")}f&&(m(f.dataset.newsInfo,p.ajaxurl),u.disconnect())})();

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.