// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { var defaults = { pairs: "()[]{}''\"\"", triples: "", explode: "[]{}" }; var Pos = CodeMirror.Pos; CodeMirror.defineOption("autoCloseBrackets", false, function(cm, val, old) { if (old && old != CodeMirror.Init) { cm.removeKeyMap(keyMap); cm.state.closeBrackets = null; } if (val) { ensureBound(getOption(val, "pairs")) cm.state.closeBrackets = val; cm.addKeyMap(keyMap); } }); function getOption(conf, name) { if (name == "pairs" && typeof conf == "string") return conf; if (typeof conf == "object" && conf[name] != null) return conf[name]; return defaults[name]; } var keyMap = {Backspace: handleBackspace, Enter: handleEnter}; function ensureBound(chars) { for (var i = 0; i < chars.length; i++) { var ch = chars.charAt(i), key = "'" + ch + "'" if (!keyMap[key]) keyMap[key] = handler(ch) } } ensureBound(defaults.pairs + "`") function handler(ch) { return function(cm) { return handleChar(cm, ch); }; } function getConfig(cm) { var deflt = cm.state.closeBrackets; if (!deflt || deflt.override) return deflt; var mode = cm.getModeAt(cm.getCursor()); return mode.closeBrackets || deflt; } function handleBackspace(cm) { var conf = getConfig(cm); if (!conf || cm.getOption("disableInput")) return CodeMirror.Pass; var pairs = getOption(conf, "pairs"); var ranges = cm.listSelections(); for (var i = 0; i < ranges.length; i++) { if (!ranges[i].empty()) return CodeMirror.Pass; var around = charsAround(cm, ranges[i].head); if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass; } for (var i = ranges.length - 1; i >= 0; i--) { var cur = ranges[i].head; cm.replaceRange("", Pos(cur.line, cur.ch - 1), Pos(cur.line, cur.ch + 1), "+delete"); } } function handleEnter(cm) { var conf = getConfig(cm); var explode = conf && getOption(conf, "explode"); if (!explode || cm.getOption("disableInput")) return CodeMirror.Pass; var ranges = cm.listSelections(); for (var i = 0; i < ranges.length; i++) { if (!ranges[i].empty()) return CodeMirror.Pass; var around = charsAround(cm, ranges[i].head); if (!around || explode.indexOf(around) % 2 != 0) return CodeMirror.Pass; } cm.operation(function() { var linesep = cm.lineSeparator() || "\n"; cm.replaceSelection(linesep + linesep, null); cm.execCommand("goCharLeft"); ranges = cm.listSelections(); for (var i = 0; i < ranges.length; i++) { var line = ranges[i].head.line; cm.indentLine(line, null, true); cm.indentLine(line + 1, null, true); } }); } function contractSelection(sel) { var inverted = CodeMirror.cmpPos(sel.anchor, sel.head) > 0; return {anchor: new Pos(sel.anchor.line, sel.anchor.ch + (inverted ? -1 : 1)), head: new Pos(sel.head.line, sel.head.ch + (inverted ? 1 : -1))}; } function handleChar(cm, ch) { var conf = getConfig(cm); if (!conf || cm.getOption("disableInput")) return CodeMirror.Pass; var pairs = getOption(conf, "pairs"); var pos = pairs.indexOf(ch); if (pos == -1) return CodeMirror.Pass; var triples = getOption(conf, "triples"); var identical = pairs.charAt(pos + 1) == ch; var ranges = cm.listSelections(); var opening = pos % 2 == 0; var type; for (var i = 0; i < ranges.length; i++) { var range = ranges[i], cur = range.head, curType; var next = cm.getRange(cur, Pos(cur.line, cur.ch + 1)); if (opening && !range.empty()) { curType = "surround"; } else if ((identical || !opening) && next == ch) { if (identical && stringStartsAfter(cm, cur)) curType = "both"; else if (triples.indexOf(ch) >= 0 && cm.getRange(cur, Pos(cur.line, cur.ch + 3)) == ch + ch + ch) curType = "skipThree"; else curType = "skip"; } else if (identical && cur.ch > 1 && triples.indexOf(ch) >= 0 && cm.getRange(Pos(cur.line, cur.ch - 2), cur) == ch + ch) { if (cur.ch > 2 && /\bstring/.test(cm.getTokenTypeAt(Pos(cur.line, cur.ch - 2)))) return CodeMirror.Pass; curType = "addFour"; } else if (identical) { var prev = cur.ch == 0 ? " " : cm.getRange(Pos(cur.line, cur.ch - 1), cur) if (!CodeMirror.isWordChar(next) && prev != ch && !CodeMirror.isWordChar(prev)) curType = "both"; else return CodeMirror.Pass; } else if (opening && (cm.getLine(cur.line).length == cur.ch || isClosingBracket(next, pairs) || /\s/.test(next))) { curType = "both"; } else { return CodeMirror.Pass; } if (!type) type = curType; else if (type != curType) return CodeMirror.Pass; } var left = pos % 2 ? pairs.charAt(pos - 1) : ch; var right = pos % 2 ? ch : pairs.charAt(pos + 1); cm.operation(function() { if (type == "skip") { cm.execCommand("goCharRight"); } else if (type == "skipThree") { for (var i = 0; i < 3; i++) cm.execCommand("goCharRight"); } else if (type == "surround") { var sels = cm.getSelections(); for (var i = 0; i < sels.length; i++) sels[i] = left + sels[i] + right; cm.replaceSelections(sels, "around"); sels = cm.listSelections().slice(); for (var i = 0; i < sels.length; i++) sels[i] = contractSelection(sels[i]); cm.setSelections(sels); } else if (type == "both") { cm.replaceSelection(left + right, null); cm.triggerElectric(left + right); cm.execCommand("goCharLeft"); } else if (type == "addFour") { cm.replaceSelection(left + left + left + left, "before"); cm.execCommand("goCharRight"); } }); } function isClosingBracket(ch, pairs) { var pos = pairs.lastIndexOf(ch); return pos > -1 && pos % 2 == 1; } function charsAround(cm, pos) { var str = cm.getRange(Pos(pos.line, pos.ch - 1), Pos(pos.line, pos.ch + 1)); return str.length == 2 ? str : null; } function stringStartsAfter(cm, pos) { var token = cm.getTokenAt(Pos(pos.line, pos.ch + 1)) return /\bstring/.test(token.type) && token.start == pos.ch && (pos.ch == 0 || !/\bstring/.test(cm.getTokenTypeAt(pos))) } }); {"id":71,"date":"2020-01-27T08:15:05","date_gmt":"2020-01-27T08:15:05","guid":{"rendered":"https:\/\/demosites.io\/web-agency-gb\/?page_id=71"},"modified":"2020-01-27T08:15:05","modified_gmt":"2020-01-27T08:15:05","slug":"15c42-web-agency-gb-portfolio-single","status":"publish","type":"page","link":"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/","title":{"rendered":"Portfolio Single"},"content":{"rendered":"\n
\n
\n
\n
\n

