PageSourceSearch

https://www.autoway.jp/autoway/v1/common/js/selectedTirepitStore.js?v=1591922671

js autoway.jp collected 2026-10-04 00:14:32 UTC 1,283 bytes, 37 lines download raw bytes

1"use strict"
2
3;(function ($) {
4  $(function () {
5    var selectedStore     = Cookies.get('selectedTirepitStore')
6      , selectedStoreName = Cookies.get('selectedTirepitStoreName')
7      , invisible         = Cookies.get('selectedTirepitStoreInvisible')
8      , now               = Date.now()
9      , isPopup           = true
10
11    if (invisible && now < invisible) {
12      isPopup = false
13    }
14    if (selectedStore && selectedStoreName && isPopup) {
15      if ($('#selectedStoreName').length) {
16        $('#selectedStoreName').html(selectedStoreName)
17        $('#selectedTirepitStore').show()
18      }
19    } else {
20      $('#selectedTirepitStore').remove()
21    }
22  })
23
24  $('#selectedTirepitStore .tpSelClear a').on('click', function () {
25    Cookies.remove('selectedTirepitStore', {path: '/'})
26    Cookies.remove('selectedTirepitStoreName', {path: '/'})
27    Cookies.remove('selectedTirepitStoreInvisible', {path: '/'})
28
29    $('#selectedTirepitStore').animate({height: 'toggle'}, 'slow', 'swing')
30  })
31
32  $('#selectedTirepitStore .bottomRightClose').on('click', function () {
33    Cookies.set('selectedTirepitStoreInvisible', Date.now() + (60 * 30 * 1000), {path: '/'})  // 30分間非表示
34
35    $('#selectedTirepitStore').animate({height: 'toggle'}, 'slow', 'swing')
36  })
37})(jQuery)

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.