This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { makeAutoObservable } from 'mobx'; | |
| import { | |
| CrmProduct, | |
| UpsertProspectRequest, | |
| UpsertProspectResponse, | |
| } from '@qlean/bff-superapp-sdk/dist/services/crm_service'; /* FIXME */ | |
| import { StoreBuilder } from '@qlean/application-core'; | |
| import { Address } from '@qlean/application-module-address'; | |
| import { Authentication } from '@qlean/application-module-authentication'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Component } from 'react'; | |
| import { number } from 'prop-types'; | |
| // import { initGATracking } from 'helpers/tracking'; | |
| import { initGtm } from 'oc-core-components/src/GTM/utils'; | |
| import { isBrowser, getGTMId } from 'helpers/utils'; | |
| import { GOOGLE_OPTIMIZE_ID } from 'helpers/constants'; | |
| // function antiFlicker(a, s, y, n, c, h, i, d, e) { | |
| // s.className += ` ${y}`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const bench = (method, list, iterations, context) => { | |
| let start = 0 | |
| const timer = action => { | |
| const time = performance.now() | |
| switch (action) { | |
| case 'start': | |
| start = time | |
| return 0 | |
| case 'stop': | |
| const elapsed = time - start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @charset "UTF-8"; | |
| @font-face { | |
| font-family: Roboto; | |
| font-style: italic; | |
| font-weight: 400; | |
| font-display: swap; | |
| src: local("Roboto:Italic"), local("Roboto-Italic"), url(/static/assets/fonts/roboto-v19-latin-italic.woff2) format("woff2"); | |
| unicode-range: U+00??, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+2000-206f, U+2074, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd; | |
| } | |
| @font-face { |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"version":3,"sources":["webpack:///./node_modules/asap/browser-asap.js","webpack:///./node_modules/asap/browser-raw.js","webpack:///./node_modules/aphrodite/lib/generate.js","webpack:///./node_modules/inline-style-prefixer/static.js","webpack:///./node_modules/inline-style-prefixer/lib/static/prefixAll.js","webpack:///./node_modules/inline-style-prefixer/lib/utils/sortPrefixedStyle.js","webpack:///./node_modules/inline-style-prefixer/lib/utils/isPrefixedProperty.js","webpack:///./node_modules/inline-style-prefixer/lib/static/plugins/position.js","webpack:///./node_modules/inline-style-prefixer/lib/static/plugins/calc.js","webpack:///./node_modules/inline-style-prefixer/lib/static/plugins/cursor.js","webpack:///./node_modules/inline-style-prefixer/lib/static/plugins/flex.js","webpack:///./node_modules/inline-style-prefixer/lib/static/plugins/sizing.js","webpack:///./node_modules/inline-style-prefixer/lib/static/plugins/gradient.js","webpack:///./node_modules/inline-style-prefixer/lib/static/plugins/transition |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const zip = (a) => { | |
| let sortedA = [...a].sort((a, b) => a - b); | |
| let sortedAWithSeq = sortedA.reduce((acc, cur) => { | |
| if (!acc.length) { acc.push(cur); return acc } | |
| let prev = acc[acc.length - 1] | |
| if (Array.isArray(prev)) { | |
| if (cur - prev[prev.length - 1] == 1) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tr data-url=reorder_admin_coach_unit_block_path(unit_block) | |
| td | |
| .handle | |
| td = unit_block.name | |
| td | |
| .btn-group.actions_btn | |
| = link_to edit_admin_coach_unit_block_path(unit_block), class: 'btn btn-default' do | |
| .glyphicon.glyphicon-pencil |