Skip to content

Instantly share code, notes, and snippets.

console.log(`%c
________________________.___._____________________________
\\_ ___ \\______ \\__ | |\\______ \\__ ___/\\_____ \\
/ \\ \\/| _// | | | ___/ | | / | \\
\\ \\___| | \\\\____ | | | | | / | \\
\\______ /____|_ // ______| |____| |____| \\_______ /
\\/ \\/ \\/ \\/`, `font-family: monospace`);
// https://www.joshwcomeau.com/react/persisting-react-state-in-localstorage/
function useStickyState(defaultValue, key) {
const [value, setValue] = React.useState(() => {
const stickyValue = window.localStorage.getItem(key);
return stickyValue !== null
? JSON.parse(stickyValue)
: defaultValue;
});
React.useEffect(() => {
window.localStorage.setItem(key, JSON.stringify(value));
// check for CRO test
function _croTestCheck() {
console.log("cro_check")
// The polling function
function poll(fn, timeout, interval) {
var endTime = Number(new Date()) + (timeout || 2000)
interval = interval || 100
// check for CRO test
function _croTestCheck() {
console.log("cro_check")
// The polling function
function poll(fn, timeout, interval) {
var endTime = Number(new Date()) + (timeout || 2000)
interval = interval || 100
Abdominal Radiology
Accident Reconstruction
Accounting
Acoustics
Actuarial
Addiction Psychiatry
Adolescent Medicine
Adult Reconstructive Orthopedics
Advanced Practice Midwife
Aerospace Medicine
var Iframe = (function () {
// variables ----------------------------------------------------------------
var _this = {}
;(_view = null),
(_listener = null),
(_this.currentStep = 1),
(_this.currentInput = $('#expertIntake input[name="firstname"]'))
;(_this.currentState = null),
(_this.currentOpp = null),
(_this.currentPage =
@charset "UTF-8";.fc{direction:ltr;text-align:left}.fc-rtl{text-align:right}body .fc{font-size:1em}.fc-highlight{background:#bce8f1;opacity:.3}.fc-bgevent{background:#8fdf82;opacity:.3}.fc-nonbusiness{background:#d7d7d7}.fc-popover{position:absolute;box-shadow:0 2px 6px rgba(0,0,0,.15)}.fc-popover .fc-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:2px 4px}.fc-rtl .fc-popover .fc-header{flex-direction:row-reverse}.fc-popover .fc-header .fc-title{margin:0 2px}.fc-popover .fc-header .fc-close{cursor:pointer;opacity:.65;font-size:1.1em}.fc-divider{border-style:solid;border-width:1px}hr.fc-divider{height:0;margin:0;padding:0 0 2px;border-width:1px 0}.fc-bg,.fc-bgevent-skeleton,.fc-highlight-skeleton,.fc-mirror-skeleton{position:absolute;top:0;left:0;right:0}.fc-bg{bottom:0}.fc-bg table{height:100%}.fc table{width:100%;box-sizing:border-box;table-layout:fixed;border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{border-style:s
var hitTemplate = `
{{#private}}
<div class="-inner private-expert">
<div class="card-header">
<a href="#" class="modal-open" data-title="{{post_title}}" data-image="{{expert_image}}" data-eid="{{e_id}}" data-state="{{state}}">
<div class="expert-image">
<img
src="{{expert_image}}"
alt="{{post_title}}"
;(function(cookieName, domain) {
var traffic_source_COOKIE_TOKEN_SEPARATOR = ">>" //separating between concatenated lead source
var traffic_source_date_SEPARATOR = "|>"
var NONE = "(none)"
domain = domain || window.location.hostname
function getCookie(cookieName) {
var name = cookieName + "="
var cookieArray = document.cookie.split(";") //break cookie into array
let
cv = document.createElement('canvas')
rect_max_size_x = 50,
cv_size_x = 1000,
cv_size_y = 572;
cv.width = cv_size_x;
cv.height = cv_size_y;
let ctx = cv.getContext('2d');