1cookieComponent = function (data) { 2 this.data = data; 3 4 let _this = this; 5 6 let vueCookieComponent = Vue.createApp({ 7 data() { 8 return { 9 isOpen: true, 10 arResult: _this.data.arResult, 11 arParams: _this.data.arParams, 12 templatePath: _this.data.templatePath, 13 }; 14 }, 15 computed: {}, 16 methods: { 17 close(e) { 18 this.isOpen = false; 19 }, 20 confirm() { 21 BX.ajax.runComponentAction( 22 'ony:cookie', 23 'confirm', 24 { 25 mode: 'class', 26 data: { 27 28 } 29 } 30 ).then( 31 (response) => { 32 if (response.status) { 33 this.isOpen = false; 34 } 35 }, 36 (error) => { 37 console.log(error); 38 } 39 ); 40 }, 41 }, 42 mounted() { 43 44 }, 45 updated() { 46 47 } 48 }); 49 vueCookieComponent.mount('#cookie-block'); 50}
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.