James Joyce<\/h1>\n\n\n\n

How we helped James Joyce get a brand-consistent website that converts visitors into clients.<\/p>\n<\/div>\n\n\n\n

<\/div>\n<\/div>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n
\n
\n
<\/div>\n\n\n\n
\n
\n
\"\"<\/figure>\n\n\n\n
<\/div>\n<\/div>\n\n\n\n
\n

Closer to the metal we\u2019ve got to manage that low hanging fruit but quantity and drive awareness to increase engagement post launch.<\/p>\n\n\n\n

Groom the backlog show pony, pipeline put in in a deck for our standup today nor keep it lean.<\/p>\n\n\n\n

\n
VISIT WEBSITE<\/a><\/div>\n<\/div>\n\n\n\n
\n\n\n\n
\"\"<\/figure>\n\n\n\n

\u201cWhat is the point of being alive if you don\u2019t at least try to do something remarkable?\u201d<\/p>\n\n\n\n

JANET MORRIS<\/p>\n<\/div>\n<\/div>\n\n\n\n

<\/div>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n
\n
\n
<\/div>\n\n\n\n

Other projects<\/h2>\n\n\n\n
<\/div>\n\n\n\n
\n
\n
\"\"<\/a><\/figure>\n\n\n\n
<\/div>\n<\/div>\n\n\n\n
\n
\"\"<\/a><\/figure>\n\n\n\n
<\/div>\n<\/div>\n<\/div>\n\n\n\n
<\/div>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n
\n
<\/div>\n\n\n\n

Let\u2019s work together on your
next web project<\/h2>\n\n\n\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus
nec ullamcorper mattis, pulvinar dapibus leo.<\/p>\n\n\n\n

