PageSourceSearch

https://volvo-assist.ch/static/js/40.23225c55.chunk.js

js volvo-assist.ch collected 2026-10-07 19:40:37 UTC 5,630 bytes, 1 lines download raw bytes

1(this["webpackJsonpdigital-intake"]=this["webpackJsonpdigital-intake"]||[]).push([[40],{504:function(e,t,i){"use strict";i.r(t),i.d(t,"ion_picker_column_internal",(function(){return c}));var n=i(14),r=i(32),o=i(27),a=i(92),s=i(41),c=function(){function e(e){var t=this;Object(n.l)(this,e),this.ionChange=Object(n.e)(this,"ionChange",7),this.hapticsStarted=!1,this.isColumnVisible=!1,this.isActive=!1,this.items=[],this.color="primary",this.numericInput=!1,this.centerPickerItemInView=function(e,i){void 0===i&&(i=!0),t.el.scroll({top:e.offsetTop-3*e.clientHeight+e.clientHeight/2,left:0,behavior:i?"smooth":void 0})},this.inputModeChange=function(e){if(t.numericInput){var i=e.detail,n=i.useInputMode,r=i.inputModeColumn,o=void 0===r||r===t.el;t.isActive=!(!n||!o)}},this.initializeScrollListener=function(){var e,i=t.el,n=t.activeItem,r=function(){Object(o.r)((function(){e&&(clearTimeout(e),e=void 0),t.hapticsStarted||(Object(a.a)(),t.hapticsStarted=!0);var r=i.getBoundingClientRect(),o=r.x+r.width/2,s=r.y+r.height/2,c=i.shadowRoot.elementFromPoint(o,s);null!==n&&n.classList.remove(l),c!==n&&Object(a.b)(),n=c,c.classList.add(l),e=setTimeout((function(){var e=c.getAttribute("data-index");if(null!==e){var i=parseInt(e,10),n=t.items[i];n.value!==t.value&&(t.value=n.value,Object(a.e)(),t.hapticsStarted=!1)}}),250)}))};Object(o.r)((function(){i.addEventListener("scroll",r),t.destroyScrollListener=function(){i.removeEventListener("scroll",r)}}))}}return e.prototype.valueChange=function(){if(this.isColumnVisible){var e=this.items,t=this.value;this.scrollActiveItemIntoView();var i=e.find((function(e){return e.value===t}));i&&this.ionChange.emit(i)}},e.prototype.componentWillLoad=function(){var e=this;new IntersectionObserver((function(t){var i;if(t[0].isIntersecting){var n=Object(o.g)(e.el).querySelector("."+l);null===n||void 0===n||n.classList.remove(l),e.scrollActiveItemIntoView(),null===(i=e.activeItem)||void 0===i||i.classList.add(l),e.initializeScrollListener(),e.isColumnVisible=!0}else e.destroyScrollListener&&(e.destroyScrollListener(),e.destroyScrollListener=void 0),e.isColumnVisible=!1}),{threshold:.01}).observe(this.el);var t=this.el.closest("ion-picker-internal");null!==t&&t.addEventListener("ionInputModeChange",(function(t){return e.inputModeChange(t)}))},e.prototype.scrollActiveItemIntoView=function(){var e=this.activeItem;e&&this.centerPickerItemInView(e,!1)},Object.defineProperty(e.prototype,"activeItem",{get:function(){return Object(o.g)(this.el).querySelector('.picker-item[data-value="'+this.value+'"]')},enumerable:!1,configurable:!0}),e.prototype.render=function(){var e,t=this,i=this,o=i.items,a=i.color,c=i.isActive,l=i.numericInput,p=Object(r.b)(this);return Object(n.h)(n.b,{tabindex:0,class:Object(s.a)(a,(e={},e[p]=!0,e["picker-column-active"]=c,e["picker-column-numeric-input"]=l,e))},Object(n.h)("div",{class:"picker-item picker-item-empty"},"\xa0"),Object(n.h)("div",{class:"picker-item picker-item-empty"},"\xa0"),Object(n.h)("div",{class:"picker-item picker-item-empty"},"\xa0"),o.map((function(e,i){return Object(n.h)("div",{class:"picker-item","data-value":e.value,"data-index":i,onClick:function(e){t.centerPickerItemInView(e.target)}},e.text)})),Object(n.h)("div",{class:"picker-item picker-item-empty"},"\xa0"),Object(n.h)("div",{class:"picker-item picker-item-empty"},"\xa0"),Object(n.h)("div",{class:"picker-item picker-item-empty"},"\xa0"))},Object.defineProperty(e.prototype,"el",{get:function(){return Object(n.i)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChange"]}},enumerable:!1,configurable:!0}),e}(),l="picker-item-active";c.style={ios:":host{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host::-webkit-scrollbar{display:none}:host .picker-item{height:34px;line-height:34px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty{scroll-snap-align:none}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}",md:":host{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host::-webkit-scrollbar{display:none}:host .picker-item{height:34px;line-height:34px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty{scroll-snap-align:none}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}"}}}]);

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.