PageSourceSearch

https://aihcahomeopatia.com/wp-content/plugins/woocommerce-currency-switcher/js/sd/front.js?ver=2.4.0

js aihcahomeopatia.com collected 2026-10-09 02:46:04 UTC 1,640 bytes, 45 lines download raw bytes

1'use strict';
2window.addEventListener('load', function () {
3
4    let selectrons = document.querySelectorAll('div[data-woocs-sd]');
5
6    if (selectrons.length > 0) {
7        Array.from(selectrons).forEach(function (div) {
8            div.innerHTML = '';
9            let settings = JSON.parse(div.getAttribute('data-woocs-sd'));
10            let options = JSON.parse(div.getAttribute('data-woocs-sd-currencies'));
11
12            if (typeof settings.title_value !== 'undefined') {
13                options.forEach(function (o, k) {
14                    let title = settings.title_value;
15
16                    if (title.length > 0) {
17                        title = title.replace(/__CODE__/gi, o.title);
18                        title = title.replace(/__SIGN__/gi, o.sign);
19                        title = title.replace(/__DESCR__/gi, o.text);
20                        options[k].title = title;
21                    }
22                });
23            }
24
25            settings.title_value = '';//!!important
26
27            let data = {
28                options: options,
29                selected: woocs_current_currency.name,
30                width: (settings.width ? settings.width : 500) + 'px',
31                imgpos: typeof settings.img_pos !== 'undefined' ? (settings.img_pos ? 'right' : 'left') : 'right',
32                max_open_height: settings.max_open_height ? settings.max_open_height : 300
33            };
34
35            let selectron = new Selectron23(div, data);
36            selectron.applyDesignSettings(settings);
37
38            selectron.onSelect = function () {
39                woocs_redirect(this.value);
40            };
41        });
42    }
43
44});
45

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.