PageSourceSearch

https://goslasmed.ru/wp-content/plugins/piotnet-addons-for-elementor-pro/assets/js/minify/custom-css.js

js goslasmed.ru collected 2026-10-06 12:08:33 UTC 1,555 bytes, 40 lines download raw bytes

1jQuery(window).on('elementor/frontend/init', function () {
2  function pafeAddCustomCss(css, context) {
3    if (!context) {
4      return DOMPurify.sanitize(css, { CSS: true });
5    }
6    var customCss = '';
7
8    var model = context.model,
9      customCss = model.get('settings').get('pafe_custom_css'),
10      customCssSoftlite = model.get('settings').get('_custom_css'),
11      customCssDesktop = model.get('settings').get('_custom_css_f_ele_css_desktop'),
12      customCssTablet = model.get('settings').get('_custom_css_f_ele_css_tablet'),
13      customCssMobile = model.get('settings').get('_custom_css_f_ele_css_mobile');
14
15    customCss += customCssSoftlite ? customCssSoftlite : '';
16    customCss += customCssDesktop ? customCssDesktop : '';
17    customCss += customCssTablet ? ' @media (max-width: 768px) { ' + customCssTablet + '}' : '';
18    customCss += customCssMobile ? ' @media (max-width: 425px) { ' + customCssMobile + '}' : '';
19
20    if (!customCss || customCss.trim() === '') {
21      return DOMPurify.sanitize(css, { CSS: true });
22    }
23
24    var selector = '.elementor-' + elementData.postID + ' .elementor-element.elementor-element-' + model.get('id');
25
26    if ('document' === model.get('elType')) {
27      selector = elementor.config.document.settings.cssWrapperSelector;
28    }
29
30    if (customCss) {
31      css += customCss.replaceAll('selector', selector);
32    }
33
34    return DOMPurify.sanitize(css, { CSS: true });
35  }
36
37  if ((typeof elementor) !== 'undefined') {
38    elementor.hooks.addFilter('editor/style/styleText', pafeAddCustomCss);
39  }
40});

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.