\n
LEARN MORE<\/a><\/div>\n<\/div>\n\n\n\n
<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_themeisle_gutenberg_block_has_review":false,"_ti_tpc_template_sync":false,"_ti_tpc_template_id":"bhii09ux20eago4lvw13","footnotes":""},"class_list":["post-71","page","type-page","status-publish","hentry"],"yoast_head":"\nPortfolio Single - Inscrieri Farmasi - creeaza-ti contul tau de consultant !<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Portfolio Single\" \/>\n<meta property=\"og:url\" content=\"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/\" \/>\n<meta property=\"og:site_name\" content=\"Inscrieri Farmasi - creeaza-ti contul tau de consultant !\" \/>\n<meta property=\"og:image\" content=\"https:\/\/inscrieri-farmasi.ro\/wp-content\/uploads\/2020\/12\/neve-web-design-studio-07.1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Timp estimat pentru citire\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/\",\"url\":\"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/\",\"name\":\"Portfolio Single - Inscrieri Farmasi - creeaza-ti contul tau de consultant !\",\"isPartOf\":{\"@id\":\"https:\/\/inscrieri-farmasi.ro\/#website\"},\"datePublished\":\"2020-01-27T08:15:05+00:00\",\"dateModified\":\"2020-01-27T08:15:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/inscrieri-farmasi.ro\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Portfolio Single\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/inscrieri-farmasi.ro\/#website\",\"url\":\"https:\/\/inscrieri-farmasi.ro\/\",\"name\":\"Inscrieri Farmasi - creeaza-ti contul tau de consultant !\",\"description\":\"Inscriere consultanti Farmasi\",\"publisher\":{\"@id\":\"https:\/\/inscrieri-farmasi.ro\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/inscrieri-farmasi.ro\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ro-RO\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/inscrieri-farmasi.ro\/#organization\",\"name\":\"Inscrieri Farmasi - creeaza-ti contul tau de consultant !\",\"url\":\"https:\/\/inscrieri-farmasi.ro\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ro-RO\",\"@id\":\"https:\/\/inscrieri-farmasi.ro\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/inscrieri-farmasi.ro\/wp-content\/uploads\/2020\/12\/web-agency-logo-3.png\",\"contentUrl\":\"https:\/\/inscrieri-farmasi.ro\/wp-content\/uploads\/2020\/12\/web-agency-logo-3.png\",\"width\":200,\"height\":200,\"caption\":\"Inscrieri Farmasi - creeaza-ti contul tau de consultant !\"},\"image\":{\"@id\":\"https:\/\/inscrieri-farmasi.ro\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Portfolio Single - Inscrieri Farmasi - creeaza-ti contul tau de consultant !","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/","og_locale":"ro_RO","og_type":"article","og_title":"Portfolio Single","og_url":"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/","og_site_name":"Inscrieri Farmasi - creeaza-ti contul tau de consultant !","og_image":[{"url":"https:\/\/inscrieri-farmasi.ro\/wp-content\/uploads\/2020\/12\/neve-web-design-studio-07.1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Timp estimat pentru citire":"1 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/","url":"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/","name":"Portfolio Single - Inscrieri Farmasi - creeaza-ti contul tau de consultant !","isPartOf":{"@id":"https:\/\/inscrieri-farmasi.ro\/#website"},"datePublished":"2020-01-27T08:15:05+00:00","dateModified":"2020-01-27T08:15:05+00:00","breadcrumb":{"@id":"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/inscrieri-farmasi.ro\/15c42-web-agency-gb-portfolio-single\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/inscrieri-farmasi.ro\/"},{"@type":"ListItem","position":2,"name":"Portfolio Single"}]},{"@type":"WebSite","@id":"https:\/\/inscrieri-farmasi.ro\/#website","url":"https:\/\/inscrieri-farmasi.ro\/","name":"Inscrieri Farmasi - creeaza-ti contul tau de consultant !","description":"Inscriere consultanti Farmasi","publisher":{"@id":"https:\/\/inscrieri-farmasi.ro\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/inscrieri-farmasi.ro\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ro-RO"},{"@type":"Organization","@id":"https:\/\/inscrieri-farmasi.ro\/#organization","name":"Inscrieri Farmasi - creeaza-ti contul tau de consultant !","url":"https:\/\/inscrieri-farmasi.ro\/","logo":{"@type":"ImageObject","inLanguage":"ro-RO","@id":"https:\/\/inscrieri-farmasi.ro\/#\/schema\/logo\/image\/","url":"https:\/\/inscrieri-farmasi.ro\/wp-content\/uploads\/2020\/12\/web-agency-logo-3.png","contentUrl":"https:\/\/inscrieri-farmasi.ro\/wp-content\/uploads\/2020\/12\/web-agency-logo-3.png","width":200,"height":200,"caption":"Inscrieri Farmasi - creeaza-ti contul tau de consultant !"},"image":{"@id":"https:\/\/inscrieri-farmasi.ro\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/inscrieri-farmasi.ro\/wp-json\/wp\/v2\/pages\/71"}],"collection":[{"href":"https:\/\/inscrieri-farmasi.ro\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/inscrieri-farmasi.ro\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/inscrieri-farmasi.ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inscrieri-farmasi.ro\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":0,"href":"https:\/\/inscrieri-farmasi.ro\/wp-json\/wp\/v2\/pages\/71\/revisions"}],"wp:attachment":[{"href":"https:\/\/inscrieri-farmasi.ro\/wp-json\/wp\/v2\/media?parent=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}