PageSourceSearch

https://subjecttoclimate.org/js/tenant/6778.06581b80.js

js subjecttoclimate.org collected 2026-09-24 09:12:29 UTC 7,039 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[6778],{74606:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(1519),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".faq-answer[data-v-495bdb44] p{margin-bottom:.75rem}.faq-answer[data-v-495bdb44] p:last-child{margin-bottom:0}.faq-answer[data-v-495bdb44] a{text-decoration:underline}.faq-answer[data-v-495bdb44] ol,.faq-answer[data-v-495bdb44] ul{margin:.5rem 0 .75rem;padding-inline-start:1.25rem}.faq-answer[data-v-495bdb44] ul{list-style:disc}.faq-answer[data-v-495bdb44] ol{list-style:decimal}.faq-answer[data-v-495bdb44] li{margin-bottom:.25rem}",""]);const i=r},36778:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var o=n(41916),r={class:"w-full"},i=["aria-expanded","aria-controls","onClick"],a={class:"text-[15px] md:text-[16px] font-[500]"},l={class:"shrink-0 w-[30px] h-[30px] rounded-full border flex items-center justify-center transition-colors duration-200 group-hover:bg-black/5","aria-hidden":"true"},s={width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:"overflow-visible"},c=["id"],d=["innerHTML"],u={key:1,class:"italic opacity-60"};function p(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const y={components:{Container:n(49613).Z},props:{isInEditor:{type:Boolean,default:!1},heading:{type:String,default:""},items:{type:Array,default:function(){return[]}},openFirstByDefault:{type:Boolean,default:!1},allowMultipleOpen:{type:Boolean,default:!1},bgColor:{type:String,default:null},headingColor:{type:String,default:null},questionColor:{type:String,default:null},answerColor:{type:String,default:null},dividerColor:{type:String,default:null},topPadding:{type:Number,default:50},bottomPadding:{type:Number,default:50}},data:function(){return{openKeys:[],uid:Math.random().toString(36).slice(2,9)}},created:function(){this.openFirstByDefault&&this.items.length&&(this.openKeys=[this.keyFor(this.items[0],0)])},watch:{items:function(e){var t=this;if(this.openKeys.length){var n=e.map((function(e,n){return t.keyFor(e,n)}));this.openKeys=this.openKeys.filter((function(e){return n.includes(e)}))}},allowMultipleOpen:function(e){!e&&this.openKeys.length>1&&(this.openKeys=this.openKeys.slice(-1))}},methods:{keyFor:function(e,t){var n;return null!==(n=null==e?void 0:e.id)&&void 0!==n?n:"index-".concat(t)},isOpen:function(e,t){return this.openKeys.includes(this.keyFor(e,t))},toggle:function(e,t){var n=this.keyFor(e,t);this.openKeys.includes(n)?this.openKeys=this.openKeys.filter((function(e){return e!==n})):this.openKeys=this.allowMultipleOpen?[].concat(p(this.openKeys),[n]):[n]},panelId:function(e,t){return"faq-".concat(this.uid,"-panel-").concat(this.keyFor(e,t))},prefersReducedMotion:function(){return"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches},animateHeight:function(e,t,n,o){if(this.prefersReducedMotion()||"function"!=typeof e.animate)o();else{var r=e.style.overflow;e.style.overflow="hidden";var i=e.animate([{height:t},{height:n}],{duration:200,easing:"ease-out"}),a=function(){e.style.overflow=r,o()};i.onfinish=a,i.oncancel=a}},onEnter:function(e,t){this.animateHeight(e,"0px","".concat(e.scrollHeight,"px"),t)},onLeave:function(e,t){this.animateHeight(e,"".concat(e.scrollHeight,"px"),"0px",t)}}};var h=n(93379),m=n.n(h),g=n(74606),b={insert:"head",singleton:!1};m()(g.Z,b);g.Z.locals;const v=(0,n(83744).Z)(y,[["render",function(e,t,n,p,f,y){var h=(0,o.resolveComponent)("Container");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{style:(0,o.normalizeStyle)([n.bgColor?"background-color: ".concat(n.bgColor):"","padding-top: ".concat(n.topPadding,"px;padding-bottom: ").concat(n.bottomPadding,"px;")])}
1,[(0,o.createVNode)(h,{class:"px-[18px]"},{default:(0,o.withCtx)((function(){return[n.heading?((0,o.openBlock)(),(0,o.createElementBlock)("h2",{key:0,class:"text-[22px] md:text-[26px] font-[700] leading-tight mb-[28px]",style:(0,o.normalizeStyle)(n.headingColor?"color: ".concat(n.headingColor):"")},(0,o.toDisplayString)(n.heading),5)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("dl",r,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.items,(function(e,r){var p;return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:null!==(p=e.id)&&void 0!==p?p:r,class:"border-b",style:(0,o.normalizeStyle)(n.dividerColor?"border-color: ".concat(n.dividerColor):"")},[(0,o.createElementVNode)("dt",null,[(0,o.createElementVNode)("button",{type:"button",class:"w-full flex items-center justify-between gap-[16px] text-left py-[16px] ps-[17px] pe-[16px] cursor-pointer group focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-current",style:(0,o.normalizeStyle)(n.questionColor?"color: ".concat(n.questionColor):""),"aria-expanded":y.isOpen(e,r)?"true":"false","aria-controls":y.panelId(e,r),onClick:function(t){return y.toggle(e,r)}},[(0,o.createElementVNode)("span",a,(0,o.toDisplayString)(e.question||"Question goes here"),1),(0,o.createElementVNode)("span",l,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",s,[t[0]||(t[0]=(0,o.createElementVNode)("line",{x1:"0.5",y1:"6",x2:"11.5",y2:"6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1)),(0,o.createElementVNode)("line",{x1:"6",y1:"0.5",x2:"6",y2:"11.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round",class:(0,o.normalizeClass)(["origin-center transition-all duration-200 ease-out",y.isOpen(e,r)?"opacity-0 rotate-90":"opacity-100 rotate-0"])},null,2)]))])],12,i)]),(0,o.createVNode)(o.Transition,{css:!1,onEnter:y.onEnter,onLeave:y.onLeave},{default:(0,o.withCtx)((function(){return[y.isOpen(e,r)?((0,o.openBlock)(),(0,o.createElementBlock)("dd",{key:0,id:y.panelId(e,r)},[(0,o.createElementVNode)("div",{class:"faq-answer pb-[20px] ps-[17px] pe-[16px] text-[15px] leading-[1.65]",style:(0,o.normalizeStyle)(n.answerColor?"color: ".concat(n.answerColor):"")},[e.answer?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,innerHTML:e.answer},null,8,d)):((0,o.openBlock)(),(0,o.createElementBlock)("p",u," No answer has been added for this question yet. "))],4)],8,c)):(0,o.createCommentVNode)("",!0)]})),_:2},1032,["onEnter","onLeave"])],4)})),128))])]})),_:1})],4)}],["__scopeId","data-v-495bdb44"]])}}]);
2//# sourceMappingURL=6778.06581b80.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.