PageSourceSearch

https://www.usgbc.org/_next/static/chunks/pages/viewer/leed-core-concepts-guide-c3885df31d6864c1.js

js usgbc.org collected 2026-10-09 21:41:32 UTC 12,241 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9674],{29454:(e,t,r)=>{"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}r.d(t,{A:()=>o});var o=function e(t,r){function o(e,o,a){if("undefined"!=typeof document){"number"==typeof(a=n({},r,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var c in a)a[c]&&(i+="; "+c,!0!==a[c]&&(i+="="+a[c].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var a=r[o].split("="),i=a.slice(1).join("=");try{var c=decodeURIComponent(a[0]);if(c in n||(n[c]=t.read(i,c)),e===c)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){o(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},58940:(e,t,r)=>{"use strict";r.d(t,{H:()=>o});var n=r(29454),o=function(){return void 0!==n.A.get("UserSwitched")&&1==n.A.get("UserSwitched")?{_login:void 0!==n.A.get("Drupal.visitor.user_login")&&"true"==n.A.get("Drupal.visitor.user_login").toLowerCase(),_userId:void 0!==n.A.get("Drupal.visitor.user_id")?n.A.get("Drupal.visitor.user_id").trim():"",_firstName:void 0!==n.A.get("Drupal.visitor.ufname")?n.A.get("Drupal.visitor.ufname").trim():"",_lastName:void 0!==n.A.get("Drupal.visitor.ulname")?n.A.get("Drupal.visitor.ulname").trim():"",_proImg:void 0!==n.A.get("Drupal.visitor.uimage")?n.A.get("Drupal.visitor.uimage").trim():""}:{_login:null!==localStorage.getItem("userInfo")&&void 0!=JSON.parse(localStorage.getItem("userInfo")).login&&!0==JSON.parse(localStorage.getItem("userInfo")).login,_userId:null!==localStorage.getItem("userInfo")&&void 0!=JSON.parse(localStorage.getItem("userInfo")).usgbcUid?JSON.parse(localStorage.getItem("userInfo")).usgbcUid:"",_firstName:null!==localStorage.getItem("userInfo")&&void 0!=JSON.parse(localStorage.getItem("userInfo")).firstName?JSON.parse(localStorage.getItem("userInfo")).firstName:"",_lastName:null!==localStorage.getItem("userInfo")&&void 0!=JSON.parse(localStorage.getItem("userInfo")).lastName?JSON.parse(localStorage.getItem("userInfo")).lastName:"",_proImg:null!==localStorage.getItem("userInfo")&&void 0!=JSON.parse(localStorage.getItem("userInfo")).avatar?JSON.parse(localStorage.getItem("userInfo")).avatar:""}}},67758:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>h,default:()=>b});var n=r(14232),o=r(77328),a=r.n(o),i=r(41921),c=r(78028),u=r(58940),l=r(33727),s=r(89099);function f(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(r,n,o,a){var u=Object.create((n&&n.prototype instanceof c?n:c).prototype);return d(u,"_invoke",function(r,n,o){var a,c,u,l=0,s=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return a=t,c=0,u=e,d.n=r,i}};function p(r,n){for(c=r,u=n,t=0;!f&&l&&!o&&t<s.length;t++){var o,a=s[t],p=d.p,m=a[2];r>3?(o=m===n)&&(u=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=r<2&&p<a[1])?(c=0,d.v=n,d.n=a[1]):p<m&&(o=r<3||a[0]>n||n>m)&&(a[4]=r,a[5]=n,d.n=m,c=0))}if(o||r>1)return i;throw f=!0,n}return function(o,s,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,m),c=s,u=m;(t=c<2?e:u)||!f;){a||(c?c<3?(c>1&&(d.n=-1),p(c,u)):d.n=u:d.v=u);try{if(l=2,a){if(c||(o="next"),t=a[o]){if(!(t=t.call(a,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=a.return)&&t.call(a),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=e}else if((t=(f=d.n<0)?u:r.call(n,d))!==i)break}catch(t){a=e,c=1,u=t}finally{l=1}}return{value:t,done:f}}}(r,o,a),!0),u}var i={};function c(){}function u(){}function l(){}t=Object.getPrototypeOf;
1var s=l.prototype=c.prototype=Object.create([][n]?t(t([][n]())):(d(t={},n,function(){return this}),t));function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,d(e,o,"GeneratorFunction")),e.prototype=Object.create(s),e}return u.prototype=l,d(s,"constructor",l),d(l,"constructor",u),u.displayName="GeneratorFunction",d(l,o,"GeneratorFunction"),d(s),d(s,o,"Generator"),d(s,n,function(){return this}),d(s,"toString",function(){return"[object Generator]"}),(f=function(){return{w:a,m:p}})()}function d(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(d=function(e,t,r,n){function a(t,r){d(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(a("next",0),a("throw",1),a("return",2))})(e,t,r,n)}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t,r,n,o,a,i){try{var c=e[a](i),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function v(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function i(e){g(a,n,o,i,c,"next",e)}function c(e){g(a,n,o,i,c,"throw",e)}i(void 0)})}}var h=!0;
1let b=function(e){var t,r,o=p((0,n.useState)(!1),2),d=o[0],m=o[1],g=p((0,n.useState)(!0),2),h=g[0],b=g[1],w=p((0,n.useState)(!1),2),_=w[0],y=w[1],S=p((0,n.useState)(!1),2),I=S[0],E=S[1],C=p((0,n.useState)(!1),2),O=(C[0],C[1]);e.onListenerReady;var A=(0,s.useRouter)(),U=!!(e.nid&&e.redirectURL),N=(t=v(f().m(function t(){var r,n;return f().w(function(t){for(;;)switch(t.p=t.n){case 0:if(b(!0),t.p=1,U){t.n=2;break}return m(!0),E(!0),t.a(2,!0);case 2:if((r="function"==typeof u.H?(0,u.H)():null)&&(!0===r._login||"true"===r._login)&&r._userId){t.n=3;break}return m(!1),E(!1),e.redirectURL&&(window.location.href=e.redirectURL),t.a(2,!1);case 3:return m(!0),t.n=4,L(r._userId,e&&e.nid);case 4:return"boolean"==typeof(n=t.v)&&E(n),t.a(2,!!n);case 5:if(t.p=5,console.error("Post-login access check failed:",t.v),m(!1),E(!1),e.redirectURL)try{window.location.href=e.redirectURL}catch(e){}return t.a(2,!1);case 6:return t.p=6,b(!1),t.f(6);case 7:return t.a(2)}},t,null,[[1,5,6,7]])})),function(){return t.apply(this,arguments)});(0,n.useEffect)(function(){U||(m(!0),E(!0),b(!1))},[U]),(0,n.useEffect)(function(){e.onListenerReady();var t,r=(t=v(f().m(function e(){var t,r;return f().w(function(e){for(;;)switch(e.n){case 0:if(t=localStorage.getItem("userInfo"),r=localStorage.getItem("loginInfoURL"),!t){e.n=2;break}return e.n=1,N();case 1:e.n=3;break;case 2:r?window.location.href=r:console.error("loginInfoURL not found in localStorage.");case 3:return e.a(2)}},e)})),function(){return t.apply(this,arguments)});return i.A.on("USER_LOGIN",r),i.A.on("USER_LOGIN_URL",r),function(){i.A.off("USER_LOGIN",r),i.A.off("USER_LOGIN_URL",r)}},[A.asPath]);var k=function(){var t=(0,u.H)();if(t._login&&null!=e.guide_name&&null!=t._userId&&null!=e.weburl){var r=new FormData;r.append("guide_url",e.weburl),r.append("guide_name",e.guide_name),r.append("uid",t._userId);var n="".concat(l.A.base_api_url,"/api/v1/logs/guide-access-logs");c.A.post(n,r).then(function(e){console.log("Log result:",e.data)}).catch(function(e){console.error("Error logging Core Concept Guide edition 5 access:",e)})}};(0,n.useEffect)(function(){d&&!_&&(k(),y(!0))},[d,_]);var L=(r=v(f().m(function t(r,n){var o,a,i,u;return f().w(function(t){for(;;)switch(t.p=t.n){case 0:if(U){t.n=1;break}return t.a(2,!0);case 1:return t.p=1,O(!0),(o=new FormData).append("partneralias",window.btoa(l.A.partner_alias)),o.append("partnerpwd",window.btoa(l.A.partner_pwd)),o.append("uid",window.btoa(r)),o.append("nid",window.btoa(e.nid)),a=l.A.base_api_url+"/api/v1/fb-guide-access-check",t.n=2,c.A.post(a,o);case 2:(u=(i=t.v)&&i.data?i.data:{}).text&&u.text.result&&"S"===u.text.result.type?E(!0):(E(!1),window.location.href=e.redirectURL),t.n=4;break;case 3:t.p=3,t.v,E(!1),window.location.href=e.redirectURL;case 4:return t.p=4,O(!1),t.f(4);case 5:return t.a(2)}},t,null,[[1,3,4,5]])})),function(e,t){return r.apply(this,arguments)});return(0,n.useEffect)(function(){var t,r=!1;return(t=v(f().m(function t(){return f().w(function(t){for(;;)switch(t.p=t.n){case 0:if(d&&I){t.n=1;break}return t.a(2);case 1:return t.p=1,t.n=2,new Promise(function(t,r){if(window.FBOLoader)return t();var n=document.getElementById("flippingbook-embed");if(n)return"1"===n.getAttribute("data-loaded")?t():(n.addEventListener("load",function(){return t()}),void n.addEventListener("error",function(){return r(Error("Failed to load FlippingBook script"))}));var o=document.createElement("script");o.id="flippingbook-embed",o.src=e.scriptSrc,o.async=!0,o.defer=!0,o.onload=function(){o.setAttribute("data-loaded","1"),t()},o.onerror=function(){return r(Error("Failed to load FlippingBook script"))},document.body.appendChild(o)});case 2:if(!r){t.n=3;break}return t.a(2);case 3:window.FBOLoader&&"function"==typeof window.FBOLoader.create&&window.FBOLoader.create(),t.n=5;break;case 4:t.p=4,console.error("FlippingBook script load/init failed:",t.v);case 5:return t.a(2)}},t,null,[[1,4]])})),function(){return t.apply(this,arguments)})(),function(){r=!0}},[d,I,e.scriptSrc]),n.createElement(n.Fragment,null,n.createElement(a(),null,n.createElement("meta",{property:"og:url",content:e.currentUrl}),n.createElement("meta",{property:"og:title",content:"| U.S. Green Building Council"}),n.createElement("meta",{property:"og:description",content:"Core Concept Guide edition 5"}),n.createElement("meta",{name:"twitter:card",content:"summary"}),n.createElement("meta",{name:"twitter:site",content:"@USGBC"}),n.createElement("meta",{name:"twitter:title",content:"Core Concept Guide edition 5  | U.S. Green Building Council"}),n.createElement("meta",{name:"twitter:description",content:"Core Concept Guide edition 5"}),n.createElement("meta",{name:"description",content:"Core Concept Guide edition 5"}),n.createElement("meta",{name:"title",content:"Core Concept Guide edition 5"}),n.createElement("meta",{httpEquiv:"Cache-Control",content:"no-cache, no-store, must-revalidate"}),n.createElement("meta",{httpEquiv:"Pragma",content:"no-cache"}),n.createElement("meta",{httpEquiv:"Expires",content:"0"}),n.createElement("title",null,"Core Concept Guide edition 5"," | U.S. Green Building Council")),h?n.createElement("div",{style:{textAlign:"center",marginTop:"20%"}},n.createElement("p",null,"Checking access...")):d&&I&&n.createElement("div",null,n.createElement("a",{href:e.hrefLink,className:"fbo-embed","data-fbo-id":e.fboId,"data-fbo-ratio":"3:2","data-fbo-lightbox":"yes","data-fbo-width":"100%","data-fbo-height":"auto","data-fbo-version":"1",style:{maxWidth:"100%"}},e.guide_name)))}},95420:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/viewer/leed-core-concepts-guide",function(){return r(67758)}])}},e=>{e.O(0,[8028,636,6593,8792],()=>e(e.s=95420)),_N_E=e.O()}]);

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.