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F,IAGhD,GAAGsF,EAAS,IAAIjK,EAASiK,EAAQvF,EAClC,CAEA,IADGqF,GAA4BA,EAA2B1T,GACrDiP,EAAIL,EAAS/N,OAAQoO,IACzB0B,EAAU/B,EAASK,GAChBZ,EAAoBkC,EAAE0C,EAAiBtC,IAAYsC,EAAgBtC,IACrEsC,EAAgBtC,GAAS,KAE1BsC,EAAgBrE,EAASK,IAAM,EAEhC,OAAOZ,EAAoBM,EAAEhF,EAC9B,EAEImK,EAAqBC,KAA2B,qBAAIA,KAA2B,sBAAK,GACxFD,EAAmBzD,QAAQoD,EAAqBlB,KAAK,KAAM,IAC3DuB,EAAmBtO,KAAOiO,EAAqBlB,KAAK,KAAMuB,EAAmBtO,KAAK+M,KAAKuB,G,ICpFvF,IAAIE,EAAsB3F,EAAoBM,OAAExE,EAAW,CAAC,MAAM,WAAa,OAAOkE,EAAoB,IAAM,IAChH2F,EAAsB3F,EAAoBM,EAAEqF,E","sources":["webpack://frontend/webpack/runtime/chunk loaded","webpack://frontend/webpack/runtime/create fake namespace object","webpack://frontend/webpack/runtime/load script","webpack://frontend/./src/es/common/append_form_action_on_click.js","webpack://frontend/./src/es/common/change_circle_button.js","webpack://frontend/./src/es/common/clear_on_click.js","webpack://frontend/./src/es/common/copy_form_value.js","webpack://frontend/./src/es/common/count_chars.js","webpack://frontend/./src/es/common/count_tag_on_modal_close.js","webpack://frontend/./src/es/common/data_link.js","webpack://frontend/./src/es/common/disable_on_checked.js","webpack://frontend/./src/es/common/disable_on_empty.js","webpack://frontend/./src/es/common/disable_on_submit.js","webpack://frontend/./src/es/common/disable_on_submit_v2.js","webpack://frontend/./src/es/common/dont_see_more.js","webpack://frontend/./src/es/common/edit_message.js","webpack://frontend/./src/es/common/hide_deleted_cocoon_items.js","webpack://frontend/./src/es/common/hide_on_unchecked.js","webpack://frontend/./src/es/common/modal_default_open.js","webpack://frontend/./src/es/common/move_higher.js","webpack://frontend/./src/es/common/move_lower.js","webpack://frontend/./src/es/common/nested_checkbox.js","webpack://frontend/./src/es/common/prevent_enter_submission.js","webpack://frontend/./src/es/common/scroll_to_bottom.js","webpack://frontend/./src/es/common/see_more.js","webpack://frontend/./src/es/common/set_value_on_load.js","webpack://frontend/./src/es/common/submit_on_change.js","webpack://frontend/./src/es/common/support_request_done.js","webpack://frontend/./src/es/common/toggle_enable_on_checked.js","webpack://frontend/./src/es/common/update_badges.js","webpack://frontend/./src/es/common/watch_changes.js","webpack://frontend/./src/es/lazy_loader/load_trix.js","webpack://frontend/./src/es/common/file_list_item.js","webpack://frontend/./src/es/common/select_template.js","webpack://frontend/./src/es/common/show_file_list.js","webpack://frontend/./src/es/main.js","webpack://frontend/./src/es/pages/job_csv.js","webpack://frontend/./src/es/pages/job_entry_contract.js","webpack://frontend/./src/es/pages/saas_content_edit.js","webpack://frontend/./src/es/pages/saas_editing_comment_edit.js","webpack://frontend/./src/es/pages/set_end_at_on_change.js","webpack://frontend/webpack/bootstrap","webpack://frontend/webpack/runtime/compat get default export","webpack://frontend/webpack/runtime/define property getters","webpack://frontend/webpack/runtime/ensure chunk","webpack://frontend/webpack/runtime/get javascript chunk filename","webpack://frontend/webpack/runtime/global","webpack://frontend/webpack/runtime/hasOwnProperty shorthand","webpack://frontend/webpack/runtime/make namespace object","webpack://frontend/webpack/runtime/publicPath","webpack://frontend/webpack/runtime/jsonp chunk loading","webpack://frontend/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"frontend:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","$(() => {\n const key = 'append-form-action-on-click';\n $(`[data-${key}]`).on('click', function () {\n this.closest('form').action += $(this).data(key);\n });\n});\n","$(() => {\n $('.faq-question').on('click', function () {\n id = $(this).data('value');\n switch ($(this).attr('aria-expanded')) {\n case 'true':\n $('#plus-button-' + id).hide();\n $('#minus-button-' + id).show();\n break;\n case 'false':\n $('#minus-button-' + id).hide();\n $('#plus-button-' + id).show();\n break;\n }\n });\n});\n","$(() => {\n const key = 'clear-on-click';\n $(`[data-${key}]`).on('click', function() {\n $($(this).data(key)).val('');\n });\n});\n","$(() => {\n $('[data-exec-copy]').on('click', function () {\n if (!confirm('転写しますか?入力内容は上書きされます。')) {\n return;\n }\n const copy = (src, dst) => $(dst).val($(src).val());\n $('[data-copy-to]').each(function () {\n copy(this, $(this).data('copy-to'));\n });\n });\n});\n","$(() => {\n const key = 'count-chars';\n const onInput = function () {\n const outputContainerId = `${this.name}_char_count`;\n const outputContainerSelector = `[id=\"${outputContainerId}\"]`;\n if ($(outputContainerSelector).length === 0) {\n $('
')\n .addClass('form-text')\n .attr('id', outputContainerId)\n .insertAfter(this);\n }\n const outputContainer = $(outputContainerSelector);\n\n const rawCount = Array.from(\n (s =>\n $(this).data('count-chars-strip-tag') === true\n ? s.replace(/<[^>]+>/g, '')\n : s)(\n $(this)\n .val()\n .replace(/[\\r\\n/]/g, '')\n )\n ).reduce((acc, cur) => (acc += cur.charCodeAt() < 128 ? 1 : 2), 0);\n const count = Math.ceil(rawCount / 2);\n const max = Number($(this).data(key));\n outputContainer.text(`${count}/${max}`);\n if (count > max) {\n outputContainer.addClass('text-danger fw-bold');\n } else {\n outputContainer.removeClass('text-danger fw-bold');\n }\n };\n $(`[data-${key}]`)\n .each(function () {\n const _this = this;\n onInput.call(this);\n $($(this).data('count-chars-on-change-of')).on(\n 'DOMSubtreeModified',\n function () {\n setTimeout(() => {\n onInput.call(_this);\n });\n }\n );\n })\n .on('input', onInput);\n});\n","$(() => {\n $('[data-count-tag-on-modal-close]').on('hidden.bs.modal', function() {\n $(`[data-bs-target=\"#${$(this).attr('id')}\"]` ).find('.badge').text($($(this).find('input:checkbox:checked')).length || '');\n });\n});","$(() => {\n $('tr[data-link]').click(function() {\n location.href = $(this).data('link');\n });\n $('div[data-link]').click(function() {\n location.href = $(this).data('link');\n });\n});","$(() => {\n const key = 'data-disable-on-checked';\n $(`[${key}=main]`).on('change', function() {\n $(`[${key}=sub]`).prop('disabled', $(this).prop('checked'));\n });\n});\n","$(() => {\n const key = 'disable-on-empty';\n\n $(`[data-${key}]`).each(function () {\n const target = $(this);\n const inputs = $(target.data(key));\n inputs.on('input', function () {\n const isEmpty =\n inputs.filter(function () {\n return (\n ($(this).prop('type') === 'checkbox' && $(this).prop('checked')) ||\n ($(this).prop('type') !== 'checkbox' && !!$(this).val())\n );\n }).length === 0;\n\n target.prop('disabled', isEmpty);\n });\n });\n});\n","$(() => {\n let disable = false;\n\n $('[data-disable-on-submit]').on('click', function () {\n disable = true;\n });\n\n $('[data-disable-on-submit]')\n .parents('form')\n .on('submit', function () {\n if (disable) {\n $('[data-disable-on-submit]').prop('disabled', true);\n }\n });\n});\n","$(() => {\n let disable = false;\n\n const selector = '[data-disable-on-submit-v2]';\n\n $(selector).on('click', function () {\n disable = true;\n });\n\n $(selector)\n .parents('form')\n .on('submit', function () {\n if (disable) {\n setTimeout(() => {\n $(selector).prop('disabled', true);\n });\n }\n });\n});\n","$(() => {\n $('[data-id=dont-see-more]').on('click', function() {\n $('.untruncated').hide();\n $('.truncated').css({ cssText: 'display: block !important;' });\n });\n});\n","$(() => {\n // 編集ボタンクをリックで、メッセージ編集エリアを表示\n $('.js-edit-message-button').on('click', function () {\n const messageId = $(this).data('message-id');\n const messageLabelArea = $('#js-message-label-' + messageId);\n const messageTextArea = $('#js-textarea-message-' + messageId);\n const messageButton = $('#js-message-button-' + messageId);\n\n messageLabelArea.hide();\n messageTextArea.css({ cssText: 'display: block !important;' });\n messageButton.css({ cssText: 'display: block !important;' });\n });\n\n // キャンセルボタンをクリックで、メッセージ編集エリアを非表示\n $('.message-cancel-button').on('click', function () {\n const messageId = $(this).data('cancel-id');\n const messageLabelArea = $('#js-message-label-' + messageId);\n const messageTextArea = $('#js-textarea-message-' + messageId);\n const messageButton = $('#js-message-button-' + messageId);\n const messageError = $('#js-message-post-error-' + messageId);\n\n messageLabelArea.show();\n messageTextArea.hide();\n messageButton.hide();\n messageError.hide();\n });\n\n // 更新ボタンをクリックで、メッセージを更新\n $('.message-update-button').on('click', function () {\n const messageId = $(this).data('update-id');\n const textField = $('#js-textarea-message-' + messageId).children(\n 'textarea'\n );\n const body = textField.val();\n\n $.ajax({\n url: '/negotiation_messages/' + messageId,\n type: 'PATCH',\n data: {\n negotiation_message: {\n content: body,\n },\n },\n }).done(function (data) {\n const messageLabelArea = $('#js-message-label-' + messageId);\n const messageTextArea = $('#js-textarea-message-' + messageId);\n const messageButton = $('#js-message-button-' + messageId);\n const messageError = $('#js-message-post-error-' + messageId);\n const messageEdited = $('#js-message-edited-' + messageId);\n const exp =\n /((https?):\\/\\/[-A-Z0-9+&@#\\/%?=~_|!:,.;]*[-A-Z0-9+&@#\\/%=~_|])/gi;\n\n messageLabelArea.show();\n messageLabelArea.text(data.content);\n messageLabelArea.html(\n messageLabelArea.html().replace(exp, \"$1\")\n );\n messageTextArea.hide();\n messageButton.hide();\n messageError.hide();\n messageEdited.removeClass('d-none');\n });\n });\n});\n","$(() => {\n $('.remove_fields.existing.destroyed').each(function () {\n const wrapper_class = $(this).data('wrapper-class') || 'nested-fields';\n $(this)\n .closest('.' + wrapper_class)\n .hide();\n });\n});\n","$(() => {\n const key = 'hide-on-unchecked';\n $(`[data-${key}]`).on('change', function() {\n $($(this).data(key)).toggle(!$(this).prop('checked'));\n });\n});\n","$(() => {\n $('.modal[data-default-open]').modal('show');\n});\n","$(() => {\n $('.move-higher').on('click', function () {\n const myPosition = $(this)\n .parents('li')\n .children('input[id^=\"attachment_position_\"]')\n .val();\n if ($(this).parents('li').prevAll('li').has('div:visible').length) {\n const prevPosition = $(this)\n .parents('li')\n .prevAll('li')\n .has('div:visible')\n .first()\n .children('input[id^=\"attachment_position_\"]')\n .val();\n $(this)\n .parents('li')\n .children('input[id^=\"attachment_position_\"]')\n .val(prevPosition);\n $(this)\n .parents('li')\n .prevAll('li')\n .has('div:visible')\n .first()\n .children('input[id^=\"attachment_position_\"]')\n .val(myPosition);\n $(this)\n .parents('li')\n .prevAll('li')\n .has('div:visible')\n .first()\n .insertAfter($(this).parents('li'));\n }\n });\n});\n","$(() => {\n $('.move-lower').on('click', function () {\n const myPosition = $(this)\n .parents('li')\n .children('input[id^=\"attachment_position_\"]')\n .val();\n if ($(this).parents('li').nextAll('li').has('div:visible').length) {\n const nextPosition = $(this)\n .parents('li')\n .nextAll('li')\n .has('div:visible')\n .first()\n .children('input[id^=\"attachment_position_\"]')\n .val();\n $(this)\n .parents('li')\n .children('input[id^=\"attachment_position_\"]')\n .val(nextPosition);\n $(this)\n .parents('li')\n .nextAll('li')\n .has('div:visible')\n .first()\n .children('input[id^=\"attachment_position_\"]')\n .val(myPosition);\n $(this)\n .parents('li')\n .nextAll('li')\n .has('div:visible')\n .first()\n .insertBefore($(this).parents('li'));\n }\n });\n});\n","$(() => {\n const childrenDictionary = {};\n const parentsDictionary = {};\n\n const refreshParentState = ({ iteration, parentSelector }) => {\n if (iteration || !parentSelector) {\n return;\n }\n const parent = $(parentSelector);\n const children = childrenDictionary[parentSelector];\n const nChecked = children.filter(c => $(c).prop('checked')).length;\n const nIndeterminate = children.filter(c =>\n $(c).prop('indeterminate')\n ).length;\n\n if (nChecked === 0 && nIndeterminate === 0) {\n parent.prop({ checked: false, indeterminate: false });\n } else if (nChecked === children.length && nIndeterminate === 0) {\n parent.prop({ checked: true, indeterminate: false });\n } else {\n parent.prop({ indeterminate: true });\n }\n\n refreshParentState({\n iteration,\n parentSelector: parentsDictionary[parent[0].id],\n });\n };\n\n $('input[type=\"checkbox\"][data-parent-checkbox]').each(function () {\n const child = $(this);\n const parentSelector = $(this).data('parent-checkbox');\n const parent = $(parentSelector);\n if (this.id) {\n parentsDictionary[this.id] = parentSelector;\n }\n\n const children =\n childrenDictionary[parentSelector] ||\n (childrenDictionary[parentSelector] = []);\n children.push(child);\n let iteration = false;\n\n parent.on('change', function () {\n if ($(this).prop('indeterminate')) {\n return;\n }\n child.prop({ checked: $(this).prop('checked'), indeterminate: false });\n iteration = true;\n child.change();\n iteration = false;\n });\n\n child.on('change', () => {\n refreshParentState({ parentSelector, iteration });\n });\n refreshParentState({ parentSelector, iteration });\n });\n});\n","$(() => {\n $('input:not([data-submit-on-enter])').keydown(function (e) {\n return e.which !== 13 && e.keyCode !== 13;\n });\n});\n","$(() => {\n $('[data-scroll-to-bottom]').each(function () {\n this.scrollTop = this.scrollHeight;\n });\n});\n","$(() => {\n $('[data-id=see-more]').on('click', function() {\n $('.truncated').hide();\n $('.untruncated').css({ cssText: 'display: block !important;' });\n });\n});\n","$(() => {\n const key = 'set-value-on-load';\n $(`[data-${key}]`).each(function () {\n this.value = $(this).data(key);\n });\n});\n","$(() => {\n $('[data-submit-on-change]').on('change', function() {\n $(this)\n .closest('form')\n .submit();\n });\n});\n","$(() => {\n $('#developer_support_request_done_modal').modal('show');\n});\n","$(() => {\n const key = 'toggle-enable-on-checked';\n $(`[data-${key}]`).on('change', function () {\n $($(this).data(key)).prop('disabled', !$(this).prop('checked'));\n });\n});\n","$(() => {\n const setText = (selector, val) => $(selector).text(val === '0' ? '' : val);\n $(window).on('storage', ({ originalEvent: { key, newValue } }) => {\n if (key === 'menuJobBadgeCount') {\n setText('[data-menu-job-badge]', newValue);\n }\n\n if (key === 'negotiationTotalBadgeCount') {\n setText('[data-negotiation-total-badge]', newValue);\n }\n\n const m = /negotiation([0-9]+)BadgeCount/.exec(key);\n if (m) {\n setText(\n `[data-negotiation-badge][data-negotiation-id=${m[1]}]`,\n newValue\n );\n }\n });\n});\n","$(() => {\n let isChanged = false;\n $('.watch-changes').on('change', function () {\n isChanged = true;\n });\n\n $('.confirm-leave').on('click', function () {\n if (isChanged) {\n event.preventDefault();\n $($(this).data('target-link')).attr('href', $(this).attr('href'));\n $($(this).data('target-modal')).modal('show');\n }\n });\n});\n","$(() => {\n if ($('trix-editor').length > 0) {\n import('trix');\n }\n});\n","export const fileListItem = (name, size, removeIconAttributes) =>\n `
  • ${name\n } (${Math.ceil(\n size / 1024\n )}kB)
  • `;","import { fileListItem } from './file_list_item';\n\n$(() => {\n const key1 = 'show-file-info';\n const key2 = 'file-info-container';\n const key3 = 'rm-item';\n\n $('[data-template-id][data-write-to]').on('click', function() {\n const templateUrl = `/templates/${$(this).data('template-id')}/json`;\n const writeTo = $($(this).data('write-to'));\n const attachTo = $($(this).data('attach-to'));\n let template_file_ids = [];\n\n $.get(templateUrl, function(data) {\n writeTo.val(data.body);\n\n template_file_ids = data.attachments.map(a => a.id);\n attachTo.closest('form').append($(``));\n\n $(attachTo.data(key1)).empty();\n $.each(data.attachments, function (index, val) {\n $(attachTo.data(key1)).append(\n fileListItem(val.original_filename, val.size, `data-${key3}='${val.id}'`)\n );\n });\n $(attachTo.data(key2)).removeClass('d-none');\n\n $(document).on('click', `[data-${key3}]`, function () {\n $(this).closest('li').remove();\n template_file_ids.splice(template_file_ids.indexOf($(this).data(key3)), 1);\n $('#template_file_ids').val(JSON.stringify(template_file_ids));\n });\n });\n });\n});\n","import { fileListItem } from './file_list_item';\n\n$(() => {\n const key1 = 'show-file-info';\n const key2 = 'file-info-container';\n const key3 = 'rm-item';\n const dataTransfer = new DataTransfer();\n let counter = 0;\n\n $(`input[data-${key1}]`).on('change', function () {\n const $this = $(this);\n $.each($(this.files), function (index, val) {\n $($this.data(key1)).append(\n fileListItem(val.name, val.size, `data-${key3}='${dataTransfer.items.length}'`)\n );\n dataTransfer.items.add(val);\n });\n $(this).prop('files', dataTransfer.files);\n $($this.data(key2)).removeClass('d-none');\n });\n\n $(document).on('click', `[data-${key3}]`, function () {\n dataTransfer.items.remove($(this).data(key3));\n $(this).closest('li').remove();\n $(`input[data-${key1}]`).prop('files', dataTransfer.files);\n $(`[data-${key3}]`).each(function (index) {\n $(this).attr(`data-${key3}`, index);\n });\n });\n});\n","import Rails from '@rails/ujs';\nimport $ from 'jquery'; // eslint-disable-line\n// import bootstrap.bundle.js instead of bootstrap.js to includes popper.js for enable tooltips\nimport bootstrap from 'bootstrap/dist/js/bootstrap.bundle.js';\nimport '@nathanvda/cocoon';\n\nimport './common/append_form_action_on_click';\nimport './common/change_circle_button';\nimport './common/clear_on_click';\nimport './common/count_chars';\nimport './common/copy_form_value';\nimport './common/count_tag_on_modal_close';\nimport './common/data_link';\nimport './common/disable_on_checked';\nimport './common/disable_on_empty';\nimport './common/disable_on_submit';\nimport './common/disable_on_submit_v2';\nimport './common/dont_see_more';\nimport './common/edit_message';\nimport './common/hide_deleted_cocoon_items';\nimport './common/hide_on_unchecked';\nimport './common/modal_default_open';\nimport './common/move_higher';\nimport './common/move_lower';\nimport './common/nested_checkbox';\nimport './common/prevent_enter_submission';\nimport './common/scroll_to_bottom';\nimport './common/see_more';\nimport './common/select_template';\nimport './common/set_value_on_load';\nimport './common/show_file_list';\nimport './common/submit_on_change';\nimport './common/support_request_done';\nimport './common/toggle_enable_on_checked';\nimport './common/update_badges';\nimport './common/watch_changes';\nimport './pages/job_csv';\nimport './pages/job_entry_contract';\nimport './pages/set_end_at_on_change';\nimport './pages/saas_content_edit';\nimport './pages/saas_editing_comment_edit';\nimport './lazy_loader/load_trix';\n\n$(() => {\n $('[data-bs-toggle=\"tooltip\"]').each(function () {\n new bootstrap.Tooltip(this);\n });\n});\n\nRails.start();\n","$(() => {\n const getResult = queryHash =>\n new Promise(resolve =>\n $.get(`/job_csvs/${queryHash}`, function (res) {\n resolve(res);\n })\n );\n\n $('[data-job-csv-output]').on('click', function (event) {\n event.preventDefault();\n const button = this;\n button.disabled = true;\n const buttonOriginalLabel = button.value;\n button.value = '出力中...';\n $.ajax({\n url: '/job_csvs',\n method: 'POST',\n processData: false,\n contentType: false,\n data: (() => {\n const fd = new FormData($(this).closest('form')[0]);\n fd.append(\n $('meta[name=csrf-param]').prop('content'),\n $('meta[name=csrf-token]').prop('content')\n );\n return fd;\n })(),\n success: function (res) {\n const iid = setInterval(() => {\n getResult(res.query).then(result => {\n console.log(result?.status);\n if (result?.status === 'exists') {\n clearInterval(iid);\n const anchorTag = $(``);\n $('body').append(anchorTag);\n anchorTag[0].click();\n anchorTag.remove();\n button.disabled = false;\n button.value = buttonOriginalLabel;\n }\n });\n }, 2000);\n },\n });\n });\n});\n","$(() => {\n $('[data-job-entry-contract]').on('change', function () {\n switchEntryButton(this.value);\n });\n\n const switchEntryButton = selectedVal => {\n if (selectedVal === undefined) {\n return false;\n }\n\n $('[data-needs-actions]').each(function () {\n $(this).addClass('d-none');\n });\n\n const $entryButtonLink = $('[data-go-to-entry]');\n\n if (selectedVal.length) {\n if ($(`[data-needs-actions=${selectedVal}]`).length) {\n $(`[data-needs-actions=${selectedVal}]`).removeClass('d-none');\n $entryButtonLink.hide();\n } else {\n $entryButtonLink.removeClass('disabled');\n $entryButtonLink.show();\n }\n } else {\n $entryButtonLink.addClass('disabled');\n $entryButtonLink.show();\n }\n };\n\n switchEntryButton($('[data-job-entry-contract]').val());\n});\n","$(() => {\n let currentMainFeatureCategory;\n currentMainFeatureCategory = $(\n \"input[name='saas_content[main_saas_category]']:checked\"\n ).val();\n $('.show-main-saas-feature').on('change', function () {\n const cat = $(\n \"input[name='saas_content[main_saas_category]']:checked\"\n ).val();\n const target = `#main_feature_container_${cat}`;\n const disabledSubCatCb = `#saas_content_sub_saas_category_ids_${cat}`;\n if (currentMainFeatureCategory != undefined) {\n const prev = `#main_feature_container_${currentMainFeatureCategory}`;\n const enabledSubCatCb = `#saas_content_sub_saas_category_ids_${currentMainFeatureCategory}`;\n $(prev).hide();\n $(enabledSubCatCb).prop('disabled', false);\n }\n currentMainFeatureCategory = cat;\n $(target).show();\n if ($(disabledSubCatCb).prop('checked')) {\n $(disabledSubCatCb)\n .attr('checked', false)\n .prop('checked', false)\n .change();\n }\n $(disabledSubCatCb).prop('disabled', true);\n });\n\n $('.toggle-sub-saas-feature').on('change', function () {\n const cat = $(this).val();\n const target = `#sub_feature_container_${cat}`;\n $(target).toggle();\n });\n\n $('.toggle-fee-amount-fields').on('change', function () {\n const index = $(this).data('feeindex');\n const val = $(\n `input[name='saas_content[saas_fee_plans_attributes][${index}][fee_type]']:checked`\n ).val();\n const target = `#amount_fields_${index}`;\n\n if (val == 'amount') {\n $(target).show();\n } else {\n $(target).hide();\n }\n });\n\n $('.toggle-fee-plan').on('change', function () {\n const index = $(this).data('feeindex');\n const val = $(this).prop('checked');\n const target = `#fee_plan_${index}`;\n\n if (val) {\n $(target).show();\n } else {\n $(target).hide();\n }\n });\n\n $('.operator-copy-button').on('click', function() {\n const operatorNameInput = $('#saas_content_operator_name');\n const operatorNameData = operatorNameInput.data('hnavi-data'); \n const operatorHqAddressInput = $('#saas_content_operator_hq_address');\n const operatorHqAddressData = operatorHqAddressInput.data('hnavi-data'); \n const operatorEstablishedAt1iInput = $('#saas_content_operator_established_at_1i');\n const operatorEstablishedAtData = operatorEstablishedAt1iInput.data('hnavi-data'); \n const operatorEstablishedAt2iInput = $('#saas_content_operator_established_at_2i');\n const operatorEmployeeCountInput = $('#saas_content_operator_employee_count');\n const operatorEmployeeCountData = operatorEmployeeCountInput.data('hnavi-data') ;\n const operatorCapitalInput = $('#saas_content_operator_capital');\n const operatorCapitalData = operatorCapitalInput.data('hnavi-data') ;\n const operatorRepresentativeInput = $('#saas_content_operator_representative');\n const operatorRepresentativeData = operatorRepresentativeInput.data('hnavi-data'); \n const operatorUrlInput = $('#saas_content_operator_url');\n const operatorUrlData = operatorUrlInput.data('hnavi-data');\n const establishedAt = new Date(operatorEstablishedAtData);\n\n operatorNameInput.val(operatorNameData);\n operatorEstablishedAt1iInput.val(establishedAt.getFullYear());\n operatorEstablishedAt2iInput.val(establishedAt.getMonth() + 1);\n operatorHqAddressInput.val(operatorHqAddressData);\n operatorEmployeeCountInput.val(operatorEmployeeCountData);\n operatorCapitalInput.val(operatorCapitalData);\n operatorRepresentativeInput.val(operatorRepresentativeData);\n operatorUrlInput.val(operatorUrlData);\n });\n});\n","$(() => {\n // table のコメントセルをクリックで、セル高さを広げる/縮める\n $('.toggle-max-height-60').on('click', function () {\n const maxHeight = '60px';\n const curMaxHeight = $(this).css('max-height');\n\n if (curMaxHeight == 'none') {\n $(this).css('max-height', maxHeight);\n } else {\n $(this).css('max-height', 'none');\n }\n });\n\n // 削除ボタンをクリックで、コメントを削除\n $('.comment-delete-button').on('click', function () {\n const commentId = $(this).data('comment-id');\n const commentEditor = $('#comment-editor');\n const commentEditButton = $(this).prev('.comment-edit-button');\n const commentDeleteButton = $(this);\n\n if (confirm('本当に削除しますか?')) {\n $.ajaxSetup({\n headers: {\n 'X-CSRF-Token': $('meta[name=\"csrf-token\"]').attr('content')\n }\n });\n\n $.ajax({\n url: '/saas_editing_comments/' + commentId,\n type: 'DELETE',\n data: {\n saas_editing_comment: {},\n },\n dataType: 'json',\n }).done(function (data) {\n const commentBodyDiv = $(\"#comment-body-div-\" + commentId);\n\n commentBodyDiv.text('<<コメントは削除されました。>>');\n commentEditor.hide();\n commentEditButton.hide();\n commentDeleteButton.hide();\n });\n } else {\n return false\n }\n });\n\n // 編集ボタンをクリックで、コメント編集エリアに選択されたコメントをコピー&編集エリア表示\n $('.comment-edit-button').on('click', function () {\n const commentId = $(this).data('comment-id');\n const commentBody = $(this).data('original-body');\n const commentEditor = $('#comment-editor');\n const commentTextarea = $('#comment_body');\n const commentUpdateButton = $('#comment-editor-buttons').children('.editor-update-button');\n const commentPostError = $(\"#comment-editor-post-error\");\n\n commentTextarea.val(commentBody);\n commentUpdateButton.data('update-id', commentId);\n commentPostError.hide();\n commentEditor.show();\n commentTextarea.focus();\n });\n\n // キャンセルボタンをクリックで、編集エリアを非表示\n $('.editor-cancel-button').on('click', function () {\n const commentEditor = $('#comment-editor');\n const commentTextarea = $('#comment_body');\n\n commentEditor.hide();\n commentTextarea.val('');\n });\n\n // 更新ボタンをクリックで、コメントを更新\n $('.editor-update-button').on('click', function () {\n const commentId = $(this).data('update-id');\n const commentTextarea = $('#comment_body');\n const commentBody = commentTextarea.val();\n\n $.ajaxSetup({\n headers: {\n 'X-CSRF-Token': $('meta[name=\"csrf-token\"]').attr('content')\n }\n });\n\n $.ajax({\n url: '/saas_editing_comments/' + commentId,\n type: 'PATCH',\n data: {\n saas_editing_comment: {\n body: commentBody\n },\n },\n dataType: 'json',\n }).done(function (data) {\n const commentPostError = $(\"#comment-editor-post-error\");\n\n if (data.error) {\n commentPostError.text('コメントの更新に失敗しました。' + data.error);\n commentPostError.show();\n } else {\n const commentBodyDiv = $(\"#comment-body-div-\" + data.id);\n const commentEditor = $('#comment-editor');\n const commentTextarea = $('#comment_body');\n const displayBody = data.body;\n const editedAt = new Date(data.edited_at);\n const commentEditButton = $('.comment-edit-button[data-comment-id=\"'+data.id+'\"]');\n const year = editedAt.getFullYear();\n const month = ('0' + (editedAt.getMonth() + 1)).slice(-2);\n const day = ('0' + editedAt.getDate()).slice(-2);\n const hour = ('0' + editedAt.getHours()).slice(-2);\n const min = ('0' + editedAt.getMinutes()).slice(-2);\n const editedStr = `\\n<<編集済み ${year}年${month}月${day}日 ${hour}:${min}>>`;\n\n commentPostError.hide();\n commentPostError.text('');\n commentBodyDiv.text(displayBody + editedStr);\n commentEditButton.data('original-body', displayBody);\n commentEditor.hide();\n commentTextarea.val('');\n }\n });\n });\n});\n","$(() => {\n const pad = x => String(x).padStart(2, '0');\n const format = d =>\n `${d.getFullYear()}/${pad(d.getMonth() + 1)}/${pad(d.getDate())} ${pad(\n d.getHours()\n )}:${pad(d.getMinutes())}`;\n\n $(document).on(\n 'change',\n '[data-appointment-start-at], [data-appointment-end-at]',\n function () {\n const date = new Date($(this).val());\n\n if (isNaN(date.getDate())) {\n return false;\n }\n\n date.setMinutes(Math.floor(date.getMinutes() / 30) * 30);\n $(this).val(format(date));\n\n if (!$(this).data('appointment-start-at')) {\n return;\n }\n\n date.setHours(date.getHours() + 1);\n $(this)\n .closest('.nested-fields')\n .find('input[id$=_end_at]')\n .val(format(date));\n }\n );\n});\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) scriptUrl = scripts[scripts.length - 1].src\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkfrontend\"] = self[\"webpackChunkfrontend\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [736], function() { return __webpack_require__(221); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","leafPrototypes","getProto","inProgress","dataWebpackPrefix","$","key","on","this","closest","action","data","id","attr","hide","show","val","confirm","each","dst","onInput","outputContainerId","name","outputContainerSelector","length","addClass","insertAfter","s","outputContainer","rawCount","Array","from","replace","reduce","acc","cur","charCodeAt","count","Math","ceil","max","Number","text","removeClass","_this","call","setTimeout","find","click","location","href","prop","target","inputs","isEmpty","filter","disable","parents","selector","css","cssText","messageId","messageLabelArea","messageTextArea","messageButton","messageError","body","children","ajax","url","type","negotiation_message","content","done","messageEdited","html","wrapper_class","toggle","modal","myPosition","prevAll","has","prevPosition","first","nextAll","nextPosition","insertBefore","childrenDictionary","parentsDictionary","refreshParentState","iteration","parentSelector","parent","nChecked","c","nIndeterminate","checked","indeterminate","child","push","change","keydown","e","which","keyCode","scrollTop","scrollHeight","value","submit","setText","window","originalEvent","newValue","m","exec","isChanged","event","preventDefault","fileListItem","size","removeIconAttributes","key1","key3","templateUrl","writeTo","attachTo","template_file_ids","get","attachments","map","a","append","JSON","stringify","empty","index","original_filename","document","remove","splice","indexOf","dataTransfer","DataTransfer","$this","files","items","add","bootstrap","Rails","button","disabled","fd","buttonOriginalLabel","method","processData","contentType","FormData","success","res","iid","setInterval","queryHash","query","Promise","resolve","then","result","console","log","status","clearInterval","anchorTag","switchEntryButton","selectedVal","undefined","$entryButtonLink","currentMainFeatureCategory","cat","disabledSubCatCb","prev","enabledSubCatCb","operatorNameInput","operatorNameData","operatorHqAddressInput","operatorHqAddressData","operatorEstablishedAt1iInput","operatorEstablishedAtData","operatorEstablishedAt2iInput","operatorEmployeeCountInput","operatorEmployeeCountData","operatorCapitalInput","operatorCapitalData","operatorRepresentativeInput","operatorRepresentativeData","operatorUrlInput","operatorUrlData","establishedAt","Date","getFullYear","getMonth","commentId","commentEditor","commentEditButton","commentDeleteButton","ajaxSetup","headers","saas_editing_comment","dataType","commentBody","commentTextarea","commentUpdateButton","commentPostError","focus","error","commentBodyDiv","displayBody","editedAt","edited_at","year","month","slice","day","getDate","hour","getHours","min","getMinutes","editedStr","pad","x","String","padStart","format","d","date","isNaN","setMinutes","floor","setHours","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","r","n","getter","__esModule","getPrototypeOf","obj","__proto__","t","mode","ns","create","def","current","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","f","chunkId","all","promises","u","g","globalThis","Function","prototype","hasOwnProperty","l","script","needAttach","scripts","getElementsByTagName","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","bind","head","appendChild","Symbol","toStringTag","scriptUrl","importScripts","currentScript","Error","p","installedChunks","installedChunkData","promise","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}