PageSourceSearch

https://www.saint-cierge-sous-le-cheylard.fr/assets/controllers/al…troller-06769293778d09880b1e418eb5d69c96.js

js saint-cierge-sous-le-cheylard.fr collected 2026-10-02 22:17:40 UTC 646 bytes, 20 lines download raw bytes

1import { Controller } from '@hotwired/stimulus';
2import { warningSwal} from 'swal-utils';
3import { trans } from 'translator';
4
5/* stimulusFetch: 'lazy' */
6export default class extends Controller {
7    async submit(event) {
8        event.preventDefault();
9        const confirmed = await warningSwal({
10            title: trans('common.swal.warning_title'),
11            text: trans('alerte.edit_broadcast.warning_confirm'),
12            confirmButtonText: trans('common.swal.ok_button'),
13            cancelButtonText: trans('common.swal.cancel_button')
14        });
15
16        if (confirmed) {
17            this.element.requestSubmit()
18        }
19    }
20}

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.