PageSourceSearch

https://www.story.one/en/wp-content/themes/storyone/assets/scripts…s-advice-card-stack.931fd0bf852c9a933e73.js

js story.one collected 2026-10-03 22:32:29 UTC 3,826 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkproject_name=self.webpackChunkproject_name||[]).push([[7382,9223],{76483:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var r=n(4942),c=n(88785),o=n(62642),a=n(9975),i=n(49092),l=n(43782),d=n(98719),u=n(86335);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={__name:"advice-card-stack",props:{cards:Array},setup:function(e){var t=e,n=o.p8.registerPlugin(a._Z,i.i)||o.p8,r=(0,c.ref)(),p=(0,c.ref)(),f=function(){return l.yF.includes("tablet-landscape")};return(0,c.onMounted)((function(){(0,d.oL)("initAnimation",(function(e){e.detail.element.contains(r.value)&&function(){var e=n.timeline(),t=n.timeline(),c=p.value;f()?c.shift():c.pop();var o={"--card-y":"0%","--card-opacity":"1"},a={"--card-y":"30%","--card-opacity":"0",pointerEvents:"none"};
1c.forEach((function(n){e.fromTo(n.$el,s({},o),s(s({},a),{},{ease:"power2.out"})),t.fromTo(n.$el,s({},a),s(s({},o),{},{ease:"power2.out"}))})),i.i.create({trigger:f()?r.value.closest(".advice-cards"):r.value,start:function(){return"top-=".concat(f()?96:70,"px top")},end:"bottom+=1000px top",scrub:!0,pin:!0,pinSpacing:!0,pinType:"fixed",anticipatePin:1,toggleActions:"restart none none reverse",invalidateOnRefresh:!0,animation:f()?t:e})}()})),(0,d.WI)("readyForAnimation",{element:r.value})})),function(e,n){return(0,c.openBlock)(),(0,c.createElementBlock)("div",{class:"advice-card-stack",ref_key:"stack",ref:r,style:(0,c.normalizeStyle)("--item-count: ".concat(t.cards.length,";"))},[((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,null,(0,c.renderList)(t.cards,(function(e,t){return(0,c.openBlock)(),(0,c.createBlock)(u.default,(0,c.mergeProps)({ref_for:!0,ref_key:"cards",ref:p},e,{number:"".concat(t+1<10?"0":"").concat(t+1),index:t}),null,16,["number","index"])})),256))],4)}}};var m=(0,n(83744).Z)(f,[["__scopeId","data-v-3c4f601b"]])},86335:function(e,t,n){n.r(t),n.d(t,{default:function(){return d}});var r=n(88785),c=n(26536),o=n(32924),a={key:0,class:"advice-card__number"},i=["innerHTML"],l={__name:"advice-card",props:{bg_color:{type:String,default:"light-blue"},darkmode:Boolean,copy_text_light:Boolean,number:String,index:Number,headline:Object,image:Object,copy:String},setup:function(e){var t=e;return function(e,n){return(0,r.openBlock)(),(0,r.createElementBlock)("section",{class:(0,r.normalizeClass)(["advice-card","bg-".concat(t.bg_color," ").concat(t.darkmode?"-darkmode":"")]),style:(0,r.normalizeStyle)("--index: ".concat(t.index,";"))},[t.number?((0,r.openBlock)(),(0,r.createElementBlock)("div",a,[(0,r.createElementVNode)("span",null,(0,r.toDisplayString)(t.number),1)])):(0,r.createCommentVNode)("v-if",!0),t.headline?((0,r.openBlock)(),(0,r.createBlock)(c.default,(0,r.mergeProps)({key:1},t.headline,{class:"advice-card__title | h4"}),null,16)):(0,r.createCommentVNode)("v-if",!0),t.image?((0,r.openBlock)(),(0,r.createBlock)(o.default,(0,r.mergeProps)({key:2},t.image,{class:"advice-card__pic"}),null,16)):(0,r.createCommentVNode)("v-if",!0),t.copy?((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:3,innerHTML:t.copy,class:(0,r.normalizeClass)(["advice-card__copy | font-medium copy",t.darkmode||t.copy_text_light?"text-light":""])},null,10,i)):(0,r.createCommentVNode)("v-if",!0)],6)}}};var d=(0,n(83744).Z)(l,[["__scopeId","data-v-16d8093f"]])}}]);

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.